/* =================================================================
   LATASIA EDUCATION — IMAT Training Page — Main Body Styles
   Brand palette liya gaya hai aapke logo se (Latasia Education, blue)
   ================================================================= */

:root {
  /* --- Brand colors (aapke logo se liye gaye) --- */
  --navy: #0B2A5B;          /* deep navy - headings */
  --blue: #1B4B91;          /* primary brand blue - logo color */
  --blue-dark: #123763;     /* hover / pressed state */
  --blue-light: #EAF0FE;    /* light blue tint - backgrounds */
  --teal: #2E9E7C;          /* accent teal - jaisa nav underline me hai */
  --gold: #E8A93C;          /* stars / highlight accent */

  --cream: #F7F9FC;         /* page background (blue-tinted white) */
  --white: #FFFFFF;
  --border: #E3E8F2;

  --text-dark: #1C2333;
  --text-body: #4B5468;
  --text-muted: #7A8296;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow: 0 4px 20px rgba(11, 42, 91, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 42, 91, 0.10);

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------- Base --------------------- */
.imat-page {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.6;
}

.imat-page * {
  box-sizing: border-box;
}

.imat-page h1,
.imat-page h2,
.imat-page h3,
.imat-page h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0;
}

.imat-page ul,
.imat-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.imat-page p {
  margin: 0;
}

.imat-page img {
  max-width: 100%;
  display: block;
}

.imat-page section {
  padding: 64px 24px;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.text-accent {
  color: var(--blue);
}

/* --------------------- Buttons --------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn .arrow {
  transition: transform 0.15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(27, 75, 145, 0.25);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--ghost-light {
  background: var(--white);
  color: var(--navy);
}

.btn--ghost-light:hover {
  transform: translateY(-1px);
}

.btn--ghost-cream {
  background: var(--blue-light);
  color: var(--navy);
}

.btn--ghost-cream:hover {
  transform: translateY(-1px);
}

/* --------------------- Icon circle --------------------- */
.icon-circle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

.icon-circle--sm {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.icon-circle--sm svg {
  width: 18px;
  height: 18px;
}

/* --------------------- Hero --------------------- */
.hero {
  padding: 56px 24px 0;
}

.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero__heading {
  font-size: 2.7rem;
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero__desc {
  color: var(--text-body);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.hero__features li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__media {
  position: relative;
}

.hero__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 504 / 295;
}

.hero__badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.hero__badge strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.hero__badge-icon {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-icon svg {
  width: 16px;
  height: 16px;
}

/* --------------------- What is IMAT --------------------- */
.what-is {
  padding-top: 88px;
}

.what-is__card {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.label {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.what-is__text p:not(.label) {
  color: var(--text-body);
  font-size: 0.98rem;
}

.what-is__stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--blue);
}

.stat svg {
  width: 26px;
  height: 26px;
}

.stat strong {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

/* --------------------- Subjects --------------------- */
.subjects__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.subject-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.subject-card h3 {
  font-size: 1.02rem;
  margin: 14px 0 12px;
}

.subject-card ul li {
  font-size: 0.84rem;
  color: var(--text-body);
  padding: 5px 0;
  position: relative;
  padding-left: 14px;
}

.subject-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.subject-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subject-card__icon svg {
  width: 22px;
  height: 22px;
}

.subject-card__icon--green { background: #E7F5EE; color: #2E9E6F; }
.subject-card__icon--blue  { background: var(--blue-light); color: var(--blue); }
.subject-card__icon--red   { background: #FBEAEA; color: #C6433F; }
.subject-card__icon--purple{ background: #F0EAFB; color: #7C4FD1; }
.subject-card__icon--gold  { background: #FBF1E1; color: var(--gold); }

.subject-card h3 {
  color: var(--navy);
}

/* --------------------- Timeline --------------------- */
.timeline__track {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline__line {
  position: absolute;
  top: 23px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue), #C6433F, #7C4FD1);
  z-index: 0;
}

.phase {
  position: relative;
  z-index: 1;
  text-align: left;
}

.phase__dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.phase__dot svg {
  width: 20px;
  height: 20px;
}

.phase__label {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.phase h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.phase ul li {
  font-size: 0.83rem;
  color: var(--text-body);
  padding: 4px 0 4px 14px;
  position: relative;
}

.phase ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* --------------------- Triple columns (modules/format/materials & uni/testimonial/support) --------------------- */
.triple {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.triple__col,
.card-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
}

.triple__title {
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.triple__title.center {
  text-align: center;
}

.numbered-list li,
.icon-list li,
.support-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.numbered-list li:last-child,
.icon-list li:last-child,
.support-list li:last-child {
  border-bottom: none;
}

.numbered-list .num {
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  min-width: 26px;
}

.numbered-list strong,
.icon-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.numbered-list p,
.icon-list p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.support-list li {
  align-items: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

/* --- universities / testimonial column --- */
.uni-logos {
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.and-more {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial {
  background: var(--blue-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: span 1;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__meta strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial__uni {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial__quote {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--text-body);
  font-style: italic;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.dot.active {
  background: var(--blue);
}

/* --------------------- Bottom CTA banner --------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #123763 60%, var(--blue) 130%);
  padding: 0;
}

.cta-banner__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner__text h2 {
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-banner__text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .what-is__card { grid-template-columns: 1fr; }
  .what-is__stats { grid-template-columns: repeat(3, 1fr); }
  .subjects__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline__track { grid-template-columns: repeat(2, 1fr); }
  .timeline__line { display: none; }
  .triple { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: -30px; }
}

@media (max-width: 560px) {
  .hero__heading { font-size: 2rem; }
  .hero__features { grid-template-columns: repeat(2, 1fr); }
  .what-is__stats { grid-template-columns: repeat(2, 1fr); }
  .subjects__grid { grid-template-columns: 1fr; }
  .timeline__track { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
/* =================================================================
   COURSE / JOB BANNER — header image proper set karne ke liye
   HTML (aapka blade code, waisa hi rehne dena):

   <section class="single-job-thumb st2">
       <img src="{{ asset('frontend/assets/images/job/course.png') }}" alt="Course Banner">
       <div class="banner-overlay"></div>
   </section>
   ================================================================= */

/* Page par right side scrollbar/white-gap ka issue aksar body/html
   overflow-x se aata hai — ye safety fix bhi daal diya hai */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

.single-job-thumb.st2 {
  position: relative;
  width: 100%;
  height: 520px;          /* apni pasand se adjust kar sakte ho, e.g. 60vh */
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0;          /* img ke niche extra gap hatane ke liye */
}

.single-job-thumb.st2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* image poora area cover karegi, stretch nahi hogi */
  object-position: center center;
  display: block;
}

.single-job-thumb.st2 .banner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 42, 91, 0.15) 0%,
    rgba(11, 42, 91, 0.55) 100%
  );
  z-index: 1;
}

/* Agar overlay ke andar heading/text daalna ho to ye class use kar lena */
.single-job-thumb.st2 .banner-overlay .banner-content {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1180px;
  padding: 0 24px;
  color: #ffffff;
  text-align: left;
}

/* --------------------- Responsive --------------------- */
@media (max-width: 991px) {
  .single-job-thumb.st2 {
    height: 380px;
  }
}

@media (max-width: 576px) {
  .single-job-thumb.st2 {
    height: 260px;
  }
}