:root{
  --max-width:1200px;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --blue-600: #277cea;
  --blue-700: #0d6efd;
  --muted: #6c757d;
  --accent-grad: linear-gradient(90deg,#277cea,#0d6efd);
  --glass-2: rgba(255,255,255,0.7);
}
html, body {
  overflow-x: hidden;
}
  /* Modern hero redesign */
  .hero-modern {
    position:relative;
    padding:0;
    margin-top:0;
    margin-bottom:0;
    min-height:420px;
    background:linear-gradient(120deg,#e0eafc 0%,#cfdef3 100%);
    overflow:hidden;
  }
  .hero-bg-accent {
    position:absolute;
    top:0;left:0;width:100%;height:100%;z-index:0;pointer-events:none;
  }
 
  .hero-title {
    font-size:2.6rem;
    font-weight:800;
    color:#0f2027;
    margin-bottom:18px;
    letter-spacing:-1px;
  }
  @keyframes heroPulse {
    0%{text-shadow:0 0 0 #0072ff;}
    100%{text-shadow:0 2px 16px #0072ff44;}
  }
  .hero-main-card .subtitle {
    font-size:1.2rem;
    color:#2c5364;
    margin-bottom:10px;
  }
  .hero-main-card .lead {
    font-size:1.08rem;
    color:#333;
    margin-bottom:18px;
  }
  .hero-main-card .hero-ctas {
    margin-bottom:18px;
  }
  .hero-main-card .hero-notes {
    font-size:0.98rem;
    color:#0072ff;
    background:#e6f0ff;
    border-radius:8px;
    padding:8px 12px;
    margin-top:10px;
    box-shadow:0 2px 8px #0072ff11;
  }
  .hero-visual-card {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:260px;
    max-width:420px;
    position:relative;
    z-index:1;
    animation:float 6s ease-in-out infinite;
  }
  .hero-visual-img {
    border-radius:20px;
    box-shadow:0 16px 48px rgba(0,64,128,0.13);
    overflow:hidden;
    width:100%;
    max-width:380px;
  }
  .hero-visual-img img {
    display:block;
    width:100%;
    height:auto;
    border-radius:20px;
  }
  @keyframes float {
    0%{transform:translateY(0) scale(1)}
    50%{transform:translateY(-10px) scale(1.01)}
    100%{transform:translateY(0) scale(1)}
  }

  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr;gap:24px;padding:36px 8px 18px 8px;}
    .hero-main-card{max-width:100%;}
    .hero-visual-card{max-width:100%;}
  }
.header-grid{display:flex;align-items:center;gap:18px;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand img{height:44px;width:auto;border-radius:4px}
.brand span{font-weight:700;font-size:18px}

/* nav */
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:14px}
.main-nav a{color:var(--text);text-decoration:none;padding:8px 10px;border-radius:8px;font-weight:600}
.main-nav a:hover{background:var(--glass)}

/* header actions */
.header-actions{display:flex;align-items:center;gap:10px}
.btn-primary{background:var(--accent);color:#fff;padding:10px 14px;border-radius:10px;text-decoration:none;border:0;font-weight:700;cursor:pointer;display:inline-block}
.btn-outline{border:1px solid var(--accent);color:var(--accent);padding:8px 12px;border-radius:10px;text-decoration:none}
.btn-ghost{background:transparent;border:0;padding:8px;border-radius:10px;color:var(--text);cursor:pointer}
.mobile-menu-btn{display:none;background:transparent;border:0;font-size:20px;color:var(--text)}

/* HERO - Enhanced */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #277cea33 0%, #0d6efd22 100%);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(to right, #277cea, #0d6efd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 12px;
}

.hero .lead {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-ctas .btn-primary {
  background: linear-gradient(90deg, #277cea, #0d6efd);
  color: #fff;
  font-weight: 700;
  padding: 14px 22px;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 124, 234, 0.4);
}

.hero-ctas .btn-outline {
  border: 2px solid #277cea;
  color: #277cea;
  padding: 12px 20px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.hero-ctas .btn-outline:hover {
  background: #277cea;
  color: #fff;
}

.hero-notes {
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--glass);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(39, 124, 234, 0.3);
}

/* Hero visual enhancements */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual svg {
  max-width: 100%;
  height: auto;
  transform: translateY(-10px);
  filter: drop-shadow(0 8px 20px rgba(17, 24, 39, 0.15));
  transition: transform 0.3s ease;
}

.hero-visual svg:hover {
  transform: translateY(-20px) scale(1.02);
}

/* subtle floating animation for hero visual */
.hero-visual svg{animation:float 6s ease-in-out infinite}
@keyframes float{
  0%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-6px) scale(1.01)}
  100%{transform:translateY(0) scale(1)}
}

/* About highlights: inline icon + text */
.about-highlights{display:grid;grid-template-columns:repeat(1,1fr);gap:10px;margin-top:12px}
.about-highlights li{display:flex;align-items:flex-start;gap:10px;font-weight:600}
.about-highlights svg{width:20px;height:20px;flex:0 0 20px;fill:var(--accent);margin-top:2px}

/* CTA icon inside buttons */
.btn-icon{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-left:8px;fill:currentColor;transition:transform .18s ease}
.btn-primary:hover .btn-icon{transform:translateX(4px)}

/* book cover micro-interaction */
.book-cover{transition:transform .28s cubic-bezier(.2,.9,.3,1),box-shadow .28s}
.book-card:hover .book-cover{transform:translateY(-6px) rotate(-1.2deg);box-shadow:0 20px 40px rgba(3,102,214,0.12)}

/* guide icon transition */
.guide-icon{transition:transform .18s ease,fill .18s ease}
.guide-card:hover .guide-icon{transform:translateX(4px);fill:var(--blue-700)}

/* subtle entrance for about grid children */
.about-grid > *{opacity:0;transform:translateY(8px);animation:fadeUp .6s ease forwards}
.about-grid > *:nth-child(1){animation-delay:0s}
.about-grid > *:nth-child(2){animation-delay:0.06s}
@keyframes fadeUp{to{opacity:1;transform:translateY(0)}}

/* Inline form feedback */
.form-message{margin-top:12px;padding:10px 12px;border-radius:8px;font-weight:600;font-size:0.95rem;display:block}
.form-message[hidden]{display:none}
.form-message.sending{background:#fff8e1;color:#856404;border:1px solid #ffeeba}
.form-message.success{background:#e6ffed;color:#0b6623;border:1px solid #c6f6d5}
.form-message.error{background:#ffecec;color:#7a1f1f;border:1px solid #f5c2c2}
.lead-form button[disabled]{opacity:0.6;cursor:not-allowed}

/* Responsive hero */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }
  .hero-visual {
    margin-top: 24px;
  }
  .hero-ctas {
    justify-content: center;
  }
}


.why-container {
  max-width: 1200px;
  margin: 60px auto 60px auto;
  padding: 50px 20px;
  text-align: center;
  background: #f5f7fa; /* soft background */
  border-radius: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: #0d6efd;
  margin-bottom: 40px;
  font-weight: 700;
}

.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 30px;
}

.card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  flex: 1 1 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-title {
  font-size: 1.5rem;
  color: #277cea;
  margin-bottom: 15px;
  font-weight: 600;
}

.card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.card ul {
  list-style: none;
  padding: 10px 0 0 0;
  text-align: left;
}

.card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
}

.card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0d6efd;
}


/* curriculum */
.curriculum{margin-top:20px}
.curriculum-list{padding-left:20px}

/* Videos section */
.videos {
  margin-top: 60px;
  padding: 40px 0;
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-badge {
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-head h2 {
  font-size: 3rem;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
}

.video-search {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-search:focus {
  outline: none;
  box-shadow: 0 4px 20px rgba(39, 124, 234, 0.15);
}

.playlist-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding: 0 20px;
}

.playlist-item {
  display: flex;
  gap: 24px;
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.playlist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 157px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.playlist-item:hover .video-thumbnail img {
  transform: scale(1.05);
}

.duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.video-info {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.video-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.video-number {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.video-type {
  background: rgba(39, 124, 234, 0.1);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.4;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin-top: auto;
  align-self: flex-start;
}

.play-btn i {
  font-size: 0.9em;
}

.play-btn:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 124, 234, 0.3);
}

/* Highlight animation when jumping from curriculum */
.playlist-item.highlight,
.video-card.highlight {
  animation: highlightGlow 2.4s ease forwards;
  box-shadow: 0 18px 40px rgba(39,124,234,0.18);
}

@keyframes highlightGlow {
  0% {
    background: linear-gradient(90deg, rgba(39,124,234,0.12), rgba(13,110,237,0.06));
    transform: translateY(-4px) scale(1.01);
  }
  50% {
    background: linear-gradient(90deg, rgba(39,124,234,0.06), rgba(13,110,237,0.03));
    transform: translateY(-2px) scale(1.005);
  }
  100% {
    background: var(--bg);
    transform: translateY(0) scale(1);
  }
}

/* additional outline to make it obvious for keyboard users */
.playlist-item.highlight:focus, .video-card.highlight:focus {
  outline: 3px solid rgba(39,124,234,0.18);
  outline-offset: 6px;
}

@media (max-width: 900px) {
  .playlist-item {
    flex-direction: column;
  }

  .video-thumbnail {
    width: 100%;
    height: 200px;
  }

  .video-info {
    padding: 16px;
  }

  .section-head h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .videos {
    margin-top: 40px;
    padding: 20px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .video-search {
    padding: 12px 20px 12px 40px;
  }

  .search-icon {
    left: 15px;
  }

  .section-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .video-thumbnail {
    height: 180px;
  }
}

/* resources */
.resources .cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:18px;
  align-items:stretch;
  padding: 30px;
}
.card.small{
  padding:18px;
  background:linear-gradient(180deg, #fff, #fbfdff);
  border-radius:12px;
  border:1px solid rgba(13,110,237,0.04);
  transition:transform .18s ease,box-shadow .18s ease;
}
.card.small:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(13,110,237,0.08)}
.card.small h3{margin:0 0 8px;font-size:1.05rem}
.card.small p{margin:0 0 8px;color:var(--muted)}
.card.small a.link{font-weight:700}
.book-list ul{padding-left:18px;margin-top:8px}
.book-list{background:linear-gradient(180deg,#fff,#fbfdff);padding:18px;border-radius:12px;border:1px solid rgba(13,110,237,0.04)}

.book-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:12px;
}
.book-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:10px;
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border:1px solid rgba(3,102,214,0.04);
  transition:transform .16s ease,box-shadow .16s ease;
}
.book-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(3,102,214,0.08)}

.book-cover span{padding:8px;text-align:center}
.book-meta{flex:1;min-width:0}
.book-meta h4{margin:0 0 6px;font-size:1rem}
.book-meta p{margin:0 0 8px;color:var(--muted);font-size:0.95rem}
.book-meta .meta-row{display:flex;gap:8px;align-items:center}
.badge{font-size:12px;padding:6px 8px;border-radius:999px;background:rgba(13,110,237,0.08);color:var(--blue-700);font-weight:600}
.book-actions{display:flex;gap:8px;align-items:center;margin-top:8px}
.btn-ghost-sm{padding:8px 10px;border-radius:8px;border:1px solid rgba(2,6,23,0.06);background:transparent;color:var(--blue-700);cursor:pointer}
.btn-ghost-sm:hover{background:rgba(13,110,237,0.04)}
.btn-primary-sm{padding:8px 12px;border-radius:8px;background:linear-gradient(90deg,#277cea,#0d6efd);color:#fff;border:0}

@media(max-width:520px){
  .book-card{gap:10px;padding:10px}
  .book-cover{width:60px;height:84px}
}

/* Responsive grid: 2 columns on medium, 1 column on small */
@media (max-width:1000px){
  .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:620px){
  .book-grid{grid-template-columns:1fr;}
}

/* Interview & Practice guides (compact variant) */
.interview-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:14px;
}
.guide-card{
  padding:12px;
  border-radius:10px;
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  border:1px solid rgba(3,102,214,0.04);
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:transform .16s ease,box-shadow .16s ease;
}
.guide-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(3,102,214,0.08)}
.guide-card h5{margin:0;font-size:0.98rem}
.guide-card p{margin:0;color:var(--muted);font-size:0.92rem}
.guide-actions{display:flex;gap:8px;margin-top:auto}
.guide-bullet{width:10px;height:10px;border-radius:50%;background:linear-gradient(90deg,#277cea,#0d6efd);display:inline-block;margin-right:8px}

/* improved demo form */
.demo .form-card{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:20px;
  align-items:center;
  padding:22px;
  margin-top: 30px;
}
.demo .form-card .lead{grid-column:1 / 2}
.lead-form{display:grid;grid-template-columns:1fr;gap:12px}
.form-row{display:flex;flex-direction:column}
.form-row input{width:100%;padding:12px;border-radius:10px;border:1px solid rgba(2,6,23,0.06);background:transparent}
.form-row label{font-size:0.95rem;margin-bottom:6px}
.form-actions{display:flex;gap:12px;align-items:center}
.btn-primary{padding:12px 18px;border-radius:12px;background:linear-gradient(90deg,#277cea,#0d6efd);color:#fff;border:0;cursor:pointer}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(39,124,234,0.12)}
.form-note{font-size:13px;color:var(--muted)}

@media(max-width:900px){
  .demo .form-card{grid-template-columns:1fr;}
}

/* Footer improvements */
.site-footer{padding:36px 0;margin-top:36px;background:linear-gradient(180deg,transparent,rgba(13,110,237,0.02));border-top:1px solid rgba(13,110,237,0.03)}
.footer-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center}
.footer-grid nav ul{display:flex;gap:12px;list-style:none;padding:0;margin:0}
.footer-grid nav a{color:var(--muted);text-decoration:none}
.footer-grid nav a:hover{color:var(--blue-700)}
.site-footer .credits{justify-self:end;color:var(--muted)}
@media(max-width:800px){
  .footer-grid{grid-template-columns:1fr;grid-auto-rows:auto}
  .site-footer .credits{justify-self:start}
}

/* form */
.demo .form-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.lead-form{width:100%;display:grid;gap:12px}
.form-row label{display:block;font-weight:600;margin-bottom:6px}
.form-row input{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(0,0,0,0.08);background:transparent}
.form-actions{display:flex;align-items:center;gap:12px;margin-top:6px}
.form-note{font-size:13px;color:var(--muted)}

/* footer */
.site-footer{padding:28px 0;margin-top:36px;background:transparent;border-top:1px solid rgba(0,0,0,0.04)}
.footer-grid{display:flex;gap:12px;align-items:center;justify-content:space-between}

/* modal */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);visibility:hidden;opacity:0;transition:opacity 180ms ease, visibility 180ms}
.modal[aria-hidden="false"]{visibility:visible;opacity:1}
.modal-panel{max-width:980px;width:95%;background:var(--card);border-radius:10px;overflow:hidden;box-shadow:var(--shadow);position:relative}
.modal-close{position:absolute;right:10px;top:10px;background:transparent;border:0;font-size:20px;color:var(--text);cursor:pointer}
.modal-body{padding-top:56.25%;position:relative;height:0}
.modal-body iframe{position:absolute;left:0;top:0;width:100%;height:100%}

/* responsive */
@media (max-width:1000px){
  .hero{grid-template-columns:1fr;gap:18px}
  .why{grid-template-columns:1fr}
  .resources .cards-grid{grid-template-columns:repeat(2,1fr)}
  .videos-table{min-width:720px}
}

@media (max-width:720px){
  .container{padding:30px}
  .main-nav{display:none}
  .mobile-menu-btn{display:inline-block}
  #mobileMenu{display:block}
  .header-actions .btn-primary{display:none}
  .videos-table{min-width:0;display:block}
  .videos-table thead{display:none}
  .videos-table tbody tr{display:block;border-radius:10px;background:var(--card);margin-bottom:12px;padding:12px}
  .videos-table td{display:block;border-bottom:0;padding:6px 0}
  .videos-table td:first-child{font-weight:700}
  .footer-grid{flex-direction:column;align-items:flex-start;gap:12px}
  .resources .cards-grid{grid-template-columns:1fr}
}

/* small helpers */
a.link{color:var(--accent);text-decoration:underline}
.muted{color:var(--muted)}
.text-center{text-align:center}



 .curriculum {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
  }
  .accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .accordion-header {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(90deg, #277cea, #0d6efd);
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  .accordion-header:hover {
    background: linear-gradient(90deg, #0d6efd, #277cea);
  }
  .accordion-content {
    display: none;
    background: #f8f9fa;
    color: #333;
    padding: 15px 20px;
    animation: fadeIn 0.3s ease-in-out;
  }
  .accordion-content ul {
    list-style: disc;
    padding-left: 20px;
  }
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }


  .videos { max-width: 1200px; margin:auto; padding:40px 20px; }
  .video-search { width:100%; padding:12px 15px; margin:15px 0 30px; border-radius:8px; border:1px solid #ccc; font-size:1rem; }
  .videos-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; }
  .video-card { background:#fff; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,0.1); padding:20px; transition:0.3s; }
  .video-card:hover { transform:translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,0.2); }
  .video-card h3 { font-size:1.1rem; margin-bottom:10px; color:#0d6efd; }
  .video-card p { margin-bottom:15px; color:#555; }
  .btn-view { padding:8px 16px; background:#277cea; color:#fff; border:none; border-radius:6px; cursor:pointer; transition:0.3s; text-decoration:none; display:inline-block; }
  .btn-view:hover { background:#0d6efd; }

  /* (duplicate modal rules removed) */

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
  }

/* ===== UI enhancements: about section, video cards, modal polish ===== */
.about-course{
  background: linear-gradient(180deg, rgba(39,124,234,0.03), rgba(255,255,255,0));
  border-radius: 16px;
  padding: 28px;
  margin: 28px auto;
  box-shadow: 0 12px 36px rgba(17,24,39,0.06);
  border-left: 6px solid var(--accent);
}
.about-course h2{color:var(--blue-700);margin-bottom:8px}
.about-course .lead{color:var(--muted);margin-bottom:12px}
.about-course ul{margin-left:18px;margin-bottom:12px}

/* About section specific layout */
.about-grid{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start}
.about-main{min-width:0}
.about-aside .card{padding:18px;border-radius:12px}
.about-callout{margin-top:18px;padding:14px;border-radius:10px;background:linear-gradient(180deg,rgba(39,124,234,0.03),transparent);border:1px solid rgba(39,124,234,0.06)}

@media (max-width:1000px){
  .about-grid{grid-template-columns:1fr;}
  .about-aside{order:2}
}

.video-card{display:flex;flex-direction:column;justify-content:space-between;min-height:160px}
.video-card h3{margin-bottom:6px}
.video-card p{margin-bottom:14px}
.btn-view{align-self:flex-start;padding:10px 16px;background:linear-gradient(90deg,#277cea,#0d6efd);border-radius:8px;box-shadow:0 6px 18px rgba(13,110,237,0.12);transition:transform .16s ease,box-shadow .16s ease}
.btn-view:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(13,110,237,0.18)}
.btn-view:focus{outline:3px solid rgba(39,124,234,0.14);outline-offset:2px}

/* Modal polish */
.modal{display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s}
.modal[aria-hidden="false"]{opacity:1;visibility:visible}
.modal-panel{max-width:1100px;width:95%;border-radius:12px;overflow:hidden}
.modal-panel .modal-close{position:absolute;right:12px;top:12px;background:rgba(0,0,0,0.4);color:#fff;border-radius:8px;padding:6px 8px}
.modal-body{padding-top:56.25%;position:relative;height:0;background:#000}
.modal-body iframe{position:absolute;left:0;top:0;width:100%;height:100%}

/* small responsive tweak */
@media (max-width:600px){
  .about-course{padding:18px}
  .video-card{min-height:140px}
}

/* ===== Full UI polish: layout rhythm, improved header, creative hero, cards & videos ===== */
html{font-size:16px}
body{font-family:'Poppins',system-ui,Arial,Helvetica,sans-serif;letter-spacing:0.01em}

/* Header modernized */
.site-header{background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));backdrop-filter: blur(6px) saturate(140%);border-bottom:1px solid rgba(13,110,237,0.04)}
.header-grid{padding:16px 0;gap:22px}
.brand span{font-size:20px;letter-spacing:0.2px}
.main-nav a{padding:10px 12px;border-radius:10px;font-weight:600;color:var(--text)}
.main-nav a:hover{background:rgba(13,110,237,0.06);color:var(--blue-700)}
.header-actions{gap:12px}
.btn-primary{padding:10px 16px;border-radius:12px;font-weight:700}
.mobile-menu-btn{font-size:20px}

/* Hero improvements */
.hero{padding:36px;background:linear-gradient(135deg, rgba(39,124,234,0.08), rgba(13,110,237,0.03));border-radius:18px}
.hero h1{font-size:2.6rem}
.hero .subtitle{font-size:1.1rem}
.hero .lead{font-size:1rem;color:var(--muted)}
.hero-ctas .btn-primary{padding:12px 20px}

/* card micro-interactions */
.card{transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(13,110,237,0.12)}

/* Videos grid: nicer thumbnails and badges */
.video-card{position:relative;padding:16px;background:linear-gradient(180deg,#ffffff,#fbfdff);border-radius:12px;overflow:hidden}
.video-card::before{
  content:'';position:absolute;left:0;top:0;width:100%;height:110px;background:linear-gradient(180deg,rgba(13,110,237,0.08),transparent);z-index:0;border-bottom-left-radius:12px;border-bottom-right-radius:12px}
.video-card h3,.video-card p{position:relative;z-index:1}
.video-card .duration-badge{position:absolute;right:16px;top:12px;background:rgba(0,0,0,0.6);color:#fff;padding:6px 8px;border-radius:8px;font-size:12px;z-index:2}
.video-card .play-decal{position:absolute;left:14px;top:14px;width:80px;height:52px;background:linear-gradient(90deg,#277cea,#0d6efd);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;z-index:2}
.video-card .play-decal::after{content:'▶';font-size:24px}

.video-card h3{margin-left:100px}
.video-card p{margin-left:100px;color:var(--muted)}

/* Thumbnail image for cards */
.video-thumb{position:absolute;left:12px;top:12px;width:88px;height:56px;object-fit:cover;border-radius:8px;z-index:1;box-shadow:0 6px 18px rgba(2,6,23,0.12)}

/* Focus styles for keyboard users */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;background:#fff;padding:8px 12px;border-radius:6px;box-shadow:0 6px 20px rgba(2,6,23,0.12);z-index:9999}

button:focus, a:focus{outline:3px solid rgba(39,124,234,0.16);outline-offset:3px}
.btn-view:focus{box-shadow:0 8px 26px rgba(13,110,237,0.16)}

/* ensure mobile menu is accessible */
#mobileMenu{background:var(--card);position:absolute;left:12px;top:64px;padding:12px;border-radius:10px;box-shadow:0 10px 30px rgba(2,6,23,0.06)}
@media(min-width:721px){
  #mobileMenu{display:none!important}
}

/* make the View CTA more prominent */
.video-card .btn-view{margin-top:12px}

/* Modal final tweaks for contrast and accessibility */
.modal[aria-hidden="false"] .modal-panel{transform:translateY(0);opacity:1}
.modal-panel{transform:translateY(12px);transition:transform .18s ease,opacity .18s ease}
.modal-close{background:transparent;border:0;color:var(--muted);font-size:20px}

/* Footer spacing */
.site-footer{padding:36px 0;background:linear-gradient(180deg,transparent,rgba(13,110,237,0.02));border-top:1px solid rgba(13,110,237,0.03)}

/* subtle utility */
.muted{color:var(--muted);opacity:0.95}

@media (max-width:900px){
  .video-card::before{height:80px}
  .video-card h3{margin-left:0}
  .video-card p{margin-left:0}
  .video-card .play-decal{display:none}
}

/* Full-width hero section */
.hero-modern, .hero {
  align-items: center;
  align-content: center;
  align-self: center;
}

/* Boxed layout for all other sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 1000px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* === Professional Hero Section === */
.pro-hero {
  min-height: 480px;
  background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Single main container */
.pro-hero-card {
  max-width: 900px;
  text-align: center;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 64, 128, 0.15);
}

/* Title & Highlight */
.pro-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #0f2027;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
  animation: heroPulse 2.2s cubic-bezier(.2,.9,.3,1) infinite alternate;
}

.hero-highlight {
  display: inline-block;
  background: linear-gradient(90deg, #0072ff, #2c5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  font-size: 2rem;
  margin-top: 4px;
}

/* Subtitle & Description */
.subtitle {
  font-size: 1.18rem;
  color: #2c5364;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 20px;
}

/* CTA Buttons */
.hero-ctas {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, #0072ff, #2c5364);
  box-shadow: 0 4px 18px #0072ff22;
  color: #fff;
  font-weight: 700;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px #0072ff33;
}

.btn-outline {
  border: 2px solid #0072ff;
  color: #0072ff;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 600;
  background: #fff;
  transition: background 0.18s, color 0.18s;
}

.btn-outline:hover {
  background: #0072ff;
  color: #fff;
}

.hero-notes {
  font-size: 0.98rem;
  color: #0072ff;
  background: #e6f0ff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  box-shadow: 0 2px 8px #0072ff11;
}

/* Animations */
@keyframes heroPulse {
  0% { text-shadow: 0 0 0 #0072ff; }
  100% { text-shadow: 0 2px 16px #0072ff44; }
}

/* Responsive */
@media (max-width: 900px) {
  .pro-hero-title {
    font-size: 2.2rem;
  }
  .hero-highlight {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .pro-hero {
    padding: 40px 16px;
  }
  .pro-hero-card {
    padding: 24px 16px;
  }
  .pro-hero-title {
    font-size: 1.6rem;
  }
  .hero-highlight {
    font-size: 1.1rem;
  }
}
