/* ============================================================
   Scope Defence Academy — Unified Override Theme
   modern-theme.css

   RULES:
   - Yahan sirf zaroorat ke corrections/overrides hain
   - Koi duplicate :root block nahi hoga
   - Koi duplicate class definitions nahi hongi
   - Naye corrections sirf is file mein ya seedha us page ki
     index.html mein — koi nayi CSS file nahi
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES (Root — sirf ek hi jagah defined)
   ============================================================ */
:root {
  --brand-orange: #F17720;
  --brand-yellow: #FFA530;
  --brand-cyan:   #00A7E1;
  --brand-blue:   #0474BA;
  --brand-light:  #EBEBEB;

  --army-main:   #7C7461;
  --army-dark:   #545648;
  --army-light:  #DFD9CD;
  --army-accent: #A19E81;

  --navy-main:   #14175B;
  --navy-dark:   #11164E;
  --navy-light:  #80ABC6;
  --navy-accent: #A9CDE4;

  --air-main:   #00359F;
  --air-dark:   #002B80;
  --air-light:  #003E9E;
  --air-gold:   #D2AF39;
  --air-bronze: #B6862A;
}


/* ============================================================
   2. BASE BODY & BACKGROUND
   ============================================================ */
body,
main {
  background: #ffffff !important;
}

/* Non-hero sections should be white with dark text */
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) {
  background: #ffffff !important;
  color: #333333 !important;
}
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) h1,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) h2,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) h3,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) h4 {
  color: #11141A !important;
}
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) p,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) li,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) td,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) th,
body section:not([class*="Hero"]):not([class*="hero"]):not(.impact-gradient-bg):not(.calling-section-bg):not(.trainers-slider-section):not(.kys-section):not([class*="statsSection"]):not(:has(a[href="/careers/army/"])) span:not([class*="badge"]):not([class*="gradient"]):not([class*="overline"]):not([class*="program"]) {
  color: #444444 !important;
}
main > div.container {
  background-color: transparent !important;
}


/* ============================================================
   3. HEADER / NAVBAR
   ============================================================ */
header {
  background: rgba(51, 61, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999 !important;
}

header a {
  color: #EBEBEB !important;
}

/* Dropdown menus — dark text on light bg */
header [class*="dropdown"],
header [class*="Dropdown"],
header [class*="menu"],
header [class*="Menu"] {
  color: #11141A !important;
}
header [class*="dropdown"] a,
header [class*="Dropdown"] a,
header [class*="menu"] a,
header [class*="Menu"] a,
header [style*="absolute"],
header [style*="absolute"] a,
[class*="navItem"] > div,
[class*="navItem"] > ul,
[class*="navItem"] > div a,
[class*="navItem"] > ul a {
  color: #11141A !important;
}

/* Logo — white filter on dark header */
header img {
  filter: brightness(0) invert(1) !important;
}

/* Apply Now button */
header [class*="applyBtn"] {
  color: #FFFFFF !important;
}

/* Mobile hamburger — bright white stripes */
@media (max-width: 1024px) {
  .Navbar-module__cJzEcG__logoImg {
    max-width: 260px !important;
    height: auto !important;
  }
  .Navbar-module__cJzEcG__hamburger span {
    background-color: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7) !important;
  }
  .Navbar-module__cJzEcG__hamburger:hover span {
    background-color: var(--brand-orange, #F17720) !important;
  }
  /* Mobile nav links (open menu) — dark text */
  header [class*="navLinks"] a,
  header [class*="navLinks"] [class*="socialIcon"] {
    color: #11141A !important;
  }
  header [class*="navLinks"] a:hover,
  header [class*="navLinks"] [class*="socialIcon"]:hover {
    color: var(--brand-orange) !important;
  }
  header [class*="hamburger"][class*="open"] span {
    background: #11141A !important;
  }
}

@media (max-width: 480px) {
  .Navbar-module__cJzEcG__logoImg {
    max-width: 220px !important;
    height: auto !important;
  }
  .Navbar-module__cJzEcG__nav {
    padding: 10px 16px !important;
  }
}


/* ============================================================
   4. CAREERS PAGE — ARMY / NAVY / AIR FORCE SERVICE CARDS
   ============================================================ */
.custom-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.custom-card:hover {
  transform: translateY(-12px);
}

.card-img-placeholder {
  width: 100%;
  height: 240px;
  background: #000;
  overflow: hidden;
  position: relative;
}
.card-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.custom-card:hover .card-img-placeholder img {
  transform: scale(1.08);
}

.card-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-header {
  margin-bottom: 24px;
}
.card-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.motto {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.9;
  margin: 0;
  letter-spacing: 0.5px;
}
.desc {
  color: #a0aab5;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
}

/* Card colour variants */
.army-card { border-top: 4px solid var(--army-accent); }
.army-card:hover { box-shadow: 0 20px 40px rgba(161, 158, 129, 0.15); border-color: rgba(161, 158, 129, 0.5); }
.army-card .card-header h3 { color: var(--army-light); }
.army-card .motto { color: var(--army-accent); }

.navy-card { border-top: 4px solid var(--navy-accent); }
.navy-card:hover { box-shadow: 0 20px 40px rgba(169, 205, 228, 0.15); border-color: rgba(169, 205, 228, 0.5); }
.navy-card .card-header h3 { color: var(--navy-accent); }
.navy-card .motto { color: var(--navy-light); }

.air-card { border-top: 4px solid var(--air-gold); }
.air-card:hover { box-shadow: 0 20px 40px rgba(210, 175, 57, 0.15); border-color: rgba(210, 175, 57, 0.5); }
.air-card .card-header h3 { color: var(--air-gold); }
.air-card .motto { color: var(--air-bronze); }


/* ============================================================
   5. TRI-SERVICE CARDS (Army / Navy / Air Force gradient cards)
   ============================================================ */
.army-green-bg {
  background: linear-gradient(to bottom, #0d120a, #1a2318, #0a0e08) !important;
  position: relative;
  z-index: 1;
}
.army-green-bg::before {
  content: "" !important;
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.02)"/></svg>') !important;
  z-index: -1 !important;
}
.army-green-bg .section-header .overline { color: #A19E81 !important; }
.army-green-bg .section-header h2       { color: #FFFFFF !important; }
.army-green-bg .section-header p        { color: #DDE2E5 !important; }

.tri-card-modern {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  padding: 3px !important;
  height: 100% !important;
}
.tri-card-modern::before {
  content: "" !important;
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0 !important;
  opacity: 0.8 !important;
  transition: opacity 0.4s ease !important;
  border-radius: 20px !important;
}
.tri-card-modern:hover { transform: translateY(-12px) !important; }
.tri-card-modern:hover::before { opacity: 1 !important; }

.tri-inner {
  background: #11141A !important;
  border-radius: 17px !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}

.grad-tri-army::before  { background: linear-gradient(135deg, #4A5D23, #D4AF37, #2E1F11) !important; }
.grad-tri-army:hover    { box-shadow: 0 20px 40px rgba(74, 93, 35, 0.3) !important; }
.grad-tri-army h3       { background: linear-gradient(135deg, #A19E81, #D4AF37) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.grad-tri-army .motto   { color: #A19E81 !important; }

.grad-tri-navy::before  { background: linear-gradient(135deg, #0A192F, #00B4D8, #FFFFFF) !important; }
.grad-tri-navy:hover    { box-shadow: 0 20px 40px rgba(0, 180, 216, 0.3) !important; }
.grad-tri-navy h3       { background: linear-gradient(135deg, #80ABC6, #00B4D8) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.grad-tri-navy .motto   { color: #80ABC6 !important; }

.grad-tri-air::before   { background: linear-gradient(135deg, #87CEEB, #FFD700, #000080) !important; }
.grad-tri-air:hover     { box-shadow: 0 20px 40px rgba(135, 206, 235, 0.3) !important; }
.grad-tri-air h3        { background: linear-gradient(135deg, #D2AF39, #87CEEB) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.grad-tri-air .motto    { color: #D2AF39 !important; }

.desc { color: #a0aab5 !important; line-height: 1.7 !important; font-size: 1.05rem !important; margin: 0 !important; }


/* ============================================================
   6. OUR PROGRAMS SECTION — V2 CARDS (Homepage image cards)
   ============================================================ */
.prog-v2-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  align-items: stretch !important;
}
section:has(.prog-v2-grid) > .container {
  max-width: 1560px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}
section:has(.prog-v2-grid) .section-header .overline {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
section:has(.prog-v2-grid) .section-header h2 span {
  font-size: 44px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}
section:has(.prog-v2-grid) .section-header p {
  max-width: 620px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
@media (max-width: 1100px) { .prog-v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 680px)  { .prog-v2-grid { grid-template-columns: 1fr !important; } }

.prog-card-v2 {
  border: 2px solid #ddbe7f !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  height: auto !important;
  min-height: 460px !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  background: #1a1a1a !important;
  box-shadow: none !important;
}
.prog-card-v2:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18) !important;
}

/* Reference layout: image block above an opaque information panel. */
.prog-v2-img {
  position: relative !important;
  width: 100% !important;
  height: 170px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #222 !important;
  overflow: hidden !important;
  flex: 0 0 170px !important;
}
.prog-v2-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.6s ease !important;
}
.prog-card-v2:hover .prog-v2-img img { transform: scale(1.06) !important; }

.prog-v2-img::after { display: none !important; }

/* Content panel */
.prog-v2-content {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 16px 14px 0 14px !important;
  background: none !important;
  z-index: 2 !important;
}
.prog-card-v2.nda-v2 .prog-v2-content { background: #1b2417 !important; }
.prog-card-v2.cds-v2 .prog-v2-content { background: #b6000b !important; }
.prog-card-v2.afcat-v2 .prog-v2-content { background: #344866 !important; }
.prog-card-v2.ssb-v2 .prog-v2-content { background: #063a6c !important; }
.prog-card-v2.agniveer-v2 .prog-v2-content { background: #68736d !important; }
.prog-v2-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}
.prog-v2-title              { color: #fff !important; line-height: 1 !important; }
.prog-v2-title strong       { font-family: Roboto, sans-serif !important; font-size: 2rem !important; font-weight: 900 !important; display: block !important; color: #fff !important; letter-spacing: 1px !important; margin-bottom: 0 !important; }
.prog-card-v2.afcat-v2    .prog-v2-title strong { font-size: 1.7rem !important; }
.prog-card-v2.agniveer-v2 .prog-v2-title strong { font-size: 1.3rem !important; }
.prog-v2-title span         { font-family: Roboto, sans-serif !important; font-size: 1rem !important; font-weight: 700 !important; color: #fff !important; display: block !important; margin-top: 2px !important; }

.prog-v2-badge-group { display: flex !important; flex-direction: column !important; align-items: flex-end !important; gap: 4px !important; min-width: 80px !important; padding-top: 0 !important; }
.prog-v2-badge { font-family: Roboto, sans-serif !important; font-size: 0.65rem !important; font-weight: 700 !important; padding: 3px 10px !important; border-radius: 20px !important; white-space: nowrap !important; letter-spacing: 0.3px !important; text-transform: uppercase !important; }
.prog-card-v2.nda-v2      .prog-v2-badge { background: rgba(255,255,255,0.18) !important; border: 1px solid rgba(255,255,255,0.4) !important; color: #fff !important; }
.prog-card-v2.cds-v2      .prog-v2-badge { background: rgba(255,215,0,0.2) !important; border: 1px solid rgba(255,215,0,0.6) !important; color: #ffd700 !important; }
.prog-card-v2.afcat-v2    .prog-v2-badge { background: rgba(200,220,255,0.18) !important; border: 1px solid rgba(200,220,255,0.5) !important; color: #c7dcff !important; }
.prog-card-v2.ssb-v2      .prog-v2-badge { background: rgba(200,220,255,0.18) !important; border: 1px solid rgba(200,220,255,0.5) !important; color: #c7dcff !important; }
.prog-card-v2.agniveer-v2 .prog-v2-badge { background: rgba(255,200,100,0.18) !important; border: 1px solid rgba(255,200,100,0.5) !important; color: #fde68a !important; }

.prog-v2-duration { font-family: Roboto, sans-serif !important; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.8px !important; text-transform: uppercase !important; margin-bottom: 3px !important; display: block !important; }
.prog-card-v2.nda-v2      .prog-v2-duration { color: #c8d6b0 !important; }
.prog-card-v2.cds-v2      .prog-v2-duration { color: #e8c8c8 !important; }
.prog-card-v2.afcat-v2    .prog-v2-duration { color: #b0c8e8 !important; }
.prog-card-v2.ssb-v2      .prog-v2-duration { color: #b0c8e8 !important; }
.prog-card-v2.agniveer-v2 .prog-v2-duration { color: #d4b87a !important; }

.prog-v2-desc { font-family: Roboto, sans-serif !important; font-size: 13px !important; line-height: 1.45 !important; color: #ffffff !important; margin: 10px 0 0 !important; flex: 1 1 auto !important; }

.prog-v2-footer { margin-top: auto !important; padding: 12px 16px 14px !important; display: flex !important; align-items: center !important; background: #111a10 !important; }
.prog-card-v2.cds-v2 .prog-v2-footer { background: #760008 !important; }
.prog-card-v2.afcat-v2 .prog-v2-footer { background: #1b293d !important; }
.prog-card-v2.ssb-v2 .prog-v2-footer { background: #03233f !important; }
.prog-card-v2.agniveer-v2 .prog-v2-footer { background: #4d5651 !important; }
.prog-v2-footer span { font-family: Roboto, sans-serif !important; font-size: 0.82rem !important; font-weight: 700 !important; color: #f5f0e6 !important; }

/* Hydrated homepage program cards use the page-module CSS classes. */
.page-module___8aEwW__programsSection {
  background: #ffffff !important;
  color: #333d2a !important;
}
.page-module___8aEwW__programsSection > .container,
section:has(.page-module___8aEwW__programGrid) > .container {
  max-width: 1640px !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
.page-module___8aEwW__programsSection .section-header {
  text-align: center !important;
  margin-bottom: 44px !important;
}
.page-module___8aEwW__programsSection .section-header .overline {
  color: #333d2a !important;
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
.page-module___8aEwW__programsSection .section-header h2 {
  color: #333d2a !important;
  font-size: 44px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}
.page-module___8aEwW__programsSection .section-header h2 span {
  color: #758467 !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
.page-module___8aEwW__programsSection .section-header p {
  color: #333d2a !important;
  max-width: 620px !important;
  margin: 16px auto 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
.page-module___8aEwW__programGrid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}
.page-module___8aEwW__programCard {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 460px !important;
  padding: 170px 0 0 !important;
  overflow: hidden !important;
  border: 2px solid #ddbe7f !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  position: relative !important;
  box-shadow: none !important;
}
.page-module___8aEwW__programCard::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  height: 170px !important;
  background-position: center !important;
  background-size: cover !important;
  z-index: 0 !important;
}
.page-module___8aEwW__programCard:nth-child(1)::before { background-image: url('/images/NDA.jpg') !important; }
.page-module___8aEwW__programCard:nth-child(2)::before { background-image: url('/images/CDS.jpg') !important; }
.page-module___8aEwW__programCard:nth-child(3)::before { background-image: url('/images/AFCAT.jpg?v=2') !important; }
.page-module___8aEwW__programCard:nth-child(4)::before { background-image: url('/images/SSB.jpg?v=2') !important; }
.page-module___8aEwW__programCard:nth-child(5)::before { background-image: url('/images/AGNIVEER.jpg') !important; }
.page-module___8aEwW__programCard:nth-child(1) { background: #1b2417 !important; }
.page-module___8aEwW__programCard:nth-child(2) { background: #b6000b !important; }
.page-module___8aEwW__programCard:nth-child(3) { background: #344866 !important; }
.page-module___8aEwW__programCard:nth-child(4) { background: #063a6c !important; }
.page-module___8aEwW__programCard:nth-child(5) { background: #68736d !important; }
.page-module___8aEwW__programCard[href="/programs/nda/"]::before { background-image: url('/images/NDA.jpg') !important; }
.page-module___8aEwW__programCard[href="/programs/cds/"]::before { background-image: url('/images/CDS.jpg') !important; }
.page-module___8aEwW__programCard[href="/programs/afcat/"]::before { background-image: url('/images/AFCAT.jpg?v=2') !important; }
.page-module___8aEwW__programCard[href="/programs/ssb/"]::before { background-image: url('/images/SSB.jpg?v=2') !important; }
.program-page-banner {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #1c2918 !important;
  line-height: 0 !important;
}
.program-page-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: 280px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
.page-module___8aEwW__programCard .program-face {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 2 !important;
  display: block !important;
}
.page-module___8aEwW__programCard[href="/programs/agniveer/"]::before { background-image: url('/images/AGNIVEER.jpg') !important; }
.page-module___8aEwW__programCard[href="/programs/nda/"] { background: #1b2417 !important; }
.page-module___8aEwW__programCard[href="/programs/cds/"] { background: #b6000b !important; }
.page-module___8aEwW__programCard[href="/programs/afcat/"] { background: #344866 !important; }
.page-module___8aEwW__programCard[href="/programs/ssb/"] { background: #063a6c !important; }
.page-module___8aEwW__programCard[href="/programs/agniveer/"] { background: #68736d !important; }
.page-module___8aEwW__programCard .page-module___8aEwW__programTop,
.page-module___8aEwW__programCard .page-module___8aEwW__programTitle,
.page-module___8aEwW__programCard .page-module___8aEwW__programDesc {
  position: relative !important;
  z-index: 1 !important;
}
body section .page-module___8aEwW__programCard h3.page-module___8aEwW__programTitle,
body section .page-module___8aEwW__programCard p.page-module___8aEwW__programDesc,
body section .page-module___8aEwW__programCard span.page-module___8aEwW__programDuration {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.page-module___8aEwW__programsSection .page-module___8aEwW__programCard .page-module___8aEwW__programTitle,
.page-module___8aEwW__programsSection .page-module___8aEwW__programCard .page-module___8aEwW__programDesc,
.page-module___8aEwW__programsSection .page-module___8aEwW__programCard .page-module___8aEwW__programDuration {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
section.section-warm .page-module___8aEwW__programCard h3.page-module___8aEwW__programTitle,
section.section-warm .page-module___8aEwW__programCard p.page-module___8aEwW__programDesc,
section.section-warm .page-module___8aEwW__programCard span.page-module___8aEwW__programDuration {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.page-module___8aEwW__programCard .page-module___8aEwW__programTop {
  padding: 16px 14px 0 !important;
}
.page-module___8aEwW__programCard .page-module___8aEwW__programTitle {
  padding: 0 14px !important;
  margin: 8px 0 0 !important;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1 !important;
}
.page-module___8aEwW__programCard .page-module___8aEwW__programDesc {
  padding: 0 16px !important;
  margin: 10px 0 8px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  flex: 1 1 auto !important;
}
.page-module___8aEwW__programCard .page-module___8aEwW__programCta {
  margin-top: auto !important;
  padding: 12px 16px 14px !important;
  color: #f5f0e6 !important;
  -webkit-text-fill-color: #f5f0e6 !important;
  background: rgba(0, 0, 0, 0.28) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
@media (max-width: 1100px) {
  .page-module___8aEwW__programGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 680px) {
  .page-module___8aEwW__programsSection > .container { padding: 0 20px !important; }
  .page-module___8aEwW__programGrid { grid-template-columns: 1fr !important; }
}

.prog-v2-tri-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
}
@media (max-width: 1024px) { .prog-v2-tri-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important; } }


/* ============================================================
   7. OUR IMPACT SECTION
   ============================================================ */
.impact-gradient-bg,
body section[class*="statsSection"] {
  background: linear-gradient(135deg, #FFA530 0%, #F17720 55%, #E05A00 100%) !important;
  color: #FFFFFF !important;
}
.impact-gradient-bg h2,
.impact-gradient-bg h3,
.impact-gradient-bg p,
.impact-gradient-bg span,
.impact-gradient-bg div,
body section[class*="statsSection"] .overline,
body section[class*="statsSection"] h2,
body section[class*="statsSection"] [class*="statNumber"],
body section[class*="statsSection"] [class*="statLabel"] {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}


/* ============================================================
   8. THE CALLING SECTION
   ============================================================ */
.calling-section-bg {
  background-color: #eae6e0 !important;
  padding: 100px 0 !important;
}
.calling-section-bg .container {
  max-width: 1700px !important;
  padding: 0 40px !important;
}
.calling-section-bg h2 {
  font-size: 64px !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
  color: #4a5841 !important;
  font-family: 'Roboto', sans-serif !important;
}
.calling-section-bg span.overline        { font-size: 24px !important; color: #4a5841 !important; }
.calling-section-bg p.desc,
.calling-section-bg .section-header p   { font-size: 24px !important; max-width: 900px !important; margin: 0 auto !important; line-height: 1.5 !important; color: #4a5841 !important; font-family: 'Roboto', sans-serif !important; }
.calling-section-bg .text-gradient-cyan,
.calling-section-bg .text-gradient-gold { background: none !important; -webkit-text-fill-color: #758467 !important; color: #758467 !important; }

.calling-grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: stretch;
}
@media (max-width: 1500px) { .calling-grid-container { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (max-width: 768px)  { .calling-grid-container { grid-template-columns: repeat(1, 1fr); } }

.calling-card-ref {
  border-radius: 20px !important;
  padding: 40px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  transition: transform 0.3s ease !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.calling-card-ref:hover { transform: translateY(-12px) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important; }
.calling-card-top-bar { position: absolute !important; top: 0 !important; left: 50% !important; transform: translateX(-50%) !important; width: 60px !important; height: 8px !important; border-bottom-left-radius: 8px !important; border-bottom-right-radius: 8px !important; }
.calling-icon-ref { width: 80px; height: 80px; margin-bottom: 25px; }
.calling-card-ref h3 { font-family: 'Roboto', sans-serif !important; font-size: 26px !important; font-weight: 800 !important; color: #eae6e0 !important; margin-bottom: 16px !important; line-height: 1.2 !important; }
.calling-card-ref h3 small { font-size: 18px !important; font-weight: 400 !important; }
.calling-card-ref p  { font-family: 'Roboto', sans-serif !important; font-size: 16px !important; color: #eae6e0 !important; line-height: 1.5 !important; margin: 0 !important; opacity: 0.9 !important; }

/* Calling card colour variants */
.cc-1 { background-color: #2f352b !important; }  .cc-1 .calling-card-top-bar { background-color: #a9af8b !important; }
.cc-2 { background-color: #4a5841 !important; }  .cc-2 .calling-card-top-bar { background-color: #929a68 !important; }
.cc-3 { background-color: #758467 !important; }  .cc-3 .calling-card-top-bar { background-color: #adb9a1 !important; }
.cc-4 { background-color: #adb9a1 !important; }  .cc-4 .calling-card-top-bar { background-color: #758467 !important; }
.cc-4 h3, .cc-4 p { color: #4a5841 !important; } .cc-4 .calling-icon-ref path { fill: #4a5841 !important; }
.cc-5 { background-color: #929a68 !important; }  .cc-5 .calling-card-top-bar { background-color: #4a5841 !important; }
.cc-5 h3, .cc-5 p { color: #eae6e0 !important; }
.cc-6 { background-color: #a9af8b !important; }  .cc-6 .calling-card-top-bar { background-color: #2f352b !important; }
.cc-6 h3, .cc-6 p { color: #eae6e0 !important; }


/* ============================================================
   9. TIMELINE & TESTIMONIALS TEXT FIX
   ============================================================ */
[class*="timelineContent"] h4 { color: #0a0b0e !important; font-weight: 800 !important; }
[class*="timelineContent"] p  { color: #333333 !important; }

[class*="testimonialCard"]    { color: #11141A !important; }
[class*="testimonialQuote"]   { color: #11141A !important; font-weight: 600 !important; }
[class*="testimonialAuthor"] h4 { color: #000000 !important; }
[class*="testimonialAuthor"] p  { color: #333333 !important; }


/* ============================================================
   10. CUSTOM IMAGE SLIDER (Campus / Gallery section)
   ============================================================ */
.custom-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.custom-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 5444 / 669;
  min-height: 0;
}
.custom-slider-track {
  display: flex;
  width: 600%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.custom-slide {
  width: 16.6667%;
  height: 100%;
  flex-shrink: 0;
}
.custom-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.custom-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.custom-slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}
.custom-slider-dot.active {
  background: #D4AF37;
  transform: scale(1.3);
  border: 2px solid rgba(255,255,255,0.2);
}


/* ============================================================
   11. DIRECTOR BANNER (Homepage — Maj Gen section)
   ============================================================ */
.director-banner-container {
  width: 100% !important;
  background: transparent !important;
  padding: 0 !important;
  z-index: 99 !important;
  position: relative !important;
  margin-top: -130px !important;
  margin-bottom: 40px !important;
}
.director-banner-card {
  display: block !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 45px 60px 20px 60px !important;
  background: linear-gradient(135deg, #ffffff, #f4f6f0) !important;
  border: 1px solid rgba(74, 93, 35, 0.18) !important;
  border-radius: 32px !important;
  text-decoration: none !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
}
.director-banner-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 25px 70px rgba(74, 93, 35, 0.22) !important;
  border-color: rgba(74, 93, 35, 0.35) !important;
}
.director-banner-content {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 60px !important;
  align-items: center !important;
}
@media (max-width: 1200px) {
  .director-banner-container { margin-top: -50px !important; margin-bottom: 20px !important; }
  .director-banner-content   { grid-template-columns: 1fr !important; gap: 40px !important; }
  .director-banner-card      { padding: 60px 30px 20px 30px !important; margin: 0 20px !important; }
}
.director-photo-col {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
}
@media (max-width: 768px) { .director-photo-col { flex-direction: column !important; text-align: center !important; gap: 20px !important; } }

.director-photo-frame {
  width: 250px !important;
  height: 250px !important;
  border-radius: 36px !important;
  border: 6px solid #2B411C !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #f0f0f0 !important;
  box-shadow: 0 12px 30px rgba(43, 65, 28, 0.2) !important;
}
.director-photo-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.director-banner-card:hover .director-photo-frame img { transform: scale(1.08) !important; }

.director-title-group h3 {
  margin: 8px 0 !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: #2B411C !important;
  letter-spacing: -0.8px !important;
  line-height: 1.2 !important;
}
@media (max-width: 768px) { .director-title-group h3 { font-size: 1.8rem !important; } }

.director-badge {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  background: #2B411C !important;
  padding: 6px 14px !important;
  border-radius: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-block !important;
}
.vsm-tag { margin: 0 !important; font-size: 0.95rem !important; color: #758467 !important; font-weight: 700 !important; }

.director-info-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  border-left: 3px solid rgba(74, 93, 35, 0.18) !important;
  padding-left: 60px !important;
}
@media (max-width: 1200px) {
  .director-info-col { border-left: none !important; padding-left: 0 !important; padding-top: 30px !important; border-top: 1px solid rgba(74, 93, 35, 0.15) !important; }
}
.director-quote { margin: 0 0 20px 0 !important; font-size: 1.15rem !important; line-height: 1.6 !important; color: #444d3c !important; font-style: italic !important; font-weight: 500 !important; }
.director-link  { font-size: 1rem !important; font-weight: 800 !important; color: #2B411C !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; display: inline-flex !important; align-items: center !important; transition: color 0.3s !important; }
.director-banner-card:hover .director-link { color: #758467 !important; }


/* ============================================================
   12. TRAINERS MARQUEE SECTION (Homepage — "Our Finest Mentors")
   ============================================================ */
.trainers-slider-section {
  background: #2b411c !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.trainers-slider-section h2           { color: #ffffff !important; }
.trainers-slider-section span.overline { color: #cbd5e1 !important; }
.trainers-slider-section p            { color: #e2e8f0 !important; }
.trainers-slider-section .btn-secondary {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}
.trainers-slider-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* Trainer slide cards */
.trainer-slide-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
.trainer-slide-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15) !important;
}
.trainer-slide-card h4   { color: #ffffff !important; }
.trainer-slide-card p    { color: #ffa600 !important; font-weight: 600 !important; }
.trainer-slide-card div  { border-color: rgba(255, 255, 255, 0.2) !important; }

/* Marquee direction: left-to-right */
@keyframes marqueeLeftToRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.trainers-marquee-track {
  animation: marqueeLeftToRight 45s linear infinite !important;
}
.trainers-marquee-wrapper:hover .trainers-marquee-track {
  animation-play-state: paused !important;
}


/* ============================================================
   13. TRAINERS PAGE — Fix FadeInView invisible content bug

   ROOT CAUSE: React's FadeInView component (r.default in 361aef405029301c.js)
   wraps EVERY trainer profile card and section with opacity:0 + translateY(60px)
   on initial mount. It relies on IntersectionObserver to animate them in.
   On client-side navigation (nav link click), elements already in viewport
   don't trigger the observer quickly enough → content stays invisible.

   FIX APPROACH: Do NOT use [style*="opacity:0"] — React outputs
   "opacity: 0" (with space) so attribute substring matching is unreliable.
   Instead, directly target ALL children of FadeInView containers inside
   trainer sections. This works regardless of inline style format.
   ============================================================ */

/* Hero section — override FadeInView wrapper and all its content */
.trainers-module__oljqPW__hero .container > div {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Trust stat cards — each card is wrapped in FadeInView */
.trainers-module__oljqPW__trustGrid > div {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Profiles section — heading wrapper + EVERY profile card wrapper */
.trainers-module__oljqPW__profilesSection .container > div {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Profile card itself and all content inside it */
.trainers-module__oljqPW__profileCard,
.trainers-module__oljqPW__profileBio,
.trainers-module__oljqPW__profileBio p,
.trainers-module__oljqPW__profileHighlights,
.trainers-module__oljqPW__profileAdvantage,
.trainers-module__oljqPW__profileHeader {
  opacity: 1 !important;
  transform: none !important;
}

/* CTA section at bottom */
.trainers-module__oljqPW__ctaSection .container > div {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Know Your Service */
.kys-section {
  background: #ffffff !important;
  padding: 88px 24px 96px !important;
}
.kys-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.kys-header {
  text-align: center;
  margin-bottom: 42px;
}
.kys-kicker {
  display: block;
  color: #2c3326;
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.kys-header h2 {
  margin: 0 0 18px;
  font-family: Roboto, sans-serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.5px;
}
.kys-line-dark,
.kys-line-olive {
  display: block;
}
.kys-line-dark { color: #2f3828; }
.kys-line-olive { color: #73825a; }
.kys-header p {
  max-width: 760px;
  margin: 0 auto;
  color: #2c3326;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.kys-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.kys-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 8px 8px 0;
  border: 1.5px solid #d7c48a;
  border-radius: 18px;
  text-decoration: none;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kys-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.kys-photo {
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 210px;
}
.kys-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.kys-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin: 10px -8px 0;
  padding: 18px 18px 16px;
  color: #fff;
}
.kys-body h3 {
  margin: 0 0 10px;
  font-family: Roboto, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
  color: #fff !important;
}
.kys-motto {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}
.kys-body p {
  margin: 0 0 16px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #fff !important;
}
.kys-more {
  margin-top: auto;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
}
.kys-army { background: #1c2918; }
.kys-army .kys-body { background: #1c2918; }
.kys-army .kys-motto { background: #8d9a86; color: #fff; }
.kys-navy { background: #0b3274; }
.kys-navy .kys-body { background: #0b3274; }
.kys-navy .kys-body h3 { color: #e2c56a !important; }
.kys-navy .kys-motto { background: #1d6fbe; color: #fff; }
.kys-air { background: #152033; }
.kys-air .kys-body { background: #152033; }
.kys-air .kys-motto { background: #d7dbe2; color: #1a2744; }
@media (max-width: 980px) {
  .kys-header h2 { font-size: 42px; }
  .kys-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .kys-card { min-height: 0; }
}

/* All Careers page */
body:has(a[href="/careers/army/"]) {
  background: #f6f3ec !important;
}
section:has(a[href="/careers/army/"]) {
  background: #f6f3ec !important;
  padding: 148px 0 88px !important;
  color: #243221 !important;
}
section:has(a[href="/careers/army/"]) [style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}
section:has(a[href="/careers/army/"]) .section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}
section:has(a[href="/careers/army/"]) .overline {
  color: #8a5a12 !important;
  letter-spacing: 0.22em !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
section:has(a[href="/careers/army/"]) h1 {
  color: #1c2918 !important;
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: 1.05 !important;
}
section:has(a[href="/careers/army/"]) h1 .text-gradient-gold {
  background: none !important;
  color: #f3c56b !important;
  -webkit-text-fill-color: #f3c56b !important;
}
section:has(a[href="/careers/army/"]) .section-header p {
  color: #3d4a32 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}
section:has(a[href="/careers/army/"]) .grid-2 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
section:has(a[href="/careers/army/"]) .card {
  position: relative !important;
  overflow: hidden !important;
  min-height: 0 !important;
  border: 1.5px solid #d7c48a !important;
  border-radius: 18px !important;
  padding: 0 16px 18px !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1) !important;
  color: #f7f3ea !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
}
section:has(a[href="/careers/army/"]) .card::before {
  content: "" !important;
  display: block !important;
  width: calc(100% + 32px) !important;
  margin: 8px -16px 16px !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  border-radius: 12px !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}
section:has(a[href="/careers/army/"]) .card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16) !important;
}
section:has(a[href="/careers/army/"]) .card span[style*="2rem"] {
  display: none !important;
}
section:has(a[href="/careers/army/"]) .card h2,
section:has(a[href="/careers/army/"]) .card p,
section:has(a[href="/careers/army/"]) .card span {
  color: #f7f3ea !important;
}
section:has(a[href="/careers/army/"]) a[href="/careers/army/"] .card { background-color: #1c2918 !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/army/"] .card::before { background-image: url("/images/Indian%20Army.jpg") !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/navy/"] .card { background-color: #0b3274 !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/navy/"] .card::before { background-image: url("/images/IndianNavy.jpg") !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/navy/"] .card h2 { color: #e2c56a !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/air-force/"] .card { background-color: #152033 !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/air-force/"] .card::before { background-image: url("/images/IndianAirforce.jpg") !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/air-force/"] .card h2 { color: #e2c56a !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/capf/"] .card { background-color: #7a2e12 !important; }
section:has(a[href="/careers/army/"]) a[href="/careers/capf/"] .card::before { background-image: url("/images/CRPF.jpg") !important; }
section:has(a[href="/careers/army/"]) .card [class*="badge"] {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
}
section:has(a[href="/careers/army/"]) .card p[style*="italic"] {
  color: #f3c56b !important;
  font-size: 14px !important;
}
body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt {
  background: linear-gradient(135deg, #f17720, #e05a00) !important;
  color: #fff !important;
  padding: 72px 0 !important;
}
body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt .overline,
body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt h2,
body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt p,
body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt span {
  color: #fff8ef !important;
  -webkit-text-fill-color: #fff8ef !important;
}
body:has(a[href="/careers/army/"]) section.section-alt .btn {
  background: #1c2918 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
}
@media (max-width: 1100px) {
  section:has(a[href="/careers/army/"]) .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  section:has(a[href="/careers/army/"]) .grid-2 { grid-template-columns: 1fr !important; }
}

[class*="powerLattice"] {
  display: none !important;
}

/* Fees page structure table */
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt div[style*="overflow-x:auto"] {
  overflow-x: auto !important;
  margin: 0 auto 28px !important;
  border: 1px solid #d7c48a !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(28, 41, 24, 0.08) !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] {
  width: 100% !important;
  min-width: 760px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] th {
  background: #1c2918 !important;
  color: #f3c56b !important;
  -webkit-text-fill-color: #f3c56b !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 16px 18px !important;
  border: 0 !important;
  text-align: left !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] th:nth-child(1) { width: 22% !important; }
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] th:nth-child(2) { width: 16% !important; text-align: center !important; }
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] th:nth-child(3) { width: 40% !important; }
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] th:nth-child(4) { width: 22% !important; text-align: right !important; }
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] td {
  padding: 16px 18px !important;
  border-bottom: 1px solid #efe6d2 !important;
  vertical-align: middle !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] tbody tr:nth-child(odd) td {
  background: #f8f4ea !important;
  color: #3d4a32 !important;
  -webkit-text-fill-color: #3d4a32 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] tbody tr:nth-child(even) td {
  background: #ffffff !important;
  color: #3d4a32 !important;
  -webkit-text-fill-color: #3d4a32 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] td:first-child {
  color: #1c2918 !important;
  -webkit-text-fill-color: #1c2918 !important;
  font-weight: 700 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] td:nth-child(2) {
  text-align: center !important;
  font-weight: 600 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] tbody tr td:nth-child(1) {
  color: #1c2918 !important;
  -webkit-text-fill-color: #1c2918 !important;
  font-weight: 700 !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] tbody tr td:nth-child(4) {
  text-align: right !important;
  color: #c45a12 !important;
  -webkit-text-fill-color: #c45a12 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}
body section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt table[style*="min-width"] tbody tr:last-child td {
  border-bottom: 0 !important;
}

body:has(a[href="/careers/army/"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt:has(table) {
  background: #1c2918 !important;
  background-image: none !important;
  color: #f6f3ec !important;
}
body:has(table[style*="min-width"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt h2 {
  color: #f3c56b !important;
  -webkit-text-fill-color: #f3c56b !important;
}

body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
body:has(table[style*="min-width"]) .grid-3 > div {
  opacity: 1 !important;
  transform: none !important;
}
body:has(table[style*="min-width"]) .grid-3 > div > .card {
  border: 0 !important;
  border-radius: 20px !important;
  padding: 42px 20px 28px !important;
  text-align: center !important;
  position: relative !important;
  min-height: 240px !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.3s ease !important;
}
body:has(table[style*="min-width"]) .grid-3 > div > .card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16) !important;
}
body:has(table[style*="min-width"]) .grid-3 > div > .card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60px !important;
  height: 8px !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(1) > .card { background: #2f352b !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(1) > .card::before { background: #a9af8b !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(2) > .card { background: #4a5841 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(2) > .card::before { background: #929a68 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(3) > .card { background: #758467 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(3) > .card::before { background: #adb9a1 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(4) > .card { background: #adb9a1 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(4) > .card::before { background: #758467 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(5) > .card { background: #929a68 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(5) > .card::before { background: #4a5841 !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(6) > .card { background: #a9af8b !important; }
body:has(table[style*="min-width"]) .grid-3 > div:nth-child(6) > .card::before { background: #2f352b !important; }
body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 .card h3,
body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 .card p {
  color: #eae6e0 !important;
  -webkit-text-fill-color: #eae6e0 !important;
}
body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 > div:nth-child(4) > .card h3,
body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 > div:nth-child(4) > .card p {
  color: #2f352b !important;
  -webkit-text-fill-color: #2f352b !important;
}
@media (max-width: 900px) {
  body:has(table[style*="min-width"]) .grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3.grid-3 {
    grid-template-columns: 1fr !important;
  }
}

body:has(table[style*="min-width"]) section.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt.section-alt .grid-4 .card p {
  color: #1c2918 !important;
  -webkit-text-fill-color: #1c2918 !important;
}