/* ==========================================================================
   ISHT – Tech & Digital Training Center
   Main stylesheet (mobile-first). Breakpoint overrides live in responsive.css,
   popup styles in popup.css.
   ========================================================================== */

:root {
  --isht-navy: #102D70;
  --isht-blue: #0756B5;
  --isht-cyan: #10BFC1;
  --isht-light-blue: #EAF5FF;
  --isht-white: #FFFFFF;
  --isht-light-grey: #F5F8FC;
  --isht-text: #25344D;
  --isht-border: #DCE7F3;

  /* Derived tokens */
  --isht-cyan-dark: #0A8587;          /* cyan with AA contrast on white for text */
  --isht-blue-dark: #054793;
  --isht-muted: #5A6A85;
  --isht-gradient: linear-gradient(120deg, var(--isht-navy) 0%, var(--isht-blue) 55%, var(--isht-cyan) 100%);
  --isht-gradient-soft: linear-gradient(135deg, #EAF5FF 0%, #F2FBFB 100%);
  --isht-radius: 16px;
  --isht-radius-sm: 10px;
  --isht-shadow: 0 6px 24px rgba(16, 45, 112, .08);
  --isht-shadow-hover: 0 14px 34px rgba(16, 45, 112, .14);
  --header-h: 72px;

  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--isht-text);
  --bs-link-color-rgb: 7, 86, 181;
  --bs-link-hover-color-rgb: 16, 45, 112;
  --bs-border-color: var(--isht-border);
  --bs-primary-rgb: 7, 86, 181;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--bs-body-font-family);
  color: var(--isht-text);
  background: var(--isht-white);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', var(--bs-body-font-family);
  color: var(--isht-navy);
  font-weight: 700;
  line-height: 1.25;
}
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
p { margin-bottom: 1rem; }
a { color: var(--isht-blue); text-underline-offset: 3px; }
a:hover { color: var(--isht-navy); }
img { max-width: 100%; height: auto; }
::selection { background: var(--isht-cyan); color: #fff; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 3px solid var(--isht-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--isht-navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.text-navy { color: var(--isht-navy) !important; }
.text-cyan { color: var(--isht-cyan-dark) !important; }
.text-muted-isht { color: var(--isht-muted) !important; }
.bg-light-blue { background: var(--isht-light-blue) !important; }
.bg-light-grey { background: var(--isht-light-grey) !important; }

/* ---------- Buttons ---------- */
.btn { font-family: 'Poppins', sans-serif; font-weight: 600; border-radius: 50px; padding: .7rem 1.5rem; letter-spacing: .1px; }
.btn-sm { padding: .45rem 1rem; }
.btn-isht {
  --bs-btn-color: #fff; --bs-btn-bg: var(--isht-blue); --bs-btn-border-color: var(--isht-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--isht-navy); --bs-btn-hover-border-color: var(--isht-navy);
  --bs-btn-active-bg: var(--isht-navy); --bs-btn-active-border-color: var(--isht-navy); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--isht-blue); --bs-btn-disabled-border-color: var(--isht-blue); --bs-btn-disabled-color: #fff;
  box-shadow: 0 6px 16px rgba(7, 86, 181, .22);
}
.btn-isht-outline {
  --bs-btn-color: var(--isht-blue); --bs-btn-border-color: var(--isht-blue); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--isht-blue); --bs-btn-hover-border-color: var(--isht-blue);
  --bs-btn-active-bg: var(--isht-navy); --bs-btn-active-color: #fff;
  border-width: 2px;
}
.btn-cyan {
  --bs-btn-color: var(--isht-navy); --bs-btn-bg: var(--isht-cyan); --bs-btn-border-color: var(--isht-cyan);
  --bs-btn-hover-color: var(--isht-navy); --bs-btn-hover-bg: #3BD0D2; --bs-btn-hover-border-color: #3BD0D2;
  --bs-btn-active-bg: #0EA9AB; --bs-btn-active-color: var(--isht-navy);
}
.btn-white-outline {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.85); --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--isht-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--isht-navy);
  border-width: 2px;
}
.btn-whatsapp {
  --bs-btn-color: #fff; --bs-btn-bg: #1C9E54; --bs-btn-border-color: #1C9E54;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #158043; --bs-btn-hover-border-color: #158043;
}
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--isht-navy); color: #DCE7F3; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--isht-cyan); }
.topbar .bi { color: var(--isht-cyan); }

.site-header {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
  z-index: 1030;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(16, 45, 112, .08); border-bottom-color: var(--isht-border); }
.site-header .navbar { min-height: var(--header-h); padding-top: .4rem; padding-bottom: .4rem; }
.brand-logo { height: 48px; width: auto; display: block; }
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--isht-navy);
  padding: .55rem .75rem; border-radius: 8px; position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible { color: var(--isht-cyan-dark); }
.navbar-nav .nav-link.active { color: var(--isht-blue); font-weight: 600; }
.navbar-toggler { border: 2px solid var(--isht-border); border-radius: 10px; padding: .4rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(16, 191, 193, .35); }
.navbar-toggler .bi { font-size: 1.6rem; color: var(--isht-navy); line-height: 1; }
.header-call { color: var(--isht-navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--isht-cyan-dark); }
.header-call .bi { color: var(--isht-cyan-dark); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section-light { background: var(--isht-light-blue); }
.section-grey { background: var(--isht-light-grey); }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--isht-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--isht-cyan-dark); margin-bottom: .6rem;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--isht-cyan); }
.divider-cyan { width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--isht-blue), var(--isht-cyan)); margin: 1rem auto 1.25rem; border: 0; opacity: 1; }
.divider-cyan.start { margin-left: 0; }
.lead-muted { color: var(--isht-muted); font-size: 1.08rem; }

/* ---------- Hero carousel ---------- */
.hero-carousel { background: var(--isht-navy); }
.hero-carousel .carousel-item { position: relative; min-height: 560px; }
.hero-carousel .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
}
.hero-carousel .carousel-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,45,112,.92) 0%, rgba(16,45,112,.72) 45%, rgba(16,45,112,.15) 100%);
}
.hero-carousel .slide-2::after { background: linear-gradient(90deg, rgba(5,60,135,.92) 0%, rgba(7,86,181,.7) 45%, rgba(7,86,181,.1) 100%); }
.hero-carousel .slide-3::after { background: linear-gradient(90deg, rgba(16,45,112,.93) 0%, rgba(16,45,112,.66) 48%, rgba(16,191,193,.08) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 72px 0 96px; max-width: 640px; }
.hero-content h1, .hero-content h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: 1rem; }
.hero-content p { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: #E6F0FF; max-width: 560px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .45rem; background: rgba(16,191,193,.18); color: #BFF5F6;
  border: 1px solid rgba(16,191,193,.5); padding: .35rem .9rem; border-radius: 50px; font-size: .82rem; font-weight: 600; margin-bottom: 1.1rem;
}
.hero-carousel .carousel-indicators { z-index: 3; margin-bottom: 1.5rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 34px; height: 6px; border-radius: 6px; border: 0; background: #fff; opacity: .45; transition: opacity .2s, width .2s;
}
.hero-carousel .carousel-indicators .active { opacity: 1; width: 48px; background: var(--isht-cyan); }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 56px; z-index: 3; opacity: 1; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1.2rem; transition: background .2s;
}
.carousel-control-prev:hover .carousel-arrow, .carousel-control-next:hover .carousel-arrow,
.carousel-control-prev:focus-visible .carousel-arrow, .carousel-control-next:focus-visible .carousel-arrow { background: var(--isht-cyan); color: var(--isht-navy); }
.carousel-toggle {
  position: absolute; z-index: 4; right: 1rem; bottom: 1.1rem; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.carousel-toggle:hover { background: var(--isht-cyan); color: var(--isht-navy); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; background: var(--isht-gradient-soft); padding: 56px 0 52px; overflow: hidden;
  border-bottom: 1px solid var(--isht-border);
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 2px dashed rgba(16,191,193,.35); pointer-events: none;
}
.page-hero .breadcrumb { font-size: .9rem; margin-bottom: .75rem; }
.page-hero .breadcrumb a { text-decoration: none; }
.page-hero p.lead { color: var(--isht-muted); max-width: 720px; }
.page-hero-image { position: relative; color: #fff; background: var(--isht-navy); padding: 80px 0; }
.page-hero-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.page-hero-image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,45,112,.94) 0%, rgba(16,45,112,.76) 50%, rgba(16,45,112,.2) 100%);
}
.page-hero-image .container { position: relative; z-index: 2; }
.page-hero-image h1, .page-hero-image .h2 { color: #fff; }
.page-hero-image .subheading { color: #BFF5F6; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.2rem; }
.page-hero-image p { color: #E6F0FF; max-width: 620px; }
.page-hero-image .breadcrumb-item, .page-hero-image .breadcrumb-item a, .page-hero-image .breadcrumb-item::before { color: #CFE3FF !important; }

/* ---------- Cards ---------- */
.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; flex: 0 0 56px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.55rem;
  background: var(--isht-light-blue); color: var(--isht-blue);
}
.icon-badge.cyan { background: rgba(16,191,193,.14); color: var(--isht-cyan-dark); }
.icon-badge.solid { background: var(--isht-gradient); color: #fff; }

.feature-card {
  height: 100%; background: var(--isht-light-blue); border: 1px solid var(--isht-border); border-radius: var(--isht-radius);
  padding: 1.75rem 1.5rem; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.feature-card .icon-badge { background: #fff; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { margin: 0; color: var(--isht-muted); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--isht-shadow-hover); background: #fff; }
.feature-card.white { background: #fff; box-shadow: var(--isht-shadow); }
.feature-card.white .icon-badge { background: var(--isht-light-blue); }

/* Course cards */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.btn-filter {
  border: 1px solid var(--isht-border); background: #fff; color: var(--isht-navy); border-radius: 50px;
  padding: .5rem 1.05rem; font-size: .9rem; font-weight: 500; font-family: 'Poppins', sans-serif; transition: all .2s;
}
.btn-filter:hover { border-color: var(--isht-cyan); color: var(--isht-cyan-dark); }
.btn-filter.active { background: var(--isht-blue); border-color: var(--isht-blue); color: #fff; box-shadow: 0 4px 12px rgba(7,86,181,.25); }
.course-search { max-width: 520px; margin: 0 auto 1.25rem; position: relative; }
.course-search .bi { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--isht-muted); }
.course-search input { padding: .85rem 1rem .85rem 2.8rem; border-radius: 50px; border: 1px solid var(--isht-border); box-shadow: var(--isht-shadow); }
.course-search input:focus { border-color: var(--isht-cyan); box-shadow: 0 0 0 .25rem rgba(16,191,193,.2); }

.course-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--isht-border);
  border-radius: var(--isht-radius); padding: 1.5rem; box-shadow: var(--isht-shadow); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.course-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--isht-blue), var(--isht-cyan)); opacity: 0; transition: opacity .25s; }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--isht-shadow-hover); border-color: #C5DBF2; }
.course-card:hover::before { opacity: 1; }
.course-card h3 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.course-card p { color: var(--isht-muted); font-size: .94rem; margin-bottom: .9rem; }
.course-card .card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--isht-border); }
.course-card .cat-label { font-size: .75rem; font-weight: 600; color: var(--isht-cyan-dark); text-transform: uppercase; letter-spacing: .8px; }
.skill-list { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .25rem; padding: 0; list-style: none; }
.skill-chip, .skill-list li {
  display: inline-block; font-size: .78rem; font-weight: 500; color: var(--isht-navy);
  background: var(--isht-light-blue); border-radius: 50px; padding: .22rem .65rem;
}
.badge-cat { display: inline-block; font-size: .78rem; font-weight: 600; padding: .3rem .8rem; border-radius: 50px; background: #fff; color: var(--isht-blue); border: 1px solid var(--isht-border); margin: 0 .35rem .35rem 0; }
.outcomes { padding-left: 0; list-style: none; margin: 0; }
.outcomes li { position: relative; padding-left: 1.6rem; margin-bottom: .35rem; font-size: .92rem; }
.outcomes li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--isht-cyan-dark); }
.course-empty { text-align: center; padding: 2.5rem 1rem; color: var(--isht-muted); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before {
  content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .05rem; color: var(--isht-cyan-dark); font-size: 1.1rem;
}
.check-list.light li::before { color: var(--isht-cyan); }

/* Why choose */
.why-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--isht-radius); background: #fff; border: 1px solid var(--isht-border); height: 100%; transition: box-shadow .25s, transform .25s; }
.why-item:hover { box-shadow: var(--isht-shadow); transform: translateY(-3px); }
.why-item h3 { font-size: 1.02rem; margin: 0 0 .25rem; }
.why-item p { margin: 0; color: var(--isht-muted); font-size: .92rem; }

/* Career stage */
.stage-card { height: 100%; border-radius: var(--isht-radius); padding: 2rem; background: #fff; border: 1px solid var(--isht-border); box-shadow: var(--isht-shadow); display: flex; flex-direction: column; }
.stage-card.alt { background: var(--isht-gradient); color: #fff; border: 0; }
.stage-card.alt h3, .stage-card.alt .check-list li { color: #fff; }
.stage-card .btn { align-self: flex-start; margin-top: auto; }
.stage-card .check-list { margin-bottom: 1.5rem; }

/* Category directory */
.category-block { height: 100%; background: #fff; border-radius: var(--isht-radius); border: 1px solid var(--isht-border); padding: 1.5rem; }
.category-block h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.category-block h3 .bi { color: var(--isht-cyan-dark); font-size: 1.3rem; }
.category-block ul { list-style: none; padding: 0; margin: 0; }
.category-block li { padding: .4rem 0; border-bottom: 1px dashed var(--isht-border); font-size: .95rem; }
.category-block li:last-child { border-bottom: 0; }
.category-block a { text-decoration: none; color: var(--isht-text); }
.category-block a:hover { color: var(--isht-blue); }

/* Split promo */
.promo-media { border-radius: 20px; overflow: hidden; box-shadow: var(--isht-shadow-hover); position: relative; }
.promo-media img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.promo-media .promo-badge {
  position: absolute; left: 1rem; bottom: 1rem; background: #fff; border-radius: 12px; padding: .7rem 1rem; display: flex; gap: .6rem; align-items: center;
  box-shadow: var(--isht-shadow); font-weight: 600; color: var(--isht-navy); font-size: .9rem;
}
.promo-media .promo-badge .bi { color: var(--isht-cyan-dark); font-size: 1.3rem; }
.pill-grid { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.pill-grid li { background: #fff; border: 1px solid var(--isht-border); border-radius: 50px; padding: .45rem 1rem; font-weight: 500; color: var(--isht-navy); font-size: .92rem; display: inline-flex; gap: .45rem; align-items: center; }
.pill-grid li .bi { color: var(--isht-cyan-dark); }

/* CTA band */
.cta-band { background: var(--isht-gradient); color: #fff; border-radius: 24px; padding: 3rem 1.5rem; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); right: -120px; bottom: -160px; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #E6F0FF; }
.cta-band > * { position: relative; z-index: 1; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: var(--isht-radius); border: 1px dashed #B9CFE8; padding: 2rem; text-align: center; max-width: 720px; margin: 0 auto; }
.testimonial-card .quote-icon { font-size: 2.2rem; color: var(--isht-cyan); line-height: 1; }
.testimonial-card p { font-size: 1.05rem; color: var(--isht-muted); font-style: italic; }
.testimonial-carousel { padding-bottom: 3rem; }
.testimonial-carousel .carousel-indicators { margin-bottom: 0; }
.testimonial-carousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--isht-blue); border: 0; }
.testimonial-carousel .carousel-control-prev, .testimonial-carousel .carousel-control-next { width: 48px; opacity: 1; }
.testimonial-carousel .carousel-arrow { background: #fff; color: var(--isht-blue); border-color: var(--isht-border); box-shadow: var(--isht-shadow); }
.testimonial-carousel .carousel-toggle { background: #fff; color: var(--isht-blue); border-color: var(--isht-border); bottom: 0; }

/* FAQ accordion */
.faq .accordion-item { border: 1px solid var(--isht-border); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--isht-navy); padding: 1.1rem 1.25rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--isht-blue); background: var(--isht-light-blue); }
.faq .accordion-button:focus-visible { box-shadow: inset 0 0 0 3px rgba(16,191,193,.6); }
.faq .accordion-button::after { background-image: none; content: '\F64D'; font-family: 'bootstrap-icons'; font-size: 1.1rem; color: var(--isht-cyan-dark); transform: none; width: auto; height: auto; }
.faq .accordion-button:not(.collapsed)::after { content: '\F63B'; transform: none; }
.faq .accordion-body { color: var(--isht-text); }

/* Contact */
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--isht-border); border-radius: var(--isht-radius); padding: 1.25rem; height: 100%; text-decoration: none; color: var(--isht-text); transition: box-shadow .2s, transform .2s; }
a.contact-card:hover { box-shadow: var(--isht-shadow-hover); transform: translateY(-3px); color: var(--isht-text); }
.contact-card small { display: block; color: var(--isht-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.contact-card strong { color: var(--isht-navy); font-family: 'Poppins', sans-serif; word-break: break-word; }
.map-wrap { border-radius: var(--isht-radius); overflow: hidden; border: 1px solid var(--isht-border); background: var(--isht-light-grey); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--isht-border); border-radius: 20px; padding: 1.5rem; box-shadow: var(--isht-shadow); }
.form-label { font-weight: 600; color: var(--isht-navy); font-size: .92rem; margin-bottom: .35rem; }
.form-label .req { color: #C0392B; }
.form-control, .form-select { border-radius: 10px; border-color: #CBD9EA; padding: .7rem .9rem; color: var(--isht-text); }
.form-control:focus, .form-select:focus { border-color: var(--isht-cyan); box-shadow: 0 0 0 .25rem rgba(16,191,193,.2); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #C0392B; }
.invalid-feedback { color: #B02A1E; font-size: .84rem; }
.form-control.is-invalid ~ .invalid-feedback, .form-select.is-invalid ~ .invalid-feedback { display: block; }
.form-note { font-size: .82rem; color: var(--isht-muted); }
.form-status { margin-top: 1rem; margin-bottom: 0; border-radius: 12px; font-size: .95rem; }
.form-status:focus { outline: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: step; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--isht-blue), var(--isht-cyan)); }
.timeline li { position: relative; padding: 0 0 1.75rem 72px; counter-increment: step; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 3px solid var(--isht-blue); color: var(--isht-navy); font-family: 'Poppins', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--isht-light-blue);
}
.timeline h3 { font-size: 1.08rem; margin: .65rem 0 .3rem; }
.timeline p { color: var(--isht-muted); margin: 0; }

/* Job roles */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.role-chip { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: #fff; border-radius: 14px; border: 1px solid var(--isht-border); font-weight: 600; color: var(--isht-navy); font-family: 'Poppins', sans-serif; font-size: .95rem; }
.role-chip .bi { color: var(--isht-cyan-dark); font-size: 1.25rem; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.partner-tile {
  min-width: 0; min-height: 120px; border-radius: 14px; border: 2px dashed #B9CFE8; background: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--isht-muted); font-size: .82rem; font-weight: 500;
}
.partner-tile .bi { font-size: 1.6rem; color: #9DB6D3; margin-bottom: .35rem; }
.partner-tile.verified { border-style: solid; border-color: var(--isht-border); }
.partner-tile img { max-height: 70%; max-width: 85%; object-fit: contain; filter: grayscale(.2); }

/* Notes for content awaiting institute confirmation */
.confirm-note {
  display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: #5A4A10; background: #FFF8E1;
  border: 1px solid #F3DE9A; border-radius: 12px; padding: .75rem 1rem;
}
.confirm-note .bi { color: #B58500; margin-top: .1rem; }
.notice-box { background: var(--isht-light-blue); border-left: 4px solid var(--isht-cyan); border-radius: 0 12px 12px 0; padding: 1rem 1.25rem; font-size: .95rem; }

/* Course details */
.cd-hero-icon { width: 76px; height: 76px; border-radius: 20px; background: var(--isht-gradient); color: #fff; font-size: 2.1rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--isht-shadow-hover); }
.module-list { list-style: none; padding: 0; margin: 0; }
.module-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--isht-border); border-radius: 12px; margin-bottom: .6rem; background: #fff; }
.module-num { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--isht-cyan-dark); min-width: 2rem; }
.info-panel { background: #fff; border: 1px solid var(--isht-border); border-radius: var(--isht-radius); padding: 1.5rem; box-shadow: var(--isht-shadow); }
.info-panel dl { margin: 0; }
.info-panel dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; color: var(--isht-muted); font-weight: 600; }
.info-panel dd { color: var(--isht-navy); font-weight: 600; margin-bottom: .9rem; }
.related-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--isht-border); text-decoration: none; color: var(--isht-text); height: 100%; transition: box-shadow .2s, transform .2s; }
.related-card:hover { box-shadow: var(--isht-shadow-hover); transform: translateY(-3px); color: var(--isht-text); }
.related-card strong { display: block; color: var(--isht-navy); font-family: 'Poppins', sans-serif; }
.related-card small { color: var(--isht-muted); }
.content-block h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.content-block + .content-block { margin-top: 2.5rem; }

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--isht-navy); color: #C9D6EE; padding-top: 64px; font-size: .95rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.site-footer h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--isht-cyan); border-radius: 3px; }
.site-footer a { color: #C9D6EE; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--isht-cyan); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-logo-plate { display: inline-block; background: #fff; border-radius: 14px; padding: .6rem .9rem; margin-bottom: 1rem; }
.footer-logo-plate img { height: 84px; width: auto; display: block; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .bi { color: var(--isht-cyan); margin-top: .2rem; }
.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; }
.social-links a:hover { background: var(--isht-cyan); color: var(--isht-navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 1.25rem 0; font-size: .88rem; }
.footer-tagline { color: var(--isht-cyan); font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: 1px; }

/* ---------- Floating actions ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%;
  background: #1C9E54; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  box-shadow: 0 8px 22px rgba(28,158,84,.4); transition: transform .2s; text-decoration: none;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.07); }
.scroll-top {
  position: fixed; right: 24px; bottom: 86px; z-index: 1039; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--isht-blue); color: #fff; font-size: 1.2rem; box-shadow: var(--isht-shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--isht-navy); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Photos ---------- */
.page-hero.has-photo::after { display: none; }
.page-hero-photo {
  position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--isht-shadow-hover);
  border: 6px solid #fff; aspect-ratio: 4 / 3; background: var(--isht-light-blue);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(16,191,193,0) 55%, rgba(16,45,112,.25) 100%);
}

.stage-photo { margin: -2rem -2rem 1.5rem; height: 220px; overflow: hidden; border-radius: var(--isht-radius) var(--isht-radius) 0 0; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.stage-card:hover .stage-photo img { transform: scale(1.04); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: .75rem; }
.gallery-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--isht-light-blue); }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .88rem; background: linear-gradient(transparent, rgba(16,45,112,.88));
}

/* Verified partner tiles */
.partner-grid.partner-grid-two { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; gap: 1.5rem; }
.partner-tile.verified {
  aspect-ratio: auto; min-height: 240px; gap: .6rem; padding: 1.75rem 1.25rem; text-decoration: none;
  box-shadow: var(--isht-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.partner-tile.verified img { height: 120px; width: auto; max-width: 90%; object-fit: contain; filter: none; }
.partner-tile.verified .partner-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--isht-navy); font-size: 1.1rem; }
.partner-tile.verified .partner-url { font-size: .85rem; color: var(--isht-blue); }
a.partner-tile.verified:hover { transform: translateY(-4px); box-shadow: var(--isht-shadow-hover); border-color: var(--isht-cyan); }
@media (min-width: 576px) { .partner-grid.partner-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner-tile.verified .partner-url .bi { font-size: .75rem; color: inherit; margin: 0 0 0 .2rem; }

/* ---------- Home hero: one background video, text slides on top ---------- */
.hero-video-carousel { position: relative; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; background: var(--isht-navy) url('../images/banner-poster.webp') center / cover no-repeat; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,45,112,.93) 0%, rgba(16,45,112,.78) 45%, rgba(7,86,181,.35) 100%);
}
.hero-video-carousel .carousel-inner { position: relative; z-index: 1; }
.hero-video-carousel .carousel-item { background: transparent; }
.hero-video-carousel .carousel-item::after { display: none; }
.hero-video-carousel .hero-content { text-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* Footer link lists (Quick Links, Popular Courses): chevron bullets + hover slide */
.site-footer ul:not(.footer-contact) li { margin-bottom: .65rem; }
.site-footer ul:not(.footer-contact) a {
  position: relative; display: inline-flex; align-items: flex-start; gap: .55rem;
  transition: color .2s ease, transform .2s ease;
}
.site-footer ul:not(.footer-contact) a::before {
  content: '\F285';                       /* bi-chevron-right */
  font-family: 'bootstrap-icons'; font-size: .7rem; line-height: 1;
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--isht-cyan); background: rgba(16, 191, 193, .12);
  transition: background .2s ease, color .2s ease;
}
.site-footer ul:not(.footer-contact) a:hover,
.site-footer ul:not(.footer-contact) a:focus-visible { transform: translateX(4px); }
.site-footer ul:not(.footer-contact) a:hover::before,
.site-footer ul:not(.footer-contact) a:focus-visible::before { background: var(--isht-cyan); color: var(--isht-navy); }
@media (prefers-reduced-motion: reduce) {
  .site-footer ul:not(.footer-contact) a:hover { transform: none; }
}

/* Social icons: top bar (desktop) */
.topbar-social { display: inline-flex; gap: .4rem; padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.2); }
.topbar-social a { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); }
.topbar-social a .bi { color: #fff; font-size: .85rem; }
.topbar-social a:hover { background: var(--isht-cyan); }
.topbar-social a:hover .bi { color: var(--isht-navy); }
