/* ============================================================
   YOUTUBE LIGHT THEME — Clean, red & white design
   Inspired by YouTube's native color palette.
   ============================================================ */

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

:root{
  --bg:            #FFFFFF;
  --bg-alt:        #F9F9F9;
  --bg-panel:      #FFFFFF;
  --bg-dark:       #0F0F0F;

  --red:           #FF0000;
  --red-dark:      #CC0000;
  --red-light:     #FFF0F0;
  --red-glow:      rgba(255,0,0,0.12);

  --text:          #0F0F0F;
  --text-light:    #272727;
  --muted:         #606060;
  --muted-2:       #AAAAAA;
  --border:        #E5E5E5;
  --border-light:  #F2F2F2;

  --font-display: 'Roboto Slab', serif;
  --font-body:    'Roboto', sans-serif;

  --max-w: 1180px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(37,99,235,0.05), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(220,38,38,0.03), transparent 60%);
  pointer-events:none;
  z-index:0;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{
  max-width: var(--max-w);
  margin:0 auto;
  padding: 0 28px;
  position:relative;
  z-index:1;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--red);
  border-radius:2px;
}

h1,h2,h3{ font-family: var(--font-display); font-weight:800; color: var(--text); }

.section-head{ max-width: 640px; margin-bottom:44px; }
.section-head h2{ font-size: clamp(28px,4vw,40px); margin-top:14px; line-height:1.2; }
.section-head p{ color: var(--muted); margin-top:14px; font-size:16px; }

.hairline{ border:none; border-top:1px solid var(--border); }

/* ---------------- Navbar ---------------- */
.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.nav-scrolled{
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom-color: transparent;
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:68px; }
.nav.nav-scrolled .wrap{ height:60px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-size:18px; font-weight:800; color:var(--text); letter-spacing:-0.01em; transition: all 0.3s ease; }
.brand .mark{ width:30px; height:30px; border-radius:50%; transition: transform 0.3s ease; }
.nav-scrolled .brand .mark{ transform: scale(0.92); }
.nav-links{ display:flex; gap:32px; font-size:14px; font-weight:500; color: var(--muted); transition: all 0.3s ease; }
.nav-links a{ position:relative; }
.nav-links a::after{
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background: var(--red); transition: width 0.25s ease;
}
.nav-links a:hover{ color: var(--red); }
.nav-links a:hover::after{ width:100%; }
.nav-cta{
  background: var(--red); color: #fff;
  padding:10px 22px; border-radius:8px; border:none;
  font-size:14px; font-weight:600; letter-spacing:0.01em;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(255,0,0,0.2);
}
.nav-cta:hover{ background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,0,0,0.3); }
.nav-toggle{ display:none; }

/* Scroll progress bar */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; z-index:100;
  background: var(--red);
  width:0%; transition: width .1s linear;
}

/* ---------------- Trust Bar ---------------- */
.trust-bar{ padding: 28px 0; background: var(--bg-alt); border-bottom:1px solid var(--border); }
.trust-items{ display:flex; justify-content:center; gap:40px; flex-wrap:wrap; }
.trust-item{
  display:flex; align-items:center; gap:10px;
  font-size:13px; font-weight:600; color: var(--text-light);
}

/* ---------------- Hero ---------------- */
.hero{ padding: 80px 0 70px; position:relative; overflow:hidden; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero-grid{ display:grid; grid-template-columns: 1.15fr 0.85fr; gap:60px; align-items:center; }
.hero h1{
  font-size: clamp(36px, 5vw, 54px);
  line-height:1.1;
  margin-top:20px;
  letter-spacing:-0.02em;
}
.hero h1 em{ color: var(--red); font-style:normal; }
.hero p.lede{ color: var(--muted); font-size:18px; max-width: 480px; margin-top:20px; line-height:1.7; }

.hero-stats{ display:flex; gap:36px; margin-top:36px; }
.stat .num{ font-family: var(--font-display); font-size:28px; font-weight:800; color: var(--red); }
.stat .label{ font-size:12px; color: var(--muted); text-transform:uppercase; letter-spacing:0.08em; margin-top:4px; font-weight:500; }

.hero-cta-row{ display:flex; align-items:center; gap:22px; margin-top:38px; flex-wrap:wrap; }

.btn-primary{
  background: var(--red);
  color:#fff; font-weight:700; font-size:15px;
  padding:16px 32px; border:none; border-radius:10px;
  letter-spacing:0.01em;
  box-shadow: 0 8px 24px -6px rgba(220,38,38,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -4px rgba(220,38,38,0.5); background: var(--red-dark); }

.price-tag{ display:flex; flex-direction:column; }
.price-tag .was{ font-size:13px; color:var(--muted-2); text-decoration: line-through; }
.price-tag .now{ font-family: var(--font-display); font-size:24px; font-weight:800; color: var(--text); }

/* --- Seal (YouTube play badge) --- */
.seal-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.seal{ width: 320px; height:320px; position:relative; }
.seal svg{ width:100%; height:100%; }
.seal .ring-outer{ animation: spin 40s linear infinite; transform-origin:50% 50%; }
.seal .ring-dash{ animation: spin 70s linear infinite reverse; transform-origin:50% 50%; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){
  .seal .ring-outer, .seal .ring-dash{ animation:none; }
}

/* ---------------- Course Details ---------------- */
.details{ padding: 80px 0; }
.details-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; }
.detail-list li{
  display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border);
}
.detail-list li:first-child{ border-top:1px solid var(--border); }
.detail-list .ico{ color: var(--red); flex-shrink:0; margin-top:2px; font-weight:700; font-size:14px; }
.detail-list h4{ font-family: var(--font-display); font-weight:700; font-size:15px; }
.detail-list p{ color: var(--muted); font-size:14px; margin-top:4px; }

.panel{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
}
.panel h3{ font-size:20px; }
.panel .audience-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color: var(--red);
  background: var(--red-light); padding:7px 14px; border-radius:20px;
  margin: 6px 8px 0 0;
}

/* ---------------- Outcomes ---------------- */
.outcomes{ padding: 80px 0; background: var(--bg-alt); }
.outcomes-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.outcome-card{
  background: var(--bg);
  border:1px solid var(--border);
  border-radius:12px;
  padding:28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.outcome-card:hover{
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--red-light);
}
.outcome-icon{ font-size:28px; margin-bottom:14px; }
.outcome-card h4{ font-family: var(--font-display); font-weight:700; font-size:15px; margin-bottom:8px; }
.outcome-card p{ font-size:13.5px; color: var(--muted); line-height:1.6; }

/* ---------------- Instructor ---------------- */
.instructor{ padding: 80px 0; }
.instructor-card{
  display:grid; grid-template-columns: 280px 1fr; gap:50px; align-items:center;
  background: var(--bg);
  border:1px solid var(--border);
  border-radius:16px;
  padding:40px;
  box-shadow: var(--shadow-md);
}
.instructor-photo{ display:flex; justify-content:center; }
.instructor-photo img{
  width:200px; height:200px; border-radius:50%; object-fit:cover;
  border:4px solid var(--red-light);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.08);
}
.instructor-info h2{ font-size:28px; margin-top:10px; }
.instructor-title{ color: var(--red); font-size:14px; font-weight:600; margin-top:4px; }
.instructor-info > p{ color: var(--muted); font-size:14.5px; margin-top:16px; line-height:1.7; }
.instructor-stats{
  display:flex; gap:36px; margin-top:24px; padding-top:20px;
  border-top:1px solid var(--border);
}
.instructor-stats div{ display:flex; flex-direction:column; }
.instructor-stats strong{ font-family: var(--font-display); font-size:22px; font-weight:800; color: var(--red); }
.instructor-stats span{ font-size:12px; color: var(--muted); margin-top:4px; }

/* ---------------- Modules ---------------- */
.modules{ padding: 80px 0; }
.module-spine{ position:relative; padding-left:20px; }
.module-spine::before{
  content:"";
  position:absolute; left:0; top:8px; bottom:8px; width:2px;
  background: var(--red);
  border-radius:2px;
}
.module{
  position:relative;
  display:grid; grid-template-columns: 90px 1fr auto;
  gap:24px; align-items:center;
  padding:24px 22px;
  border: 1px solid transparent;
  border-radius:10px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.module:hover{ border-color: var(--border); background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.module::before{
  content:""; position:absolute; left:-20.5px; top:50%; transform:translateY(-50%);
  width:10px; height:10px; border-radius:50%; background: var(--red);
  border:2px solid var(--bg); box-shadow: 0 0 0 3px var(--red-light);
}
.module .idx{ font-family: var(--font-display); font-size:28px; font-weight:800; color: var(--border); }
.module h4{ font-family: var(--font-display); font-weight:700; font-size:16px; color:var(--text); }
.module p{ font-size:13.5px; color: var(--muted); margin-top:4px; }
.module .dur{ font-size:13px; color: var(--muted); font-weight:500; white-space:nowrap; }

/* ---------------- Reviews ---------------- */
.reviews{ padding:80px 0; background: var(--bg-alt); }
.review-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.review-card{
  background: var(--bg);
  border:1px solid var(--border);
  border-radius:12px;
  padding:28px;
  display:flex; flex-direction:column; gap:16px;
  box-shadow: var(--shadow-sm);
}
.review-stars{ color: #F59E0B; font-size:14px; letter-spacing:2px; }
.review-quote{ font-size:14.5px; color: var(--text); line-height:1.65; }
.review-who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.review-avatar{
  width:40px; height:40px; border-radius:50%;
  background: var(--red-light); border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:700; color: var(--red);
}
.review-who .name{ font-size:14px; font-weight:700; }
.review-who .role{ font-size:12px; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq{ padding: 80px 0 60px; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-item:first-child{ border-top:1px solid var(--border); }
.faq-q{
  width:100%; background:none; border:none; color: var(--text);
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 4px; font-family: var(--font-display); font-weight:600; font-size:16px;
  text-align:left;
}
.faq-q .plus{ color: var(--red); font-size:22px; font-weight:400; transition: transform .25s ease; flex-shrink:0; margin-left:20px; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .3s ease;
  color: var(--muted); font-size:14.5px; padding:0 4px;
}
.faq-item.open .faq-a{ padding-bottom:22px; }

/* ---------------- Final CTA ---------------- */
.final-cta{
  padding: 70px 0;
  background: var(--bg-dark);
  text-align:center;
  color:#fff;
}
.final-cta h2{ font-size: clamp(26px,4vw,36px); color:#fff; }
.final-cta p{ color: rgba(255,255,255,0.65); margin:14px 0 30px; }

.guarantee-badge{
  display:inline-flex; align-items:center; gap:14px;
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:10px;
  padding:16px 24px;
  margin-bottom:30px;
  text-align:left;
}
.guarantee-badge strong{ font-size:14px; display:block; color: #fff; }
.guarantee-badge span{ font-size:12.5px; color: rgba(255,255,255,0.6); }

/* ---------------- Footer ---------------- */
footer{ padding: 60px 0 40px; background: var(--bg-alt); border-top:1px solid var(--border); }
.footer-top{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:40px; border-bottom:1px solid var(--border);
}
.footer-col{ display:flex; flex-direction:column; gap:10px; }
.footer-col h5{
  font-family: var(--font-display); font-weight:700; font-size:13px;
  color: var(--text); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px;
}
.footer-col a{ font-size:13.5px; color: var(--muted); transition: color .2s ease; }
.footer-col a:hover{ color: var(--red); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; flex-wrap:wrap; gap:12px;
}
.footer-made{ font-size:12px; color: var(--muted-2); }
.copyright{ font-size:12.5px; color: var(--muted); }

/* ---------------- Video Preview ---------------- */
.video-preview{ padding: 80px 0; background: var(--bg-alt); }
.video-container{ max-width: 720px; margin: 0 auto; }
.video-mockup{
  position:relative; width:100%; aspect-ratio:16/9;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius:16px; overflow:hidden; cursor:pointer;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-mockup:hover{ transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,0,0,0.25); }
.video-play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:80px; height:80px; border-radius:50%;
  background: var(--red); display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 30px rgba(255,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-mockup:hover .video-play-btn{ transform:translate(-50%,-50%) scale(1.08); }
.video-play-btn svg{ margin-left:4px; }
.video-overlay{
  position:absolute; bottom:16px; right:16px;
}
.video-duration{
  background: rgba(0,0,0,0.8); color:#fff; padding:4px 10px;
  border-radius:4px; font-size:12px; font-weight:600;
}

/* ---------------- Earnings Section ---------------- */
.earnings{ padding: 80px 0; }
.earnings-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; max-width:900px; margin:0 auto; }
.earnings-card{
  text-align:center; padding:40px 24px;
  background: var(--bg); border:1px solid var(--border);
  border-radius:16px; transition: all 0.3s ease;
}
.earnings-card:hover{ transform:translateY(-4px); box-shadow: var(--shadow-lg); }
.earnings-card.featured{
  background: var(--red); color:#fff; border-color:var(--red);
  transform:scale(1.05);
}
.earnings-card.featured:hover{ transform:scale(1.05) translateY(-4px); }
.earnings-range{ font-family:var(--font-display); font-size:32px; font-weight:800; }
.earnings-label{ font-size:14px; margin-top:4px; opacity:0.8; }
.earnings-subs{ font-size:12px; margin-top:12px; opacity:0.6; }
.earnings-card.featured .earnings-label,
.earnings-card.featured .earnings-subs{ color:#fff; }

/* ---------------- What's Included ---------------- */
.included{ padding: 80px 0; background: var(--bg-alt); }
.included-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; max-width:1000px; margin:0 auto; }
.included-item{
  display:flex; align-items:center; gap:14px;
  padding:20px; background:var(--bg); border:1px solid var(--border);
  border-radius:12px; transition: all 0.2s ease;
}
.included-item:hover{ border-color:var(--red); box-shadow: var(--shadow-sm); }
.included-icon{ font-size:28px; flex-shrink:0; }
.included-text{ display:flex; flex-direction:column; gap:2px; }
.included-text strong{ font-size:14px; font-weight:700; color:var(--text); }
.included-text span{ font-size:12px; color:var(--muted); }

/* ---------------- Tools Section ---------------- */
.tools{ padding: 80px 0; }
.tools-grid{ display:flex; justify-content:center; gap:32px; flex-wrap:wrap; max-width:800px; margin:0 auto; }
.tool-item{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:24px; width:120px; text-align:center;
  background:var(--bg); border:1px solid var(--border); border-radius:12px;
  transition: all 0.2s ease;
}
.tool-item:hover{ transform:translateY(-4px); border-color:var(--red); box-shadow: var(--shadow-md); }
.tool-icon{ font-size:36px; }
.tool-name{ font-size:12px; font-weight:600; color:var(--text); }

/* ---------------- Success Stories ---------------- */
.success{ padding: 80px 0; background: var(--bg-alt); }
.success-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; max-width:900px; margin:0 auto; }
.success-card{
  text-align:center; padding:40px 24px;
  background:var(--bg); border:1px solid var(--border); border-radius:16px;
  transition: all 0.3s ease;
}
.success-card:hover{ transform:translateY(-4px); box-shadow: var(--shadow-lg); }
.success-stat{ font-family:var(--font-display); font-size:28px; font-weight:800; color:var(--red); }
.success-label{ font-size:14px; color:var(--text-light); margin-top:8px; }
.success-name{ font-size:12px; color:var(--muted); margin-top:16px; font-style:italic; }

/* ---------------- Scroll Reveal ---------------- */
.reveal{
  opacity:0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible{ opacity:1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .seal-wrap{ order:-1; }
  .seal{ width:220px; height:220px; margin:0 auto; }
  .details-grid{ grid-template-columns:1fr; }
  .review-grid{ grid-template-columns:1fr; }
  .outcomes-grid{ grid-template-columns:1fr 1fr; }
  .module{ grid-template-columns: 50px 1fr; }
  .module .dur{ grid-column: 2; }
  .instructor-card{ grid-template-columns:1fr; text-align:center; }
  .instructor-photo img{ width:150px; height:150px; }
  .instructor-stats{ justify-content:center; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .trust-items{ gap:20px; }
  .earnings-grid{ grid-template-columns:1fr; max-width:320px; }
  .earnings-card.featured{ transform:scale(1); }
  .earnings-card.featured:hover{ transform:translateY(-4px); }
  .included-grid{ grid-template-columns:1fr 1fr; }
  .success-grid{ grid-template-columns:1fr; max-width:320px; margin:0 auto; }

  /* Mobile menu */
  .nav-toggle{ display:flex; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
  .nav-toggle span{ width:22px; height:2px; background: var(--text); transition: all .25s ease; border-radius:2px; }
  .nav-toggle.active span:nth-child(1){ transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform: rotate(-45deg) translate(5px,-5px); }
  .nav-links{
    display:none; position:absolute; top:68px; left:0; right:0;
    flex-direction:column; background: rgba(255,255,255,0.98);
    padding:20px 28px; gap:16px; border-bottom:1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    backdrop-filter: blur(12px);
  }
  .nav-scrolled .nav-links{ top:60px; }
  .nav-links.open{ display:flex; }
  .nav-links a::after{ display:none; }
}

@media (max-width: 600px){
  .outcomes-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .hero-stats{ flex-direction:column; gap:16px; }
  .guarantee-badge{ flex-direction:column; text-align:center; }
  .included-grid{ grid-template-columns:1fr; }
  .tools-grid{ gap:16px; }
  .tool-item{ width:100px; padding:16px; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ============================================================
   HERO IMAGE
   ============================================================ */
.hero-image-wrap{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image{
  width:100%;
  height:auto;
  display:block;
}
.hero-badge{
  position:absolute;
  bottom:16px;
  left:16px;
  background:rgba(0,0,0,0.7);
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:8px;
  backdrop-filter:blur(8px);
}

/* ============================================================
   VIDEO THUMBNAIL
   ============================================================ */
.video-thumbnail{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}

/* ============================================================
   SUCCESS STORIES PHOTOS
   ============================================================ */
.success-photo{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:12px 12px 0 0;
}

/* ============================================================
   MODULE THUMBNAILS
   ============================================================ */
.module-thumb{
  width:80px;
  height:60px;
  border-radius:8px;
  overflow:hidden;
  flex-shrink:0;
}
.module-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ============================================================
   COURSE GALLERY
   ============================================================ */
.gallery{
  padding: 80px 0;
  background: var(--bg-alt);
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
}
.gallery-item{
  position:relative;
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover{
  transform: translateY(-4px);
}
.gallery-item img{
  width:100%;
  height:auto;
  display:block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img{
  transform: scale(1.05);
}
.gallery-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display:flex;
  align-items:flex-end;
  padding:16px;
  opacity:0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay{
  opacity:1;
}
.gallery-overlay span{
  color:#fff;
  font-size:14px;
  font-weight:500;
}

/* ============================================================
   RESPONSIVE IMAGE STYLES
   ============================================================ */
@media (max-width: 900px){
  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .module-thumb{
    width:60px;
    height:45px;
  }
}

@media (max-width: 600px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
  .success-photo{
    height:120px;
  }
  .module-thumb{
    display:none;
  }
}
