/* Google Ads course additions — namespaced to this page; existing hero is intentionally untouched. */
.anax-course-detail-page {
  --ga-red: #e3262e;
  --ga-blue: #0877c9;
  --ga-blue-deep: #103d73;
  --ga-ink: #203047;
  --ga-muted: #68788d;
  --ga-line: #e3eaf2;
  --ga-pale: #f4f8fd;
}

.ga-section-light,
.ga-section-white,
.ga-section-tint,
.ga-section-blue {
  padding: 82px 0;
}

.ga-section-light {
  background: linear-gradient(180deg, #f3fff5 0%, #fff 100%);
}

.ga-section-white {
  background: #fff;
}

.ga-section-tint {
  background: linear-gradient(135deg, #edf5ff 0%, #f9fbff 58%, #fff4f4 100%);
}

.ga-section-blue {
  background: linear-gradient(135deg, #1371a9 0%, #11033c 100%);
  color: #fff;
}

.ga-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.ga-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ga-red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.ga-section-heading h2,
.ga-why-learn-intro h2,
.ga-career-header h2,
.ga-institute-heading h2 {
  margin: 0 0 14px;
  color: var(--ga-ink);
  font-size: 29px;
    line-height: 1.16;
    /* letter-spacing: -1.1px; */
    font-weight: 700;
}

.ga-section-heading h2 span,
.ga-why-learn-intro h2 span,
.ga-institute-heading h2 span {
  color: var(--ga-blue);
}

.ga-section-heading p,
.ga-why-learn-intro>p,
.ga-career-header>p,
.ga-institute-heading>p {
  margin: 0;
  color: var(--ga-muted);
  font-size: 15px;
  line-height: 1.8;
}

.ga-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ga-benefit-card {
  position: relative;
  min-height: 220px;
  padding: 28px 25px 26px;
  border: 1px solid rgba(13, 73, 130, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 35px rgba(27, 62, 103, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}

.ga-benefit-card:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ga-red), var(--ga-blue));
  transition: width .25s ease;
}

.ga-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 119, 201, .22);
  box-shadow: 0 18px 42px rgba(27, 62, 103, .11);
}

.ga-benefit-card:hover:after {
  width: 100%;
}

.ga-benefit-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin-bottom: 19px;
  border-radius: 14px;
  color: var(--ga-blue);
  background: #eaf4ff;
}

.ga-benefit-card:nth-child(2n) .ga-benefit-icon {
  color: var(--ga-red);
  background: #fff0f0;
}

.ga-benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ga-benefit-card h3 {
  margin: 0 0 9px;
  color: var(--ga-ink);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
}

.ga-benefit-card p {
  margin: 0;
  color: var(--ga-muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.ga-why-learn-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 65px;
  align-items: start;
}

.ga-why-learn-intro {
  position: sticky;
  top: 28px;
}

.ga-why-learn-intro h2 {
  max-width: 460px;
}

.ga-inline-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  color: var(--ga-blue);
  font-weight: 800;
  text-decoration: none;
}

.ga-inline-link span {
  transition: transform .2s ease;
}

.ga-inline-link:hover span {
  transform: translateX(4px);
}

.ga-accordion {
  border-top: 1px solid rgba(16, 61, 115, .14);
}

.ga-accordion-item {
  border-bottom: 1px solid rgba(16, 61, 115, .14);
}

.ga-accordion-item summary {
  display: grid;
  grid-template-columns: 42px 1fr 25px;
  align-items: center;
  gap: 13px;
  min-height: 73px;
  padding: 15px 4px;
  color: var(--ga-ink);
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
}

.ga-accordion-item summary::-webkit-details-marker {
  display: none;
}

.ga-accordion-number {
  color: #8295ad;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1px;
}

.ga-accordion-plus {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #cbd9e9;
  border-radius: 50%;
}

.ga-accordion-plus:before,
.ga-accordion-plus:after {
  position: absolute;
  top: 10px;
  left: 6px;
  width: 10px;
  height: 2px;
  background: var(--ga-blue);
  content: "";
  transition: transform .2s ease;
}

.ga-accordion-plus:after {
  transform: rotate(90deg);
}

.ga-accordion-item[open] .ga-accordion-plus:after {
  transform: rotate(0);
}

.ga-accordion-item[open] summary {
  color: var(--ga-blue-deep);
}

.ga-accordion-content {
  padding: 0 38px 20px 55px;
}

.ga-accordion-content p {
  margin: 0;
  color: var(--ga-muted);
  font-size: 14px;
  line-height: 1.8;
}

.ga-salary-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 13px;
  margin: 30px 0 16px;
}

.ga-location-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ga-red);
  box-shadow: 0 0 0 5px #ffeded;
}

.ga-salary-location h3 {
  margin: 0;
  color: var(--ga-ink);
  font-size: 18px;
  font-weight: 800;
}

.ga-salary-location p {
  flex-basis: 100%;
  margin: 0 0 0 22px;
  color: var(--ga-muted);
  font-size: 13px;
}

.ga-salary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ga-salary-card {
  padding: 27px 30px;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: linear-gradient(135deg, #bea2a2 0%, #f8fbff 100%);
  box-shadow: 0 10px 28px rgba(25, 64, 109, .06);
}

.ga-salary-card>span {
  color: var(--ga-red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.ga-salary-card h4 {
  margin: 11px 0 15px;
  color: var(--ga-ink);
  font-size: 17px;
  font-weight: 800;
}

.ga-salary-card strong {
  display: block;
  color: #07105f;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.7px;
}

.ga-salary-card strong small {
  color: #8fa1b5;
  font-size: 18px;
}

.ga-salary-card p {
  margin: 8px 0 0;
  color: #020202;
  font-size: 12px;
  font-weight: 500;
}

.ga-salary-location-large {
  margin-top: 38px;
}

.ga-salary-card-blue {
  background: linear-gradient(135deg, #93a7c2, #fff);
  border-color: #d9e9fa;
}

.ga-career-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 32px;
}

.ga-career-header>div {
  max-width: 560px;
}

.ga-career-header h2 {
  margin-bottom: 0;
  color: #fff;
}

.ga-career-header h2 span {
  color: #ff9ca1;
}

.ga-career-header .ga-kicker {
  color: #b8dcff;
}

.ga-career-header>p {
  max-width: 430px;
  color: #d5e7f8;
}

.ga-career-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.ga-career-card {
  min-height: 195px;
  padding: 23px 20px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 15px;
  background: rgba(255, 255, 255, .09);
  transition: transform .25s ease, background .25s ease;
}

.ga-career-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .14);
}

.ga-career-card>span {
  display: inline-block;
  margin-bottom: 23px;
  color: #ffb4b7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.ga-career-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}

.ga-career-card p {
  margin: 0;
  color: #d5e7f8;
  font-size: 12.5px;
  line-height: 1.7;
}

.ga-institute-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.ga-google-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 19px;
  border: 1px solid #dce9f8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(23, 72, 124, .08);
}

.ga-google-mark img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.ga-institute-heading h2 {
  margin-bottom: 13px;
}

.ga-institute-heading h3 {
  margin: 0 0 12px;
  color: var(--ga-red);
  font-size: 17px;
  font-weight: 800;
}

.ga-ad-types-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.ga-ad-type-card {
  display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 23px;
    border: 1px solid #b7c2cf;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgb(28 65 107 / 20%);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ga-ad-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(28, 65, 107, .11);
}

.ga-ad-type-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ga-ad-type-top span {
  color: #8da1b8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1px;
}

.ga-ad-type-top img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.ga-ad-type-card h3 {
  margin: 0 0 10px;
  color: var(--ga-ink);
  font-size: 17px;
  font-weight: 800;
}

.ga-ad-type-card p {
  margin: 0;
  color: var(--ga-muted);
  font-size: 13px;
  line-height: 1.75;
}

.ga-ad-type-line {
  width: 38px;
  height: 3px;
  margin-top: auto;
  padding-top: 0;
  background: var(--ga-red);
  border-radius: 5px;
}

.ga-ad-type-card:nth-child(even) .ga-ad-type-line {
  background: var(--ga-blue);
}

.ga-institute-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #dce9f8;
  border-radius: 14px;
  background: linear-gradient(90deg, #eef6ff, #fff6f6);
}

.ga-institute-footer p {
  margin: 0;
  color: var(--ga-ink);
  font-weight: 800;
}

.ga-institute-footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--ga-red);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.ga-institute-footer a:hover {
  transform: translateY(-2px);
  background: #c91d25;
  color: #fff;
}

@media (max-width: 1000px) {
  .ga-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ga-why-learn-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ga-why-learn-intro {
    position: static;
  }

  .ga-career-grid,
  .ga-ad-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ga-career-header {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 650px) {

  .ga-section-light,
  .ga-section-white,
  .ga-section-tint,
  .ga-section-blue {
    padding: 58px 0;
  }

  .ga-benefit-grid,
  .ga-salary-grid,
  .ga-career-grid,
  .ga-ad-types-grid {
    grid-template-columns: 1fr;
  }

  .ga-benefit-card {
    min-height: 0;
    padding: 23px;
  }

  .ga-section-heading {
    margin-bottom: 28px;
  }

  .ga-accordion-item summary {
    grid-template-columns: 30px 1fr 24px;
    gap: 9px;
    font-size: 14px;
  }

  .ga-accordion-content {
    padding-left: 39px;
    padding-right: 10px;
  }

  .ga-salary-card {
    padding: 23px;
  }

  .ga-career-card {
    min-height: 0;
  }

  .ga-career-card>span {
    margin-bottom: 14px;
  }

  .ga-institute-footer {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .ga-institute-footer a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ga-benefit-card,
  .ga-benefit-card:after,
  .ga-career-card,
  .ga-ad-type-card,
  .ga-inline-link span,
  .ga-institute-footer a {
    transition: none;
  }
}

/* Hero: Content Left + Video Right */
.anax-course-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    align-items: center;
    gap: 55px;
}

.anax-course-detail-hero-copy {
    min-width: 0;
}

.anax-course-detail-video {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anax-course-detail-video-frame {
    position: relative;
    width: 100%;
    max-width: 315px;
    aspect-ratio: 315 / 560;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: #080d18;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.anax-course-detail-video-frame iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .anax-course-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 25px;
    }

    .anax-course-detail-video-frame {
        max-width: 270px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .anax-course-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .anax-course-detail-video {
        justify-content: center;
    }

    .anax-course-detail-video-frame {
        width: 100%;
        max-width: 280px;
    }
}

/* Google Ads Hero - Reference Image Layout */
.anax-course-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 45px;
    align-items: center;
}

.anax-course-detail-hero-copy {
    min-width: 0;
}

.anax-course-detail-video {
    width: 100%;
    max-width: 350px;
    justify-self: end;
}

.anax-course-detail-video-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #080d18;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.anax-course-detail-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Tablet */
@media (max-width: 1000px) {
    .anax-course-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 25px;
    }

    .anax-course-detail-video {
        max-width: 300px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .anax-course-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .anax-course-detail-video {
        max-width: 300px;
        justify-self: center;
    }
}
