:root{
  --accent:        #0A2A5E;  
  --accent-ink:    #FFFFFF;
  --accent-soft:   #EAF0FA;

  --accent-2:      #C4901F;   
  --accent-2-soft: #FBF3E1;

  --accent-3:      #2F7DE1;   
  --accent-4:      #C4901F;

  --success:       #17845A;
  --success-soft:  #E4F5EC;

  --cta:           #C4901F;
  --cta-ink:       #FFFFFF;

  --bg:            #F6F8FB;
}

.btn--primary{
  background: linear-gradient(135deg, var(--cta), #9C7115);
  box-shadow: 0 10px 22px -10px rgba(196,144,31,0.5);
}
.btn--primary:hover{ background: linear-gradient(135deg, #AD7C19, #86630F); }

.hero__inner{
  grid-template-columns: 1fr;
}
.hero__content{
  max-width: 720px;
}

.hero__trust{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.hero__trust li{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.trusted{
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px 88px;
}
.trusted__label{
  display: table;
  margin: 0 auto 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-2-soft);
  padding: 10px 24px;
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(196,144,31,0.25);
}
.marquee{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-card) 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track{
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__item{
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--text-dim);
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: var(--shadow-sm);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.marquee__item:hover{
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.stat{
  text-align: center;
  padding: 24px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.stat:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #CBD5E1; }
.stat__num{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--accent);
  margin: 0 0 4px;
}
.stat__label{
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation: none; } }
@media (max-width: 720px){
  .trusted{ padding: 6px 20px 60px; }
  .marquee__track{ gap: 36px; }
  .marquee__item{ font-size: 15px; }
  .stats{ grid-template-columns: repeat(2, 1fr); }
}

.ext--ds{ color: var(--accent); }
.ext--da{ color: var(--accent-3); }
.ext--sec{ color: #B4293A; }
.ext--ops{ color: var(--success); }
.ext--qa{ color: var(--accent-2); }
.ext--py{ color: #2E7D32; }
.ext--az{ color: #0078D4; }
.ext--mds{ color: #6D28D9; }
.ext--fsj{ color: #B4293A; }
.ext--dj{ color: #17845A; }
.ext--ai{ color: #C026D3; }
.courses__more{ text-align: center; margin-top: 32px; }

.benefit-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.benefit-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #CBD5E1; }
.benefit-card__icon{ font-size: 26px; display: block; margin-bottom: 12px; }
.benefit-card h3{ font-size: 17px; margin-bottom: 8px; }
.benefit-card p{ font-size: 14.5px; margin: 0; }

.method__graph{ position: relative; padding-left: 46px; }
.method__line{
  position: absolute;
  left: 17px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-3), var(--accent) 60%, var(--accent-2) 100%);
}
.method__node{ position: relative; padding-bottom: 32px; }
.method__node:last-child{ padding-bottom: 0; }
.method__dot{
  position: absolute;
  left: -46px; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
}
.method__card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.method__card h3{ font-size: 16.5px; margin-bottom: 4px; }
.method__card p{ font-size: 14.5px; margin: 0; }

.tech-groups{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tech-group{
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tech-group::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-3);
}
.tech-group:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #CBD5E1;
}
.tech-group h3{
  font-size: 14.5px;
  min-height: 38px;
  margin-bottom: 14px;
  color: var(--accent);
  line-height: 1.35;
}
.tech-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tech-pills li.tech-pill{
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

/* Distinct accent color per category, using the existing card order */
.tech-group:nth-child(1)::before{ background: #2E7D32; }
.tech-group:nth-child(2)::before{ background: var(--accent-3); }
.tech-group:nth-child(3)::before{ background: var(--accent-2); }
.tech-group:nth-child(4)::before{ background: #C026D3; }
.tech-group:nth-child(5)::before{ background: #0078D4; }

.tech-group:nth-child(1) .tech-pill:hover{ background:#E8F5E9; color:#2E7D32; border-color:#2E7D32; }
.tech-group:nth-child(2) .tech-pill:hover{ background: var(--accent-soft); color: var(--accent-3); border-color: var(--accent-3); }
.tech-group:nth-child(3) .tech-pill:hover{ background: var(--accent-2-soft); color: var(--accent-2); border-color: var(--accent-2); }
.tech-group:nth-child(4) .tech-pill:hover{ background:#FAE8FF; color:#C026D3; border-color:#C026D3; }
.tech-group:nth-child(5) .tech-pill:hover{ background:#E6F3FC; color:#0078D4; border-color:#0078D4; }
.projects__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.project-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.project-card__tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-3);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project-card h3{ font-size: 16px; margin-bottom: 6px; }
.project-card p{ font-size: 14px; margin: 0; }

.support-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-item{
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.support-item > span{ font-size: 22px; line-height: 1; }
.support-item h3{ font-size: 15.5px; margin-bottom: 4px; }
.support-item p{ font-size: 13.5px; margin: 0; }

.mentor-banner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-card) 60%);
  border: 1px solid #D7E2F5;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.mentor-banner p{ font-size: 16px; color: var(--text); margin: 0; max-width: 62ch; }
.mentor-banner strong{ color: var(--accent); }

.modes__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 1x2 layout — 2 mode cards */
  gap: 18px;
}
.mode-card{
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
}
.mode-card__icon{ font-size: 28px; display: block; margin-bottom: 10px; }
.mode-card h3{ font-size: 16.5px; margin-bottom: 6px; }
.mode-card p{ font-size: 14px; margin: 0; }

.blog__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.blog-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }
.blog-card img{ width: 100%; height: 140px; object-fit: cover; background: var(--bg-soft); }
.blog-card__body{ padding: 16px 16px 18px; }
.blog-card__cat{
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.blog-card h3{ font-size: 15px; margin: 8px 0 8px; line-height: 1.3; }
.blog-card h3 a{ color: var(--text); }
.blog-card h3 a:hover{ color: var(--accent); }
.blog-card p{ font-size: 13px; margin: 0 0 10px; }
.blog-card__link{ font-size: 13px; font-weight: 700; color: var(--accent-2); }
.blog__more, .faq__more, .reviews__more{ text-align: center; margin-top: 28px; }
.faq__more a, .reviews__more a{ font-size: 14px; font-weight: 600; color: var(--accent); }

.cta-banner__actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px){
  .benefit-grid{ grid-template-columns: repeat(2, 1fr); }
  .tech-groups{ grid-template-columns: repeat(3, 1fr); }
  .projects__grid{ grid-template-columns: repeat(2, 1fr); }
  .support-list{ grid-template-columns: repeat(2, 1fr); }
  .modes__grid{ grid-template-columns: repeat(2, 1fr); }
  .explore__grid{ grid-template-columns: 1fr 1fr; }
  .blog__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px){
  .benefit-grid{ grid-template-columns: 1fr; }
  .tech-groups{ grid-template-columns: 1fr 1fr; }
  .projects__grid{ grid-template-columns: 1fr; }
  .support-list{ grid-template-columns: 1fr; }
  .modes__grid{ grid-template-columns: 1fr; }
  .explore__grid{ grid-template-columns: 1fr; }
  .blog__grid{ grid-template-columns: 1fr; }
  .method__graph{ padding-left: 40px; }
  .method__dot{ left: -40px; width: 32px; height: 32px; font-size: 12px; }
  .mentor-banner{ flex-direction: column; align-items: flex-start; }
  .cta-banner__actions{ flex-direction: column; align-items: stretch; }
  .cta-banner__actions .btn{ justify-content: center; }
}

.accordion__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.accordion__icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion__item.is-open .accordion__panel {
  padding: 0 22px 20px;
}

.accordion__panel p {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
}

.explore__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.explore-col h3{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.explore-col ul{ list-style: none; padding: 0; margin: 0; }
.explore-col li{
  border-bottom: none;
  margin-bottom: 8px;
}
.explore-col a{
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #D7E2F5;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.explore-col a:hover{
  background: var(--accent-2-soft);
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateX(4px);
}

/* ============================================================
   AI HUB SECTION
   ("Master the Future with Technogeeks X AI" / "Why Technogeeks...")
   ============================================================ */
.ai-hub .section__head:last-of-type{
  margin-top: 40px; /* space before the "Why Technogeeks..." block */
}

/* 4 cards -> clean 2x2 grid on desktop */
.ai-hub .support-list{
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px){
  .ai-hub .support-list{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ALUMNI STATS (now its own section, sibling of .trusted)
   ============================================================ */
.stats-section{
  padding-top: 0;
}
.stats-section .stats{
  margin-top: 0;
}

/* ============================================================
   SECTION-TO-SECTION SPACING ADJUSTMENTS
   Tightens the gap where two 88px paddings otherwise stack up
   ============================================================ */
.courses{
  padding-bottom: 40px;
}
.track-selector{
  padding-top: 24px;
  padding-bottom: 40px;
}
.why{
  padding-top: 24px;
}

/* ============================================================
   AI COURSE TRACK SELECTOR TABLE
   ============================================================ */
.table-wrap{
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.track-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.track-table th,
.track-table td{
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.track-table thead th{
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.track-table tbody tr:last-child td{
  border-bottom: none;
}
.track-table tbody tr:hover{
  background: var(--bg-soft);
}
@media (max-width: 720px){
  .track-table{ font-size: 13.5px; }
  .track-table th, .track-table td{ padding: 10px 12px; }
}