/* ===== Principal page styles (scoped to .pr-page so other pages are not affected) ===== */
.pr-page {
  --pr-navy: #0b2a5b;
  --pr-navy-dk: #071c40;
  --pr-gold: #e3ae52;
  --pr-red: #c8102e
}

/* ---- Top banner with background image ---- */
.pr-page .inner-banner {
  position: relative;
  margin: 0;
  padding: 50px 0 100px;
  text-align: center;
  color: #fff;
  background: #0a2350 url('../img/bg-banner.jpg') center/cover no-repeat
}

.pr-page .inner-title h3 {
  margin: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  color: var(--pr-gold);
  font-size: clamp(32px, 7vw, 32px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase
}

.pr-page .inner-title h3 span {
  display: block;
  color: #fff;
  font-weight: 500;
  letter-spacing: .14em;
  font-size: clamp(18px, 3.2vw, 20px);
  margin-bottom: 2px
}

.pr-star-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px
}

.pr-star-line b {
  display: block;
  width: clamp(50px, 12vw, 170px);
  height: 1px;
  background: rgba(255, 255, 255, .55)
}

.pr-star-line i {
  font-style: normal;
  color: #fff;
  font-size: 22px;
  line-height: 1
}

.pr-flag {
  display: flex;
  justify-content: center;
  margin-top: 14px
}

.pr-flag b {
  display: block;
  height: 4px;
  width: 66px
}

.pr-flag b:nth-child(1) {
  background: var(--pr-gold)
}

.pr-flag b:nth-child(2) {
  background: #fff
}

.pr-flag b:nth-child(3) {
  background: var(--pr-red)
}

/* ---- Section / card ---- */
.pr-page .about-us {
  padding: 0 40px 70px;
  background: linear-gradient(#fff, #eef3fa);
  font-family: 'Inter', Arial, sans-serif;
  margin-top: -50px;
}

.pr-page .about-us .container {
  max-width: 1260px;
  margin-top: -105px;
  position: relative;
  z-index: 2
}

.pr-card {
  position: relative;
  /* overflow: hidden; */
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f6f9fd);
  padding: 38px 44px 40px 52px;
  box-shadow: 0 14px 40px rgba(11, 42, 91, .16)
}

.pr-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 60px;
  width: 170px;
  height: 200px;
  opacity: .07;
  pointer-events: none;
  background: no-repeat center/contain url("../img/favi.png")
}

/* ---- Photo ---- */
.pr-page .member-img {
  position: relative;
  padding: 0 0 42px;
  margin: 0 0 0 12px;
  overflow: visible;
  background: none
}

.pr-page .member-img::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 34px;
  width: 34px;
  height: 78%;
  background: var(--pr-navy);
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%)
}

.pr-frame {
  position: relative;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(135deg, #f4cf86, #c98f2e 55%, #f4cf86)
}

.pr-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 358 / 470;
  object-fit: cover;
  border-radius: 19px;
}

.pr-badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 84%;
  text-align: center;
  background: linear-gradient(180deg, var(--pr-navy), var(--pr-navy-dk));
  color: #fff;
  border: 2px solid var(--pr-gold);
  border-radius: 20px;
  padding: 12px 10px 13px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25)
}

.pr-badge b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}

.pr-badge em {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-style: normal;
  color: var(--pr-gold);
  font-weight: 600;
  font-size: 18px
}

.pr-badge em::before,
.pr-badge em::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--pr-gold)
}

/* ---- Text ---- */
.pr-page .about-text {
  position: relative;
  z-index: 1;
  color: var(--pr-navy-dk);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0
}

.pr-page .about-text p {
  margin: 0 0 15px;
  text-align: justify
}

.pr-page .about-text strong {
  font-weight: 700
}

.pr-page .about-text .pr-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--pr-navy);
  font-size: 18px;
  margin: 18px 0 22px;
  text-align: left
}

.pr-page .about-text .pr-sign {
  margin: 0;
  text-align: left
}

/* ---- Responsive ---- */
@media (max-width:991px) {
  .pr-card {
    padding: 34px 28px 34px 40px
  }
}

@media (max-width:767px) {
  .pr-page .inner-banner {
    padding: 10px 0 140px;

  }

  .inner-banner .inner-title h3 {
    font-size: 20px;
    font-weight: 600;
    position: relative;
  }

  .pr-page .about-us {
    padding: 0;
    background: linear-gradient(#fff, #eef3fa);
    font-family: 'Inter', Arial, sans-serif;
    margin-top: 0;
  }

  .pr-card {
    padding: 0;
    box-shadow: 0 14px 40px rgb(255 255 255 / 0%);
  }

  .pr-card::after {
    display: none
  }

  .pr-page .member-img {
    max-width: 340px;
    margin: 0 auto 24px
  }

  .pr-page .member-img::before {
    left: -14px;
    width: 22px
  }

  .pr-page .about-text {
    font-size: 15px;
    padding: 40px 0;
  }

  .pr-page .about-text p,
  .pr-page .about-text .pr-quote {
    text-align: justify
  }
}




/* ========================================== Why Chanakya Defence College page ======================================= */
.pr-why .pr-sec {
  margin-bottom: 46px
}

.pr-why .pr-sec:last-child {
  margin-bottom: 0
}

.pr-page .pr-why .pr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #d41e23;
  margin-bottom: 6px
}

.pr-page .pr-why .pr-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #d41e23
}

.pr-page .pr-why .head-title {
  margin: 0 0 10px;
  padding-bottom: 14px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  text-transform: none;
  letter-spacing: .01em
}

.pr-page .pr-why .head-title em {
  font-style: normal;
  color: var(--pr-gold)
}

/* lead paragraph with drop cap */
.pr-page .pr-why .pr-lead {
  font-size: 18px;
  line-height: 1.85
}

/* 

/* exam chips */
.pr-why .pr-chips {
  list-style: none;
  margin: 6px 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.pr-why .pr-chips li {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--pr-navy);
  background: #fff;
  border: 1.5px solid var(--pr-gold);
  box-shadow: 0 3px 10px rgba(11, 42, 91, .08)
}

/* recipe-for-success callout */
.pr-page .pr-why blockquote.pr-recipe {
  position: relative;
  margin: 0;
  padding: 30px 34px 30px 84px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d2d63, #071c40);
  color: #fff;
  border: 0;
  border-left: 6px solid var(--pr-gold);
  box-shadow: 0 12px 28px rgba(7, 28, 64, .25)
}

.pr-why .pr-recipe::before {
  content: "\201C";
  position: absolute;
  left: 24px;
  top: 6px;
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1;
  color: var(--pr-gold)
}

.pr-page .pr-why .pr-recipe p {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.8;
  text-align: left
}

.pr-page .pr-why .pr-recipe b {
  color: var(--pr-gold)
}

/* features – numbered cards */
.pr-page .pr-why .pr-tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 18px;
  border-radius: 6px;
  background: var(--pr-navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.pr-page .pr-why ul.pr-feats {
  counter-reset: f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none
}

.pr-page .pr-why ul.pr-feats li {
  counter-increment: f;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2eaf5;
  border-left: 0;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(11, 42, 91, .08);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--pr-navy-dk);
  line-height: 1.45;
  transition: transform .2s ease, box-shadow .2s ease
}

.pr-page .pr-why ul.pr-feats li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(11, 42, 91, .14)
}

.pr-page .pr-why ul.pr-feats li::before {
  content: counter(f);
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--pr-navy-dk);
  background: linear-gradient(135deg, #f6d48f, var(--pr-gold))
}

/* social responsibility */
.pr-why .pr-social {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4fc, #fff);
  border: 1px solid #dce7f6
}

.pr-why .pr-ico {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pr-navy);
  box-shadow: 0 0 0 6px rgba(227, 174, 82, .35)
}

.pr-why .pr-ico svg {
  width: 42px;
  height: 42px
}

.pr-page .pr-why .pr-social p {
  margin: 0
}

/* our aim banner */
.pr-why .pr-aim {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 44px 34px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(rgba(7, 28, 64, .78), rgba(7, 28, 64, .9)), #0a2350 url('../img/principal-banner.jpg') center/cover no-repeat;
  box-shadow: 0 14px 30px rgba(7, 28, 64, .3)
}

.pr-page .pr-why .pr-aim .pr-eyebrow {
  justify-content: center
}

.pr-page .pr-why .pr-aim .pr-eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: #d01b21
}

.pr-page .pr-why .pr-aim .head-title {
  color: var(--pr-gold);
  margin-bottom: 14px;
  padding-bottom: 0
}

.pr-page .pr-why .pr-aim .head-title::after {
  display: none
}

.pr-page .pr-why .pr-aim p {
  margin: 0 auto;
  max-width: 820px;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
  text-align: center
}

@media (max-width:767px) {
  .pr-page .pr-why .pr-lead {
    font-size: 16px
  }


  .pr-page .pr-why blockquote.pr-recipe {
    padding: 56px 20px 22px
  }

  .pr-why .pr-recipe::before {
    left: 18px;
    top: 0
  }

  .pr-page .pr-why ul.pr-feats {
    grid-template-columns: 1fr
  }

  .pr-why .pr-social {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px
  }

  .pr-why .pr-aim {
    padding: 32px 18px
  }

  .pr-page .pr-why .pr-aim p {
    font-size: 16px
  }
}

.pr-page .pr-solo .about-text.pr-why {
  max-width: none
}


/* ---- Vision & Mission cards: icon badge on top, coloured top border (only cards inside a .row; Social Responsibility box is untouched) ---- */
.pr-why .row>[class*="col-"] {
  padding-top: 48px
}

.pr-why .row .pr-social {
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 64px 28px 30px;
  background: #fff;
  border: 1px solid #dce7f6;
  border-top: 5px solid var(--pr-gold);
  box-shadow: 0 10px 26px rgba(11, 42, 91, .1);
  transition: transform .2s ease, box-shadow .2s ease
}

.pr-why .row .pr-social:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 42, 91, .16)
}

.pr-why .row>[class*="col-"]:nth-child(2) .pr-social {
  border-top-color: var(--pr-navy)
}

.pr-why .row .pr-ico {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  flex: none;
  width: 96px;
  height: 96px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--pr-gold), 0 8px 18px rgba(11, 42, 91, .2)
}

.pr-why .row .pr-ico img {
  width: 100%;
  border-radius: 50%;
  height: 100%;
}

.pr-why .row>[class*="col-"]:nth-child(2) .pr-ico {
  box-shadow: 0 0 0 4px var(--pr-navy), 0 8px 18px rgba(11, 42, 91, .2)
}

.pr-why .row .pr-social .pr-eyebrow {
  justify-content: center;
  font-size: 14px
}

.pr-why .row .pr-social .pr-eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--pr-gold)
}

.pr-page .pr-why .row .pr-social p {
  text-align: center;
  font-size: 16.5px;
  line-height: 1.8
}



/* ---- Daily routine timetable cards (Life @ Chanakya page) ---- */
.pr-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start
}

.pr-day {
  background: #fff;
  border: 1px solid #dce7f6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(11, 42, 91, .1)
}

.pr-page .pr-day h4 {
  margin: 0;
  padding: 15px 18px;
  text-align: center;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(135deg, #0d2d63, #071c40);
  border-bottom: 4px solid var(--pr-gold)
}

.pr-page .pr-day:nth-child(2) h4 {
  color: var(--pr-navy-dk);
  background: linear-gradient(135deg, #f6d48f, var(--pr-gold));
  border-bottom-color: var(--pr-navy)
}

.pr-page .pr-day:nth-child(3) h4 {
  background: linear-gradient(135deg, #d71a3a, #9d0c24);
  border-bottom-color: var(--pr-gold)
}

.pr-page .pr-tt {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45
}

.pr-page .pr-tt td {
  padding: 9px 14px;
  vertical-align: top;
  color: var(--pr-navy-dk);
  border-top: 1px solid #eef2f8;
  font-size: 16px;
}

.pr-page .pr-tt tr:nth-child(even) td {
  background: #f6f9fd
}

.pr-page .pr-tt td:first-child {
  width: 42%;
  font-weight: 700;
  color: var(--pr-navy)
}

@media (max-width:991px) {
  .pr-days {
    grid-template-columns: 1fr
  }
}





/* ============================================================
   CONTACT PAGE
   Uses the same .pr-page design system as Fees / Principal
   ============================================================ */

.pr-page .contact-page {
  padding-bottom: 70px;
}


/* ============================================================
   CONTACT INTRO
   ============================================================ */

.pr-page .contact-intro {
  margin-bottom: 35px;
}

.pr-page .contact-description {
  max-width: 850px;
  margin: 12px 0 0;
  color: #65748a;
  font-size: 15px;
  line-height: 1.8;
}


/* ============================================================
   CONTACT INFORMATION CARD
   ============================================================ */

.pr-page .contact-info-card {
  position: relative;
  height: 100%;
  padding: 30px;
  border-radius: 16px;

  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #f5f8fc 100%);

  border: 1px solid rgba(11, 42, 91, .08);

  box-shadow:
    0 14px 35px rgba(11, 42, 91, .12);

  overflow: hidden;
}


/* Decorative Circle */

.pr-page .contact-info-card::before {
  content: "";
  position: absolute;

  width: 180px;
  height: 180px;

  right: -90px;
  top: -90px;

  border: 25px solid rgba(227, 174, 82, .08);

  border-radius: 50%;

  pointer-events: none;
}


/* Favicon Watermark */

.pr-page .contact-info-card::after {
  content: "";

  position: absolute;

  right: 20px;
  bottom: 25px;

  width: 120px;
  height: 140px;

  opacity: .035;

  background:
    url("../img/favi.png") center / contain no-repeat;

  pointer-events: none;
}


/* ============================================================
   CONTACT CARD TITLE
   ============================================================ */

.pr-page .contact-card-title {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  gap: 15px;

  padding-bottom: 22px;
  margin-bottom: 28px;

  border-bottom:
    1px solid rgba(11, 42, 91, .09);
}


.pr-page .contact-title-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 58px;
  height: 58px;

  border-radius: 14px;

  color: var(--pr-gold);

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  font-size: 25px;

  box-shadow:
    0 8px 20px rgba(11, 42, 91, .20);
}


.pr-page .contact-card-title span {
  display: block;

  margin-bottom: 3px;

  color: var(--pr-gold);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 2px;
}


.pr-page .contact-card-title h3 {
  margin: 0;

  color: var(--pr-navy);

  font-family:
    'Cinzel',
    Georgia,
    serif;

  font-size: 23px;
  font-weight: 700;
}


/* ============================================================
   CONTACT INFO ITEMS
   ============================================================ */

.pr-page .contact-info-item {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-start;

  gap: 15px;

  margin-bottom: 25px;
}


.pr-page .contact-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 45px;
  height: 45px;

  border:
    1px solid rgba(227, 174, 82, .35);

  border-radius: 12px;

  background: #fff;

  color: var(--pr-navy);

  font-size: 18px;

  box-shadow:
    0 5px 15px rgba(11, 42, 91, .08);

  transition:
    all .3s ease;
}


.pr-page .contact-info-item:hover .contact-icon {
  color: #fff;

  background:
    var(--pr-navy);

  border-color:
    var(--pr-navy);

  transform:
    translateY(-3px);
}


/* ============================================================
   CONTACT TEXT
   ============================================================ */

.pr-page .contact-info-text {
  min-width: 0;
}


.pr-page .contact-info-text>span {
  display: block;

  margin-bottom: 2px;

  color: var(--pr-gold);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1.5px;
}


.pr-page .contact-info-text h4 {
  margin: 0 0 5px;

  color: var(--pr-navy);

  font-size: 15px;
  font-weight: 700;
}


.pr-page .contact-info-text p {
  margin: 0;

  color: #65748a;

  font-size: 14px;

  line-height: 1.7;
}


.pr-page .contact-info-text a {
  display: block;

  width: fit-content;

  margin-bottom: 4px;

  color: #53657d;

  font-size: 13.5px;

  text-decoration: none;

  transition:
    all .25s ease;
}


.pr-page .contact-info-text a:hover {
  color: var(--pr-navy);

  transform:
    translateX(3px);
}


/* ============================================================
   ASSISTANCE BOX
   ============================================================ */

.pr-page .contact-help-box {
  position: relative;
  z-index: 3;

  display: flex;

  align-items: center;

  gap: 13px;

  margin-top: 28px;

  padding: 14px 16px;

  border-radius: 12px;

  color: #fff;

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  box-shadow:
    0 10px 22px rgba(11, 42, 91, .18);
}


.pr-page .contact-help-box>i {
  color: var(--pr-gold);

  font-size: 28px;
}


.pr-page .contact-help-box strong {
  display: block;

  font-size: 13px;
}


.pr-page .contact-help-box p {
  margin: 2px 0 0;

  color:
    rgba(255, 255, 255, .70);

  font-size: 11px;
}


/* ============================================================
   MAP CARD
   ============================================================ */

.pr-page .contact-map-card {
  height: 100%;

  padding: 12px;

  border-radius: 16px;

  background: #fff;

  border:
    1px solid rgba(11, 42, 91, .08);

  box-shadow:
    0 14px 35px rgba(11, 42, 91, .12);
}


/* ============================================================
   MAP HEADER
   ============================================================ */

.pr-page .contact-map-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 15px 18px;
}


.pr-page .contact-map-header span {
  display: block;

  margin-bottom: 4px;

  color: var(--pr-gold);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 2px;
}


.pr-page .contact-map-header h3 {
  margin: 0;

  color: var(--pr-navy);

  font-family:
    'Cinzel',
    Georgia,
    serif;

  font-size: 21px;
  font-weight: 700;
}


.pr-page .map-location-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background:
    rgba(227, 174, 82, .12);

  color: var(--pr-navy);

  font-size: 21px;
}


/* ============================================================
   MAP
   ============================================================ */

.pr-page .contact-map-card .map {
  position: relative;

  width: 100%;
  height: 430px;

  overflow: hidden;

  border-radius: 12px;

  background: #e8edf4;
}


.pr-page .contact-map-card .map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ============================================================
   MAP FOOTER
   ============================================================ */

.pr-page .map-footer {
  display: flex;

  align-items: center;

  gap: 9px;

  padding: 13px 10px 4px;

  color: #66758a;

  font-size: 12px;
}


.pr-page .map-footer i {
  color: var(--pr-gold);

  font-size: 16px;
}


/* ============================================================
   BOTTOM CONTACT STRIP
   ============================================================ */

.pr-page .contact-bottom-strip {
  position: relative;
  z-index: 3;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 15px;

  margin-top: 30px;

  padding: 18px;

  border-radius: 14px;

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  box-shadow:
    0 12px 30px rgba(11, 42, 91, .16);
}


.pr-page .contact-strip-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 5px 15px;

  border-right:
    1px solid rgba(255, 255, 255, .12);
}


.pr-page .contact-strip-item:last-child {
  border-right: 0;
}


.pr-page .strip-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 42px;
  height: 42px;

  border-radius: 10px;

  background:
    rgba(227, 174, 82, .13);

  color: var(--pr-gold);

  font-size: 17px;
}


.pr-page .contact-strip-item span {
  display: block;

  margin-bottom: 2px;

  color: var(--pr-gold);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 1.5px;
}


.pr-page .contact-strip-item strong {
  display: block;

  color: #fff;

  font-size: 12px;
  font-weight: 600;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

  .pr-page .contact-info-card {
    padding: 28px 25px;
  }

  .pr-page .contact-map-card .map {
    height: 400px;
  }

  .pr-page .contact-bottom-strip {
    grid-template-columns:
      1fr;
  }

  .pr-page .contact-strip-item {
    padding: 10px 8px;

    border-right: 0;

    border-bottom:
      1px solid rgba(255, 255, 255, .12);
  }

  .pr-page .contact-strip-item:last-child {
    border-bottom: 0;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

  .pr-page .contact-page {
    padding: 40px 0;
  }

  .pr-page .contact-description {
    font-size: 14px;

    line-height: 1.7;
  }

  .pr-page .contact-info-card {
    padding: 25px 20px;

    border-radius: 14px;
  }

  .pr-page .contact-card-title {
    margin-bottom: 25px;
  }

  .pr-page .contact-title-icon {
    width: 50px;
    height: 50px;

    font-size: 21px;
  }

  .pr-page .contact-card-title h3 {
    font-size: 20px;
  }

  .pr-page .contact-info-item {
    gap: 12px;

    margin-bottom: 22px;
  }

  .pr-page .contact-icon {
    width: 42px;
    height: 42px;

    font-size: 16px;
  }

  .pr-page .contact-info-text p,
  .pr-page .contact-info-text a {
    font-size: 13px;
  }

  .pr-page .contact-map-card {
    padding: 8px;

    border-radius: 14px;
  }

  .pr-page .contact-map-header {
    padding: 13px 10px;
  }

  .pr-page .contact-map-header h3 {
    font-size: 18px;
  }

  .pr-page .map-location-icon {
    width: 40px;
    height: 40px;

    font-size: 17px;
  }

  .pr-page .contact-map-card .map {
    height: 300px;

    border-radius: 10px;
  }

  .pr-page .map-footer {
    padding: 11px 7px 3px;

    font-size: 10.5px;
  }

  .pr-page .contact-bottom-strip {
    margin-top: 20px;

    padding: 13px;
  }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  .pr-page .contact-info-card {
    padding: 22px 16px;
  }

  .pr-page .contact-card-title h3 {
    font-size: 18px;
  }

  .pr-page .contact-map-card .map {
    height: 270px;
  }

}


/* ============================================================
   NDA / SAINIK SCHOOL / RMS / RIMC FOUNDATION PAGE
   Uses existing .pr-page design system
   ============================================================ */

.pr-page .foundation-page {
  padding-bottom: 75px;
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.pr-page .foundation-intro {
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(11, 42, 91, .08);
}


.pr-page .foundation-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 5px;
  background:
    linear-gradient(135deg,
      var(--pr-gold),
      #c98f2e 50%,
      var(--pr-gold));
  box-shadow:
    0 15px 35px rgba(11, 42, 91, .16);
}


.pr-page .foundation-image img {
  display: block;

  width: 100%;
  height: 430px;

  object-fit: cover;

  border-radius: 16px;
}


.pr-page .image-badge {
  position: absolute;

  left: 50%;
  bottom: 22px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;

  gap: 9px;

  width: max-content;
  max-width: 90%;

  padding: 11px 18px;

  border: 1px solid var(--pr-gold);

  border-radius: 30px;

  color: #fff;

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  box-shadow:
    0 8px 20px rgba(0, 0, 0, .25);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 1px;
}


.pr-page .image-badge i {
  color: var(--pr-gold);

  font-size: 16px;
}


/* ============================================================
   INTRO CONTENT
   ============================================================ */

.pr-page .foundation-content {
  padding: 10px 15px;
}


.pr-page .foundation-content .head-title {
  margin-top: 7px;
  margin-bottom: 12px;

  color: var(--pr-navy);

  font-size: 30px;
  line-height: 1.25;
}


.pr-page .foundation-content .head-title em {
  display: inline;
  color: var(--pr-gold);
}


.pr-page .gold-line {
  width: 65px;
  height: 3px;

  margin: 14px 0 20px;

  border-radius: 10px;

  background:
    linear-gradient(90deg,
      var(--pr-navy),
      var(--pr-gold));
}


.pr-page .foundation-content p {
  margin-bottom: 14px;

  color: #52647d;

  font-size: 15px;

  line-height: 1.8;
}


.pr-page .foundation-content strong {
  color: var(--pr-navy);
}


/* ============================================================
   SECTION
   ============================================================ */

.pr-page .foundation-section {
  padding: 55px 0 10px;
}


.pr-page .foundation-section-heading {
  max-width: 850px;

  margin-bottom: 32px;
}


.pr-page .foundation-section-heading .head-title {
  margin: 5px 0 10px;

  color: var(--pr-navy);

  font-size: 28px;
  line-height: 1.3;
}


.pr-page .foundation-section-heading .head-title em {
  color: var(--pr-gold);
}


.pr-page .foundation-section-heading p {
  max-width: 750px;

  margin: 0;

  color: #66758a;

  font-size: 14px;

  line-height: 1.7;
}


/* ============================================================
   FEATURE CARDS
   ============================================================ */

.pr-page .foundation-feature-card {
  position: relative;

  height: 100%;

  padding: 28px 25px;

  border-radius: 15px;

  background:
    linear-gradient(180deg,
      #fff,
      #f5f8fc);

  border:
    1px solid rgba(11, 42, 91, .08);

  box-shadow:
    0 10px 28px rgba(11, 42, 91, .08);

  overflow: hidden;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.pr-page .foundation-feature-card::after {
  content: "";

  position: absolute;

  right: -30px;
  top: -30px;

  width: 100px;
  height: 100px;

  border:
    18px solid rgba(227, 174, 82, .07);

  border-radius: 50%;
}


.pr-page .foundation-feature-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 35px rgba(11, 42, 91, .14);
}


.pr-page .feature-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin-bottom: 17px;

  border-radius: 13px;

  color: var(--pr-gold);

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  font-size: 21px;

  box-shadow:
    0 7px 17px rgba(11, 42, 91, .18);
}


.pr-page .foundation-feature-card>span {
  position: absolute;

  right: 22px;
  top: 25px;

  color:
    rgba(11, 42, 91, .10);

  font-family:
    'Cinzel',
    Georgia,
    serif;

  font-size: 35px;
  font-weight: 700;
}


.pr-page .foundation-feature-card h4 {
  position: relative;
  z-index: 2;

  margin: 0 0 9px;

  color: var(--pr-navy);

  font-size: 17px;
  font-weight: 700;
}


.pr-page .foundation-feature-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: #66758a;

  font-size: 13.5px;

  line-height: 1.7;
}


.pr-page .foundation-feature-card ul {
  position: relative;
  z-index: 2;

  margin: 13px 0 0;
  padding: 0;

  list-style: none;
}


.pr-page .foundation-feature-card ul li {
  position: relative;

  padding-left: 17px;
  margin-bottom: 6px;

  color: #65748a;

  font-size: 13px;
}


.pr-page .foundation-feature-card ul li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--pr-gold);

  font-weight: 800;
}


/* ============================================================
   MODULES
   ============================================================ */

.pr-page .modules-section {
  padding-top: 65px;
}


.pr-page .module-card {
  position: relative;

  display: flex;
  align-items: flex-start;

  gap: 18px;

  height: 100%;

  padding: 25px;

  border-radius: 15px;

  background: #fff;

  border:
    1px solid rgba(11, 42, 91, .09);

  box-shadow:
    0 10px 28px rgba(11, 42, 91, .08);

  overflow: hidden;

  transition:
    all .3s ease;
}


.pr-page .module-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(227, 174, 82, .4);

  box-shadow:
    0 17px 35px rgba(11, 42, 91, .13);
}


.pr-page .module-number {
  position: absolute;

  right: 18px;
  top: 10px;

  color:
    rgba(11, 42, 91, .07);

  font-family:
    'Cinzel',
    Georgia,
    serif;

  font-size: 48px;
  font-weight: 700;
}


.pr-page .module-icon {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 55px;
  height: 55px;

  border-radius: 13px;

  color: var(--pr-gold);

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  font-size: 21px;
}


.pr-page .module-content {
  position: relative;
  z-index: 2;
}


.pr-page .module-content h4 {
  margin: 3px 0 12px;

  color: var(--pr-navy);

  font-size: 18px;
  font-weight: 700;
}


.pr-page .module-content ul {
  margin: 0;
  padding: 0;

  list-style: none;
}


.pr-page .module-content ul li {
  position: relative;

  padding-left: 17px;
  margin-bottom: 6px;

  color: #66758a;

  font-size: 13px;

  line-height: 1.5;
}


.pr-page .module-content ul li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 8px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--pr-gold);
}


/* ============================================================
   CTA
   ============================================================ */

.pr-page .foundation-cta {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-top: 60px;

  padding: 25px 28px;

  border-radius: 16px;

  color: #fff;

  background:
    linear-gradient(135deg,
      var(--pr-navy),
      var(--pr-navy-dk));

  box-shadow:
    0 14px 32px rgba(11, 42, 91, .18);
}


.pr-page .cta-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 58px;
  height: 58px;

  border-radius: 14px;

  color: var(--pr-gold);

  background:
    rgba(227, 174, 82, .12);

  font-size: 25px;
}


.pr-page .cta-content {
  flex: 1;
}


.pr-page .cta-content>span {
  display: block;

  margin-bottom: 3px;

  color: var(--pr-gold);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 2px;
}


.pr-page .cta-content h3 {
  margin: 0 0 5px;

  color: #fff;

  font-family:
    'Cinzel',
    Georgia,
    serif;

  font-size: 20px;
}


.pr-page .cta-content p {
  margin: 0;

  color:
    rgba(255, 255, 255, .70);

  font-size: 12px;
}


.pr-page .cta-button {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  flex-shrink: 0;

  padding: 12px 19px;

  border:
    1px solid var(--pr-gold);

  border-radius: 8px;

  color: var(--pr-navy);

  background: var(--pr-gold);

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;

  transition:
    all .3s ease;
}


.pr-page .cta-button:hover {
  color: #fff;

  background: transparent;

  transform: translateY(-2px);
}


.pr-page .cta-button i {
  font-size: 14px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

  .pr-page .foundation-image img {
    height: 380px;
  }

  .pr-page .foundation-content {
    padding: 10px 5px;
  }

  .pr-page .foundation-section {
    padding-top: 45px;
  }

  .pr-page .foundation-cta {
    flex-wrap: wrap;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

  .pr-page .foundation-page {
    padding-bottom: 45px;
  }

  .pr-page .foundation-intro {
    padding-bottom: 30px;
  }

  .pr-page .foundation-image img {
    height: 280px;
  }

  .pr-page .image-badge {
    bottom: 14px;

    padding: 9px 12px;

    font-size: 8px;

    letter-spacing: .7px;
  }

  .pr-page .foundation-content {
    padding: 10px 0 0;
  }

  .pr-page .foundation-content .head-title {
    font-size: 25px;
  }

  .pr-page .foundation-content p {
    font-size: 14px;

    text-align: left;
  }

  .pr-page .foundation-section {
    padding-top: 38px;
  }

  .pr-page .foundation-section-heading .head-title {
    font-size: 23px;
  }

  .pr-page .foundation-feature-card {
    padding: 23px 20px;
  }

  .pr-page .module-card {
    padding: 20px;

    gap: 13px;
  }

  .pr-page .module-icon {
    width: 48px;
    height: 48px;

    font-size: 18px;
  }

  .pr-page .module-content h4 {
    font-size: 16px;
  }

  .pr-page .foundation-cta {
    align-items: flex-start;

    padding: 20px;

    gap: 14px;
  }

  .pr-page .cta-icon {
    width: 48px;
    height: 48px;

    font-size: 20px;
  }

  .pr-page .cta-content h3 {
    font-size: 17px;
  }

  .pr-page .cta-button {
    width: 100%;

    justify-content: center;

    margin-top: 5px;
  }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  .pr-page .foundation-image img {
    height: 240px;
  }

  .pr-page .foundation-content .head-title {
    font-size: 22px;
  }

  .pr-page .foundation-section-heading .head-title {
    font-size: 21px;
  }

  .pr-page .module-card {
    flex-direction: column;
  }

  .pr-page .module-number {
    font-size: 38px;
  }

}


:root {
  --cp-navy: #0b2a5b;
  --cp-gold: #d9a441;
  --cp-text: #1b2433;
  --cp-bg-1: #ffffff;
  --cp-bg-2: #f4f7fc;
}

.courses-page {
  padding: 0;
  background: linear-gradient(180deg, var(--cp-bg-1), var(--cp-bg-2));
  color: var(--cp-text);
  margin-top: -52px;
}

.cdc-course .inner-banner {
  position: relative;
  margin: 0;
  padding: 50px 0 100px;
  text-align: center;
  color: #fff;
  background: #0a2350 url('../img/bg-banner.jpg') center/cover no-repeat
}

.cdc-course .inner-title h3 {
  margin: 0;
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  color: #e3ae52;
  font-size: clamp(32px, 7vw, 32px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase
}

.cdc-course .inner-title h3 span {
  display: block;
  color: #fff;
  font-weight: 500;
  letter-spacing: .14em;
  font-size: clamp(18px, 3.2vw, 20px);
  margin-bottom: 2px
}

.pr-star-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px
}

.pr-star-line b {
  display: block;
  width: clamp(50px, 12vw, 170px);
  height: 1px;
  background: rgba(255, 255, 255, .55)
}

.pr-star-line i {
  font-style: normal;
  color: #fff;
  font-size: 22px;
  line-height: 1
}

.pr-flag {
  display: flex;
  justify-content: center;
  margin-top: 14px
}

.pr-flag b {
  display: block;
  height: 4px;
  width: 66px
}

.pr-flag b:nth-child(1) {
  background: #e3ae52
}

.pr-flag b:nth-child(2) {
  background: #fff
}

.pr-flag b:nth-child(3) {
  background: #c8102e
}

.courses-page .head-title {
  margin: 0 0 10px;
  padding-bottom: 14px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  text-transform: none;
  letter-spacing: .01em;
}

/* text column */
.courses-page .cp-text p {
  font-size: 17px;
  line-height: 2;
  text-align: justify;
  margin: 0 0 16px;
}

.courses-page .cp-text h3,
.courses-page .cp-heading {
  color: var(--cp-navy);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}

.courses-page .cp-text h3 {
  font-size: 26px;
}

.courses-page .cp-heading {
  font-size: 24px;
}

/* quote line at end of text, like the reference */
.courses-page .cp-quote {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  color: var(--cp-navy);
  border-left: 4px solid var(--cp-gold);
  padding-left: 14px;
  margin-top: 20px;
}

/* lists */
.courses-page .cp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.courses-page .cp-list>li {
  margin-bottom: 14px;
  line-height: 1.8;
  text-align: justify;
}

.courses-page .cp-list strong {
  color: var(--cp-navy);
}

.courses-page .cp-sub {
  margin: 8px 0 0 22px;
  padding-left: 18px;
  line-height: 1.8;
}

/* module grid */
.courses-page .cp-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.courses-page .cp-modules>li {
  background: #fff;
  border-top: 4px solid var(--cp-gold);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--cp-navy);
  box-shadow: 0 4px 16px rgba(11, 42, 91, .08);
}

.courses-page .cp-modules ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-weight: 400;
  color: var(--cp-text);
  line-height: 1.8;
}

.courses-page .cp-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  /* fills the frame without stretching */
  object-position: center top;
  /* keeps faces/heads from being cropped */
  border-radius: 24px;
  /* sits just inside the gold border */
  transition: transform .4s ease;
}

.courses-page .cp-photo:hover img {
  transform: scale(1.04);
  /* gentle zoom on hover */
}

@media (max-width: 767px) {
  .courses-page .cp-photo img {
    min-height: 260px;
    max-height: 360px;
  }

  .cdc-course .inner-title h3 {

    font-size: clamp(20px, 7vw, 16px);
  }

  .pr-page .about-us.mt-100 {
    margin-top: 126px;

  }

  .cdc-course .pr-solo.mt-60 {
    margin-top: 60px;
  }
}

.courses-page .cp-row {
  margin-bottom: 48px;
}

@media (max-width: 767px) {
  .courses-page .cp-photo {
    box-shadow: none;
    margin-bottom: 24px;
  }

  .courses-page .cp-text p {
    font-size: 16px;
    line-height: 1.8;
  }

}


/* ===== Chanakya Defence College : About / #portfolio section ===== */
/* Scoped under #portfolio so it won't clash with template classes */

#portfolio.portfolio-section {
  --navy: #0b1f3f;
  --navy2: #13305f;
  --gold: #d4a73a;
  --red: #c8202f;
  --ink: #1e2a3d;
  background:
    radial-gradient(circle at 8% 10%, rgba(212, 167, 58, .14), transparent 40%),
    radial-gradient(circle at 92% 90%, rgba(11, 31, 63, .10), transparent 45%),
    #f4f6fa;
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
}

.pd-0 {
  padding: 0;
  margin-top: -50px;
}

/* main card */
#portfolio .section-card {
  background: #fff;
  border-radius: 24px;
  border-top: 6px solid var(--gold);
  box-shadow: 0 24px 60px rgba(11, 31, 63, .14);
  padding: 56px !important;
  position: relative;
  overflow: hidden;
}

#portfolio .section-card:before {
  /* soft corner accent */
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(212, 167, 58, .12);
}

/* main heading with gold underline */
#portfolio .section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 30px);
  line-height: 1.25;
  color: var(--navy);
  position: relative;
  padding-bottom: 22px;
}

#portfolio .section-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

/* paragraphs */
#portfolio .section-text {
  font-size: 18px;
  line-height: 1.8;
  color: #2c3a50;
  text-align: justify;
  margin-bottom: 18px;
  /* max-width:980px; */
  margin-left: auto;
  margin-right: auto;
}

/* NDA highlight quote */
#portfolio .highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  padding: 32px 40px;
  border-radius: 18px;
  border-left: 6px solid var(--gold);
  border-right: 6px solid var(--red);
  box-shadow: 0 14px 34px rgba(11, 31, 63, .25);
  /* max-width:980px; */
  margin-left: auto;
  margin-right: auto;
}

/* "Why choose" heading */
#portfolio h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--navy);
}

#portfolio h3:after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 16px 0;
  border-radius: 4px;
  background: var(--red);
}

/* two feature boxes side by side */
#portfolio .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
  /* both boxes get equal height */
}

#portfolio .feature-grid .feature-box {
  margin: 0 !important;
  /* cancels mb-4 if it is still there */
  height: 100%;
  display: flex;
  flex-direction: column;
}

#portfolio .feature-grid .feature-box p {
  flex: 1;
  /* text-align: left; */
  /* justified text looks gappy in narrower columns */
}

/* stack on tablet and mobile */
@media (max-width:991px) {
  #portfolio .feature-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* feature cards */
#portfolio .feature-box {
  background: #f8f9fc;
  border-radius: 18px;
  padding: 32px 34px 32px 40px;
  border: 1px solid #e6eaf2;

  box-shadow: 0 8px 24px rgba(11, 31, 63, .07);
  transition: transform .3s ease, box-shadow .3s ease, border-left-color .3s ease;
}

#portfolio .feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 31, 63, .15);
  /* border-left-color:var(--red); */
}

#portfolio .feature-box h5 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 14px;
}

#portfolio .feature-box p {
  font-size: 17px;
  line-height: 1.8;
  color: #2c3a50;
  text-align: justify;
  margin: 0;
}

/* tablet */
@media (max-width:991px) {
  #portfolio .section-card {
    padding: 40px 30px !important
  }

  #portfolio .highlight-box {
    padding: 26px 26px;
    font-size: 18px
  }
}

/* mobile */
@media (max-width:767px) {
  #portfolio .section-card {
    padding: 28px 18px !important;
    border-radius: 18px
  }

  #portfolio .section-text,
  #portfolio .feature-box p {
    font-size: 16px;
  }

  #portfolio .highlight-box {
    padding: 22px 18px;
    font-size: 16.5px;
    border-radius: 14px
  }

  #portfolio .feature-box {
    padding: 24px 20px 24px 24px
  }

  #portfolio .feature-box h5 {
    font-size: 19px
  }

  .pd-0 {
    margin-top: 0;
  }

  #portfolio h3:after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 16px 0;
    border-radius: 4px;
    background: var(--red);
  }
}


/* ===== NDA Exam Overview : .text-box section ===== */

.text-box {
  --navy: #0b1f3f;
  --navy2: #13305f;
  --gold: #d4a73a;
  --red: #c8202f;
  --ink: #2c3a50;
  --mist: #f4f6fa;
  padding: 80px 0 0;
  background: #fff;
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
}


/* main heading */
.text-box h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 32px);
  line-height: 1.25;
  color: var(--navy);
  text-align: center;
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.text-box h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

/* sub headings */
.text-box h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--navy);
  margin: 52px 0 20px;
  padding: 12px 0 12px 18px;
  border-left: 6px solid var(--gold);
  background: linear-gradient(90deg, rgba(212, 167, 58, .14), transparent 70%);
  border-radius: 0 10px 10px 0;
}

/* paragraphs */
.text-box p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.text-box strong,
.text-box b {
  color: var(--navy)
}

/* ---------- unordered lists (bullets as cards) ---------- */
.text-box ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
}

.text-box ul>li {
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  padding: 16px 20px 16px 52px;
  margin-bottom: 12px;
  background: var(--mist);
  border: 1px solid #e6eaf2;
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.text-box ul>li:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 24px rgba(11, 31, 63, .10);
}

.text-box ul>li:before {
  /* gold diamond marker */
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 2px;
}

/* eligibility list: navy emphasis */
.text-box .list-top>li {
  background: #fff;
  /* border-left:5px solid var(--navy); */
  box-shadow: 0 6px 18px rgba(11, 31, 63, .07);
}

/* ---------- ordered lists (numbered steps) ---------- */
.text-box ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 20px 0 24px;
}

.text-box ol>li {
  counter-increment: step;
  position: relative;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  background: #fff;
  border: 1px solid #e6eaf2;
  /* border-top:4px solid var(--gold); */
  border-radius: 18px;
  padding: 26px 28px 14px 82px;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(11, 31, 63, .09);
}

.text-box ol>li:before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--gold);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* normal text inside numbered cards */
.text-box ol>li p,
.text-box ol>li ul li {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
}

.text-box ol>li p {
  margin: 12px 0 14px;
  font-size: 17px;
}

/* nested lists inside numbered cards: lighter style */
.text-box ol>li ul {
  margin: 10px 0 12px
}

.text-box ol>li ul>li {
  background: var(--mist);
  border: none;
  box-shadow: none;
  padding: 14px 18px 14px 46px;
}

.text-box ol>li ul>li:before {
  left: 18px;
  top: 22px;
  background: var(--red);
}

/* two-subject list (Mathematics / GAT) */
.text-box .list-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.text-box .list-two>li {
  margin: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #e8eefb;
  border: none;
  border-bottom: 4px solid var(--gold);
  padding: 20px 22px 20px 48px;
}

.text-box .list-two>li strong {
  color: var(--gold)
}

.text-box .list-two>li:before {
  background: var(--gold)
}

/* tablet */
@media (max-width:991px) {
  .text-box {
    padding: 56px 0
  }

  .text-box ol>li {
    padding: 24px 20px 12px 70px
  }

  .text-box ol>li:before {
    left: 18px;
    width: 36px;
    height: 36px;
    font-size: 17px
  }
}

/* mobile */
@media (max-width:640px) {
  .text-box p {
    font-size: 16px
  }

  .text-box h3 {
    margin-top: 40px
  }

  .text-box ul>li {
    font-size: 16px;
    padding: 14px 14px 14px 42px
  }

  .text-box ul>li:before {
    left: 16px;
    top: 22px
  }

  .text-box .list-two {
    grid-template-columns: 1fr
  }

  .text-box ol>li {
    font-size: 17px;
    padding: 70px 16px 8px 16px;
    /* number badge sits on top */
  }

  .text-box ol>li:before {
    left: 16px;
    top: 16px
  }
}

/* ===== AFCAT Syllabus & Tables : #courses-page ===== */
/* Navy section background, white cards, simple grey table lines */
.pb-0 {
  padding: 0;
  margin-top: -50px
}

#courses-page.courses-page {
  --navy: #0b1f3f;
  --gold: #d4a73a;
  --ink: #38465c;
  --line: #e3e8f0;
  --mist: #f6f8fb;
  --red: #b31516;
  /* background:var(--navy); */

  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
}

/* main heading (its inline white colour stays) */
#courses-page .top-head {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  /* font-size: clamp(20px, 3.6vw, 26px); */
  text-align: center;
  position: relative;
  /* padding-bottom: 18px; */
  /* margin-bottom: 34px;*/
}

#courses-page .top-head:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

/* "Exam Conducted – Twice in a Year" sits on navy, so make it white */
#courses-page h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #000000;
  text-align: center;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  position: relative;
}

#courses-page h4:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

/* each top-level block = one white card */
#courses-page .form-table {
  background: #fff;
  border-radius: 16px;
  /* padding:0 34px; */
  margin-bottom: 26px;
}

/* nested block (SSB table inside exam pattern card): no second card */
#courses-page .form-table .form-table {
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 26px 0 0;
}

/* headings inside the cards */
#courses-page .form-table h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: var(--navy);
  margin: 22px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

/* negative marking note */
#courses-page h5 {
  margin: 16px 0 0;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  background: #fdecec;
  border-left: 4px solid var(--red);
  border-radius: 6px;
}

/* ---------- syllabus table (4 columns) ---------- */
#courses-page .table-txt {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

#courses-page .table-txt td {
  width: 25% !important;
  vertical-align: top;
  padding: 8px 20px 20px !important;
  border: 1px solid var(--line);
}

#courses-page .table-txt td:first-child h3:first-child {
  margin-top: 12px
}

/* syllabus topic lists */
#courses-page .list-dis {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  text-align: left;
}

#courses-page .list-dis li {
  font-size: 15px;
  line-height: 1.5;
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}

#courses-page .list-dis li:last-child {
  border-bottom: none
}

#courses-page .list-dis li .fa {
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--gold);
  font-size: 14px;
}

/* ---------- info tables (age, pattern, SSB) ---------- */
#courses-page .selected_table {
  width: 100% !important;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.65;
}

#courses-page .selected_table td {
  width: auto !important;
  padding: 12px 16px;
  border: 1px solid var(--line);
  /* vertical-align:top; */
}

#courses-page .selected_table tr:nth-child(even) {
  background: var(--mist)
}

#courses-page .selected_table p {
  margin: 0 0 8px
}

#courses-page .selected_table p:empty {
  display: none
}

/* "OR" between qualification options */
#courses-page .selected_table h1 {
  display: inline-block;
  margin: 8px 0;
  padding: 2px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 20px;
}

/* header rows: age table rows (inline red) and "AFCAT : EXAM PATTERN" title */
#courses-page .selected_table tr[style],
#courses-page .selected_table td[style] {
  background: var(--navy) !important;
  color: #fff !important;
}

#courses-page .selected_table tr[style] td {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--mist);
}

#courses-page .selected_table td[style] {
  border-color: var(--navy)
}

/* first column labels (Qualification, SSB INTERVIEW...) */
#courses-page .selected_table tr:not([style]) td:first-child {
  font-weight: 700;
  color: var(--navy);
}

/* column titles row of exam pattern (Section / Questions / Marks / Time) */
#courses-page .selected_table tr:has(td[colspan="4"])+tr td {
  background: var(--mist);
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

#courses-page .selected_table td[rowspan] {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- tablet & mobile ---------- */
@media (max-width:991px) {

  #courses-page .table-txt,
  #courses-page .table-txt tbody,
  #courses-page .table-txt tr,
  #courses-page .table-txt td {
    display: block;
    width: 100% !important;
  }

  #courses-page .table-txt td {
    padding: 6px 18px 14px !important
  }
}

@media (max-width:640px) {
  #courses-page.courses-page {
    padding: 48px 0
  }

  #courses-page .form-table {
    padding: 20px 14px
  }

  #courses-page .selected_table {
    display: block;
    /* lets wide tables scroll sideways */
    overflow-x: auto;
    font-size: 15px;
  }
}



/* ==========================================
   SSB COACHING FEATURES SECTION
========================================== */

.ssb-features-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Section Heading */
.ssb-features-section .section-header {
  width: 100%;
  text-align: center;
  color: #102b4e;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 35px;
  position: relative;
  padding-bottom: 20px;
}

.ssb-features-section .section-header::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #d4a017, #f5d76e);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

/* Features List */
.ssb-features-section .list-sty {
  list-style: none;
  /* counter-reset: ssb-counter; */
  /* padding: 0; */
  /* margin: 0px 0 20px; */
  display: grid;
  /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
  gap: 18px;
}

.ssb-features-section .list-sty li {
  counter-increment: ssb-counter;
  position: relative;
  background: #ffffff;
  border: 1px solid #e2eaf3;
  border-left: 4px solid #d4a017;
  border-radius: 10px;
  padding: 23px 20px 23px 65px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 5px 20px rgba(16, 43, 78, 0.06);
  transition: all 0.3s ease;
}

.ssb-features-section .list-sty li::before {
  content: counter(ssb-counter, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102b4e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.ssb-features-section .list-sty li:hover {
  transform: translateY(-5px);
  border-left-color: #102b4e;
  box-shadow: 0 12px 28px rgba(16, 43, 78, 0.13);
}

.ssb-features-section .list-sty li:hover::before {
  background: #d4a017;
  color: #102b4e;
}

/* Residential Training Programme */
.ssb-features-section .pricingTable {
  max-width: 540px;
  margin: 15px auto 0;
  padding: 40px 25px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #102b4e, #194a78);
  border: 2px solid #d4a017;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(16, 43, 78, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ssb-features-section .pricingTable::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -95px;
  right: -65px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.ssb-features-section .pricingTable::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  bottom: -85px;
  left: -50px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.12);
}

.ssb-features-section .pricingTable:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(16, 43, 78, 0.24);
}

.ssb-features-section .pricing-content {
  position: relative;
  z-index: 1;
}

.ssb-features-section .pricing-content h3 {
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.65;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ssb-features-section .pricing-content h3 br:first-of-type {
  display: none;
}

/* Tablet */
@media (max-width: 991px) {
  .ssb-features-section {
    padding: 55px 0;
  }

  .ssb-features-section .section-header {
    font-size: 28px;
  }

  .ssb-features-section .list-sty {
    gap: 14px;
  }

  .ssb-features-section .list-sty li {
    padding: 20px 15px 20px 58px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ssb-features-section {
    padding: 40px 0;
  }

  .ssb-features-section .section-header {
    font-size: 24px;
    margin-bottom: 25px;
    padding: 0 10px 18px;
  }

  .ssb-features-section .list-sty {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ssb-features-section .list-sty li {
    font-size: 14px;
    padding: 19px 15px 19px 58px;
  }

  .ssb-features-section .list-sty li::before {
    left: 14px;
    top: 18px;
  }

  .ssb-features-section .pricingTable {
    padding: 30px 15px;
    margin-top: 5px;
  }

  .ssb-features-section .pricing-content h3 {
    font-size: 22px;
    line-height: 1.6;
  }
}



/* ==================================
   CHANAKYA SSB ACADEMY ABOUT SECTION
================================== */

/* .ssb-about-section {
    padding: 75px 0;
    background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 60%, #edf3f9 100%);
    position: relative;
    overflow: hidden;
} */

.ssb-about-section .row {
  row-gap: 30px;
}

/* About Content */
.ssb-about-content {
  padding: 20px 35px 20px 15px;
}

.ssb-about-label {
  display: inline-block;
  color: #b8860b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ssb-about-title {
  color: #102b4e;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 18px;
}

.ssb-about-line {
  width: 85px;
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(90deg, #102b4e, #d4a017);
  margin-bottom: 25px;
}

.ssb-about-text {
  color: #526174;
  font-size: 15px;
  line-height: 1.95;
  text-align: justify;
  margin: 0;
}

/* Video Card */
.ssb-about-video {
  padding: 15px;
}

.ssb-video-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e0e7ef;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(16, 43, 78, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ssb-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(16, 43, 78, 0.18);
}

/* Video Heading */
.ssb-video-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 5px 3px;
}

.ssb-video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: #102b4e;
  color: #ffffff;
  font-size: 17px;
}

.ssb-video-heading h4 {
  margin: 0 0 5px;
  color: #102b4e;
  font-size: 19px;
  font-weight: 800;
}

.ssb-video-heading p {
  margin: 0;
  color: #718096;
  font-size: 13px;
}

/* Responsive YouTube Video */
.ssb-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #102b4e;
  border-radius: 12px;
}

.ssb-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Tablet */
@media (max-width: 991px) {
  .ssb-about-section {
    padding: 55px 0;
  }

  .ssb-about-content {
    padding: 10px 15px;
  }

  .ssb-about-title {
    font-size: 30px;
  }

  .ssb-about-video {
    max-width: 650px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .ssb-about-section {
    padding: 40px 0;
  }

  .ssb-about-title {
    font-size: 26px;
  }

  .ssb-about-text {
    font-size: 14px;
    line-height: 1.85;
  }

  .ssb-video-card {
    padding: 12px;
    border-radius: 14px;
  }

  .ssb-video-heading h4 {
    font-size: 17px;
  }

  .ssb-video-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}



/* =========================================
   CHANAKYA SSB VIDEO GALLERY
========================================= */

.ssb-video-gallery {
  padding: 75px 0;
  background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.ssb-video-gallery .ssb-gallery-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}

.ssb-video-gallery .ssb-gallery-label {
  display: inline-block;
  color: #b8860b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ssb-video-gallery .ssb-gallery-heading h2 {
  color: #102b4e;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 15px;
}

.ssb-video-gallery .ssb-gallery-heading p {
  color: #66758a;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.ssb-video-gallery .ssb-gallery-divider {
  width: 85px;
  height: 4px;
  border-radius: 10px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, #102b4e, #d4a017);
}

/* Grid Spacing */
.ssb-video-gallery .ssb-gallery-row {
  row-gap: 30px;
}

/* .ssb-video-gallery .ssb-gallery-col {
    display: flex;
} */

/* Video Card */
/* .ssb-video-gallery .ssb-video-item {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 15px;
    box-shadow: 0 7px 24px rgba(16, 43, 78, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease;
} */

.ssb-video-gallery .ssb-video-item:hover {
  transform: translateY(-7px);
  border-color: #d4a017;
  box-shadow: 0 16px 35px rgba(16, 43, 78, 0.16);
}

/* Responsive Video */
.ssb-video-gallery .ssb-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #102b4e;
}

.ssb-video-gallery .ssb-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Caption */
.ssb-video-gallery .ssb-video-caption {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 17px 8px 8px;
}

.ssb-video-gallery .ssb-video-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  height: 38px;
  background: #102b4e;
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.3s ease, color 0.3s ease;
}

.ssb-video-gallery .ssb-video-item:hover .ssb-video-number {
  background: #d4a017;
  color: #102b4e;
}

.ssb-video-gallery .ssb-video-caption h3 {
  color: #102b4e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .ssb-video-gallery {
    padding: 60px 0;
  }

  .ssb-video-gallery .ssb-gallery-heading h2 {
    font-size: 30px;
  }

  .ssb-video-gallery .ssb-gallery-row {
    row-gap: 24px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .ssb-video-gallery {
    padding: 42px 0;
  }

  .ssb-video-gallery .ssb-gallery-heading {
    margin-bottom: 30px;
  }

  .ssb-video-gallery .ssb-gallery-heading h2 {
    font-size: 25px;
  }

  .ssb-video-gallery .ssb-gallery-heading p {
    font-size: 14px;
  }

  .ssb-video-gallery .ssb-video-item {
    padding: 10px;
    border-radius: 12px;
  }

  .ssb-video-gallery .ssb-video-caption {
    padding: 13px 5px 5px;
  }

  .ssb-video-gallery .ssb-video-caption h3 {
    font-size: 15px;
  }
}



/* ==========================================
   CHANAKYA SSB TRAINING SECTION
========================================== */

.ssb-training-section {
  padding: 65px 0;
  background: linear-gradient(180deg, #f3f6fb, #ffffff);
  color: #344256;
  font-size: 15px;
  line-height: 1.9;
  overflow: hidden;
}

.ssb-training-section .container {
  max-width: 1200px;
}

/* Main Heading */
.ssb-training-section .head-mainone {
  color: #ffffff;
  background: linear-gradient(135deg, #102b4e, #194b78);
  border-bottom: 5px solid #d4a017;
  border-radius: 14px;
  padding: 32px 20px;
  margin: 0 0 35px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 28px rgba(16, 43, 78, 0.15);
}

/* Main Content Panels */
.ssb-training-section .siteorigin-widget-tinymce {
  width: 100%;
}

.ssb-training-section .siteorigin-widget-tinymce p {
  background: #ffffff;
  padding: 25px !important;
  margin: 0 0 22px;
  border: 1px solid #e1e8f0;
  /* border-left: 4px solid #d4a017; */
  border-radius: 10px;
  color: #455468 !important;
  font-size: 15px;
  line-height: 1.95;
  box-shadow: 0 5px 18px rgba(16, 43, 78, 0.05);
}

/* Subheadings */
.ssb-training-section .siteorigin-widget-tinymce p>b {
  color: #102b4e;
  font-size: 19px;
  font-weight: 800;
}

.ssb-training-section .siteorigin-widget-tinymce p b[style*="red"] {
  display: inline-block;
  color: #102b4e !important;
  font-size: 25px !important;
  margin-bottom: 10px;
  padding-bottom: 8px;
  /* border-bottom: 3px solid #d4a017; */
}

/* Arrow Icons */
.ssb-training-section .fa-arrow-right {
  color: #c09112;
  margin-right: 7px;
  font-size: 13px;
}

/* Location Heading */
.ssb-training-section h2 {
  color: #102b4e;
  font-size: 29px;
  font-weight: 800;
  margin: 35px 0 28px;
  padding-bottom: 16px;
  position: relative;
}

.ssb-training-section h2::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 4px;
  background: #d4a017;
  border-radius: 5px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* Location Cards */
.ssb-training-section .card {
  height: 100%;
  min-height: 210px;
  padding: 25px 18px;
  margin-bottom: 25px;
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-top: 4px solid #102b4e;
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(16, 43, 78, 0.08);
  transition: all 0.3s ease;
}

.ssb-training-section .card:hover {
  transform: translateY(-6px);
  border-top-color: #d4a017;
  box-shadow: 0 14px 30px rgba(16, 43, 78, 0.14);
}

.ssb-training-section .card p {
  margin: 0;
  color: #536174;
  text-align: center;
  line-height: 2;
  font-size: 14px;
}

.ssb-training-section .card p:first-line {
  color: #102b4e;
  font-weight: 800;
}

/* Air Force, Navy and Board Details */
.ssb-training-section .row>.col-md-12>p {
  line-height: 2;
}

.ssb-training-section .row>.col-md-12>p>b {
  display: inline-block;
  color: #102b4e;
  font-size: 18px;
  margin-top: 12px;
}

/* Assessment Heading */
.ssb-training-section .pb-30,
.ssb-training-section .pd-60 {
  row-gap: 22px;
}

.ssb-training-section .columnone {
  height: 100%;
}

.ssb-training-section .cardheight-1 {
  min-height: 125px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 18px;
  text-align: center;
  background: linear-gradient(135deg, #102b4e, #194b78);
  border: 1px solid #d4a017;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(16, 43, 78, 0.12);
  transition: all 0.3s ease;
}

.ssb-training-section .cardheight-1:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #194b78, #102b4e);
  box-shadow: 0 14px 28px rgba(16, 43, 78, 0.2);
}

.ssb-training-section .cardheight-1 p {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.ssb-training-section .cardheight-1 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ssb-training-section .cardheight-1 a:hover {
  color: #ffdc76;
  text-decoration: underline;
}

/* Assessment Text */
.ssb-training-section .row>.col-md-12>p>b:first-child {
  font-weight: 800;
}

/* Tablet */
@media (max-width: 991px) {
  .ssb-training-section {
    padding: 45px 0;
  }

  .ssb-training-section .head-mainone {
    font-size: 26px;
    padding: 25px 15px;
  }

  .ssb-training-section h2 {
    font-size: 25px;
  }

  .ssb-training-section .card {
    min-height: 190px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .ssb-training-section {
    padding: 30px 0;
    font-size: 14px;
  }

  .ssb-training-section .head-mainone {
    font-size: 21px;
    line-height: 1.8;
    padding: 22px 12px;
    border-radius: 10px;
  }

  .ssb-training-section .siteorigin-widget-tinymce p {
    padding: 18px !important;
    font-size: 14px;
    line-height: 1.85;
  }

  .ssb-training-section .siteorigin-widget-tinymce p b[style*="red"] {
    font-size: 22px !important;
  }

  .ssb-training-section h2 {
    font-size: 23px;
    line-height: 1.4;
  }

  .ssb-training-section .card {
    min-height: auto;
    padding: 22px 15px;
  }

  .ssb-training-section .cardheight-1 {
    min-height: 100px;
  }

  .ssb-training-section .cardheight-1 p {
    font-size: 16px;
  }
}


/* ==========================================
   CHANAKYA SSB ACADEMY FOOD CHART
========================================== */

.food-chart-section {
  padding: 65px 0;
  background: linear-gradient(180deg, #f2f6fb 0%, #ffffff 100%);
  overflow: hidden;
}

/* Heading */
.food-chart-section .head-main {
  color: #ffffff;
  background: linear-gradient(135deg, #102b4e, #1c4b76);
  border-bottom: 5px solid #d4a017;
  border-radius: 12px;
  padding: 25px 15px;
  margin: 0 0 35px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 8px 25px rgba(16, 43, 78, 0.15);
}

/* Table Wrapper */
.food-chart-section .table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(16, 43, 78, 0.10);
  border: 1px solid #dfe7f0;
  -webkit-overflow-scrolling: touch;
}

/* Table */
.food-chart-section .selected_table {
  width: 100%;
  min-width: 950px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  background: #ffffff;
}

/* Table Cells */
.food-chart-section .selected_table td {
  padding: 17px 15px;
  border: none;
  border-right: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  color: #435268;
  font-size: 14px;
  line-height: 1.8;
  vertical-align: middle;
  transition: background 0.2s ease;
}

.food-chart-section .selected_table td:last-child {
  border-right: none;
}

.selected_table b {
  color: #fff
}

.courses-page .selected_table b {
  color: #000000
}

.fact-new .selected_table b {
  color: #000000
}

.food-chart-section .selected_table tr:first-child td b {
  color: #fff;
}

/* Header Row */
.food-chart-section .selected_table tr:first-child td {
  background: #102b4e;
  color: #ffffff;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 4px solid #d4a017;
  padding: 20px 12px;
}

.food-chart-section .selected_table tr:first-child td p {
  margin: 0;
}

.food-chart-section .selected_table tr:first-child td span {
  color: #ffffff;
  font-size: 15px !important;
  line-height: 1.8;
}

/* Day Column */
.food-chart-section .selected_table tr:not(:first-child) td:first-child {
  background: #edf2f8;
  color: #102b4e;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* Alternating Rows */
.food-chart-section .selected_table tr:nth-child(odd):not(:first-child) td {
  background-color: #f8fafc;
}

.food-chart-section .selected_table tr:nth-child(even):not(:first-child) td {
  background-color: #ffffff;
}

/* Row Hover */
.food-chart-section .selected_table tr:not(:first-child):hover td {
  background-color: #fff6dc;
}

/* Remove Default Paragraph Spacing */
.food-chart-section .selected_table td p {
  margin: 0;
}

/* Rounded Top Corners */
.food-chart-section .selected_table tr:first-child td:first-child {
  border-top-left-radius: 11px;
}

.food-chart-section .selected_table tr:first-child td:last-child {
  border-top-right-radius: 11px;
}

/* Final Row */
.food-chart-section .selected_table tr:last-child td {
  border-bottom: none;
}

/* Tablet */
@media (max-width: 991px) {
  .food-chart-section {
    padding: 45px 0;
  }

  .food-chart-section .head-main {
    font-size: 25px;
  }

  .food-chart-section .selected_table td {
    padding: 14px 12px;
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .food-chart-section {
    padding: 35px 0;
  }

  .food-chart-section .head-main {
    font-size: 21px;
    padding: 20px 12px;
    border-radius: 9px;
  }

  .food-chart-section .table-wrapper {
    border-radius: 9px;
  }

  .food-chart-section .selected_table {
    min-width: 900px;
  }

  .food-chart-section .selected_table td {
    padding: 13px 10px;
    font-size: 13px;
  }
}



/* =========================================
   WHY CHOOSE US - CHANAKYA DEFENCE COLLEGE
========================================= */

.why-choose-section {
  padding: 55px 0;
  background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
  color: #35445a;
  font-size: 15px;
  line-height: 1.85;
}

.why-choose-section .textwidget {
  width: 100%;
}

/* Section headings */
.why-choose-section .cp-heading {
  position: relative;
  margin: 35px 0 22px;
  padding: 17px 22px;
  background: linear-gradient(135deg, #102b4e, #1d4b75);
  color: #fff;
  border-left: 5px solid #d4a017;
  border-radius: 7px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 5px 18px rgba(16, 43, 78, 0.12);
}

.why-choose-section .cp-heading:first-child {
  margin-top: 0;
}

.why-choose-section .cp-heading i {
  margin-right: 9px;
  color: #f1c453;
}

/* Main numbered list */
.why-choose-section .cp-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: cp-counter;
}

.why-choose-section .cp-list>li {
  position: relative;
  margin: 0 0 17px;
  padding: 20px 22px 20px 65px;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(16, 43, 78, 0.05);
  counter-increment: cp-counter;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-choose-section .cp-list>li::before {
  content: counter(cp-counter);
  position: absolute;
  top: 20px;
  left: 19px;
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102b4e;
  color: #fff;
  border: 2px solid #d4a017;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.why-choose-section .cp-list>li:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 23px rgba(16, 43, 78, 0.10);
}

.why-choose-section strong {
  color: #102b4e;
  font-weight: 800;
}

/* Nested lists */
.why-choose-section .cp-sub {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.why-choose-section .cp-sub li {
  position: relative;
  margin: 8px 0;
  padding: 8px 12px 8px 32px;
  background: #f5f8fc;
  border-left: 3px solid #d4a017;
  border-radius: 4px;
}

.why-choose-section .cp-sub li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 11px;
  top: 9px;
  color: #b38613;
  font-size: 13px;
}

/* Training sections */
.why-choose-section .cp-training-block {
  margin-top: 18px;
  padding: 15px 18px;
  background: #f7f9fc;
  border: 1px solid #e0e8f1;
  border-radius: 8px;
}

.why-choose-section .cp-training-block h4 {
  margin: 0 0 10px;
  color: #102b4e;
  font-size: 17px;
  font-weight: 800;
}

.why-choose-section .cp-training-block h4 i {
  margin-right: 7px;
  color: #c29212;
}

.why-choose-section .cp-training-block .cp-sub {
  margin-top: 0;
}

/* Necessity and selection cards */
.why-choose-section .cp-info-card {
  margin: 25px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(16, 43, 78, 0.07);
}

.why-choose-section .cp-info-card .cp-heading {
  margin: 0 0 18px;
}

.why-choose-section .cp-info-card p {
  margin: 0 0 15px;
}

.why-choose-section .cp-info-card h4 {
  margin: 18px 0 10px;
  color: #102b4e;
  font-size: 17px;
  font-weight: 800;
}

.why-choose-section .cp-info-card h4 i {
  margin-right: 7px;
  color: #c29212;
}

/* Numbered selection steps */
.why-choose-section .cp-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: selection-step;
}

.why-choose-section .cp-steps li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 13px 15px 13px 50px;
  background: #f5f8fc;
  border: 1px solid #e0e8f1;
  border-radius: 7px;
  counter-increment: selection-step;
}

.why-choose-section .cp-steps li::before {
  content: counter(selection-step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #102b4e;
  color: #fff;
  font-weight: 700;
  border: 2px solid #d4a017;
}

/* Responsive design */
@media (max-width: 767px) {
  .why-choose-section {
    padding: 35px 0;
    font-size: 14px;
  }

  .why-choose-section .cp-heading {
    margin-top: 25px;
    padding: 14px 15px;
    font-size: 21px;
  }

  .why-choose-section .cp-list>li {
    padding: 16px 14px 16px 14px;
    margin-bottom: 13px;
  }

  .why-choose-section .cp-list>li::before {
    top: -11px;
    left: 0px;
    width: 27px;
    height: 27px;
  }

  .why-choose-section .cp-sub li {
    padding: 8px 9px 8px 28px;
  }

  .why-choose-section .cp-sub li::before {
    left: 9px;
  }

  .why-choose-section .cp-info-card {
    padding: 16px;
  }

  .why-choose-section .cp-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .why-choose-section .cp-heading {
    font-size: 19px;
  }

  .why-choose-section .cp-training-block {
    padding: 12px;
  }

  .why-choose-section .cp-training-block h4 {
    font-size: 16px;
  }
}

/* ===== Daily Schedule + Mess Menu ===== */
.sch-row,
.mess-row {
  --navy: #0b1f3f;
  --gold: #d4a73a;
  --ink: #38465c;
  --line: #e3e8f0;
  --mist: #f6f8fb;
}

/* ---------- schedule cards ---------- */
.sch-row {
  margin-bottom: 20px
}

.sch-row>[class*="col-"] {
  margin-bottom: 28px
}

.sch-card {
  --accent: #de1178;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 31, 63, .12);
  transition: transform .3s, box-shadow .3s;
}

.sch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(11, 31, 63, .2);
}

.sch-weekday {
  --accent: #de1178
}

.sch-sat {
  --accent: #f98039
}

.sch-sun {
  --accent: #31a90a
}

.sch-title {
  margin: 0;
  padding: 16px 14px;
  text-align: center;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--accent);
}

.sch-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.sch-title span:after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  opacity: .8;
}

.sch-scroll {
  width: 100%;
  overflow-x: auto;
  padding: 8px 14px 14px;
}

.sch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.sch-table td {
  padding: 10px 8px;
  vertical-align: top;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}

.sch-table tr:last-child td {
  border-bottom: none
}

/* time column */
.sch-table td:first-child {
  width: 42%;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  position: relative;
  padding-left: 16px;
}

.sch-table td:first-child:before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* activity column */
.sch-table td:last-child {
  width: 58%
}

.sch-table tr:nth-child(even) td {
  background: var(--mist)
}

.sch-table tr:hover td {
  background: #fff8e6
}

/* ---------- mess menu ---------- */
.mess-row {
  margin-top: 10px
}

.mess-title {
  position: relative;
  margin: 10px 0 30px;
  padding-bottom: 14px;
  text-align: center;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--navy);
}

.mess-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.mess-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 31, 63, .12);
}

.mess-table {
  width: 100%;
  min-width: 820px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
  background: #fff;
}

.mess-table th {
  padding: 14px 12px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-bottom: 4px solid var(--gold);
}

.mess-table td {
  width: auto !important;
  padding: 12px 14px;
  vertical-align: top;
  color: var(--ink);
  border: 1px solid var(--line);
}

.mess-table b {
  color: #fff;
}

.mess-table tr:nth-child(even) td {
  background: var(--mist)
}

.mess-table tr:hover td {
  background: #fff8e6
}

.mess-table p {
  margin: 0
}

.mess-table p b {
  color: #000;
}

/* day column */
.mess-table td:first-child {
  background: #fdf6e3 !important;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  border-right: 3px solid var(--gold);
}

/* ---------- tablet & mobile ---------- */
@media (max-width:991px) {
  .sch-row>[class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sch-table td:first-child {
    width: 38%
  }
}

@media (max-width:575px) {
  .sch-title {
    font-size: 16px
  }

  .sch-table {
    font-size: 14px
  }

  .sch-table td:first-child {
    white-space: normal
  }

  .mess-table {
    font-size: 14px
  }
}



.exams-details {
  --navy: #0b1f3f;
  --navy2: #13305f;
  --gold: #d4a73a;
  --red: #b31516;
  /* brand red, used only for the warning note */
  --ink: #38465c;
  --line: #e3e8f0;
  --mist: #f6f8fb;
  padding: 70px;
  background: #fff;
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
}

/* ---------- headings ---------- */
.exams-details h2,
.exams-details h3 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--navy);
  line-height: 1.35;
}

.exams-details h3 {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 25px);
  margin: 46px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.exams-details>.container h3:first-child {
  margin-top: 0
}

.exams-details h2 {
  font-weight: 900;
  font-size: 26px;
  text-align: center;
  position: relative;
  padding-bottom: 18px;
  /* margin:64px 0 30px; */
}

.exams-details h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.exams-details h3.text-center {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  border-bottom: none;
  margin: 0 0 22px;
}

.exams-details h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 12px;
}

/* ---------- text ---------- */
.exams-details p,
.exams-details .about-text {
  font-size: 17.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.exams-details .about-text {
  text-align: justify
}

.exams-details strong,
.exams-details b {
  color: var(--navy)
}

/* ---------- bullet lists ---------- */
.exams-details .list-disc,
.exams-details .list-two {
  list-style: none;
  padding: 0;
  margin: 12px 0 22px;
}

.exams-details .list-disc li,
.exams-details .list-two>li {
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  padding: 6px 0 6px 26px;
}

.exams-details .list-disc li:before,
.exams-details .list-two>li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.exams-details .list-two>.form-table {
  margin: 10px 0 18px
}

/* ---------- tables ---------- */
.exams-details .form-table {
  margin: 14px 0 26px
}

.exams-details .selected_table {
  width: 100% !important;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.exams-details .selected_table td {
  width: auto !important;
  padding: 12px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.exams-details .selected_table tr:nth-child(even) {
  background: var(--mist)
}

.exams-details .selected_table td p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 10px
}

.exams-details .selected_table td p:last-child {
  margin-bottom: 0
}

.exams-details .selected_table td.text-center {
  text-align: right
}

/* header rows: red inline rows become navy */
.exams-details .selected_table tr[style],
.exams-details .selected_table tr:first-child:has(td[width="120"] > b) {
  background: var(--navy) !important;
}

.exams-details .selected_table tr[style] td,
.exams-details .selected_table tr:first-child:has(td[width="120"] > b) td,
.exams-details .selected_table tr:first-child:has(td[width="120"] > b) b {
  color: #fff !important;
  border-color: var(--navy);
  font-weight: 600;
}

/* syllabus table: subject on the left, topics on the right */
.exams-details .table-txt {
  border: 1px solid var(--line)
}

.exams-details .table-txt td:first-child {
  width: 26% !important;
  background: var(--mist);
}

.exams-details .table-txt tr:nth-child(even) {
  background: transparent
}

.exams-details .table-txt h4 {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

/* "SYLLABUS FOR NDA": its text is white inline, so give it a navy banner */
.exams-details .top-head {
  background: var(--navy);
  border-radius: 12px;
  /* padding: 20px 24px; */
  /* margin: 60px 0 24px; */
  font-size: 26px;
}

.exams-details .top-head:after {
  display: none
}

/* ---------- physical standards ---------- */
.exams-details .guidelines-title {
  font-size: clamp(19px, 2.3vw, 24px)
}

.exams-details .guidelines-text {
  background: var(--mist);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  font-size: 16.5px;
}

.exams-details .guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.exams-details .guidelines-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
}

.exams-details .fa-check-circle {
  color: var(--gold);
  margin-right: 8px
}

/* two medical cards side by side */
.exams-details .medical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  /* both cards get equal height */
  margin-bottom: 24px;
}

.exams-details .medical-grid .medical-card {
  margin: 0;
  /* the grid gap handles spacing */
  height: 100%;
}

.exams-details .medical-grid .medical-card p {
  text-align: left;
}

/* stack on tablet and mobile */
@media (max-width:991px) {
  .exams-details .medical-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- leadership block (the one dark block on the page) ---------- */
.exams-details .nda-leadership-box {
  /* background: linear-gradient(135deg, var(--navy), var(--navy2)); */
  color: #000000;
  border-radius: 18px;
  /* padding: 40px; */
  margin-top: 40px;
}

/* .exams-details .nda-leadership-box h3,
.exams-details .nda-leadership-box h4{color:#fff} */
.exams-details .nda-section-header i {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(212, 167, 58, .18);
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .exams-details .nda-leadership-box p{color:#e8eefb} */
.exams-details .leadership-card {
  /*background: rgba(255, 255, 255, .07); */
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  /* padding: 26px; */
  /* margin-top: 22px;*/
}

.exams-details .leadership-card h4 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.exams-details .leadership-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exams-details .leadership-list li {
  position: relative;
  padding: 12px 0 12px 48px;
  font-size: 16.5px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.exams-details .leadership-list li:last-child {
  border-bottom: none
}

.exams-details .leadership-list li>i {
  position: absolute;
  left: 0;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 167, 58, .18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.exams-details .leadership-list strong {
  color: var(--gold)
}

/* ---------- tablet & mobile ---------- */
@media (max-width:767px) {
  .exams-details {
    padding: 48px 0
  }

  .exams-details .about-text {
    text-align: left
  }

  .exams-details p,
  .exams-details .about-text {
    font-size: 16px
  }

  .exams-details .selected_table {
    font-size: 15px
  }

  .exams-details .table-txt,
  .exams-details .table-txt tbody,
  .exams-details .table-txt tr,
  .exams-details .table-txt td {
    display: block;
    width: 100% !important;
  }

  .exams-details .table-txt td:first-child {
    padding: 12px 16px
  }

  .exams-details .medical-card {
    padding: 20px 16px
  }

  .exams-details .nda-leadership-box {
    padding: 26px 16px
  }

  .exams-details .leadership-card {
    padding: 18px 14px
  }

  .exams-details .top-head {
    padding: 16px 14px
  }


  .form-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }


  .form-table table.selected_table {
    min-width: 560px;
    width: 100% !important;
  }


  .form-table {
    background:
      linear-gradient(to left, rgba(11, 31, 63, .12), transparent 18px) right/18px 100% no-repeat;
  }

  .courses-page .cp-sub {
    margin: 8px 0 0 0px;
  }


}



:root {
  --fd-navy: #0b1b45;
  --fd-navy-2: #13275e;
  --fd-gold: #f7b21a;
  --fd-white: #fff;
  --fd-text: #4b5563;
  --fd-green: #1faa59;
  --fd-blue: #1769e0;
}

.fd-wrap * {
  box-sizing: border-box;
  margin: 0 0 2% 0;
  padding: 0
}

.fd-wrap {
  font-family: 'Poppins', sans-serif;
  color: var(--fd-navy);
  line-height: 1.5
}

.fd-wrap a {
  text-decoration: none
}

.fd-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 60px
}

.fd-script {
  font-family: 'Caveat', cursive;
  color: var(--fd-gold);
  font-weight: 700;
  line-height: 1.05
}

.fd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fd-gold);
  margin-bottom: 10px
}

/* ---------- 1. HERO ---------- */
.fd-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 40, .96) 0%, rgba(7, 16, 40, .82) 45%, rgba(7, 16, 40, .15) 100%),
    url("../img/fees-bg.jpg") right center/cover no-repeat,
    linear-gradient(135deg, #0b1b45, #1b3a7a 60%, #d9822b);
  padding: 70px 0 60px;
}

.fd-hero-inner {
  display: flex;
  align-items: center;
}

.fd-hero-text {
  max-width: 620px
}

.fd-hero h1 {
     font-weight: 700;
    line-height: 0.9;
    font-size: 78px;
    /* letter-spacing: -1px; */
    text-transform: uppercase;
}

.fd-hero h1 span {
  color: var(--fd-gold)
}

.fd-hero p {
  font-size: 15px;
  color: #dbe3f5;
  margin-bottom: 26px;
  max-width: 480px
}

.fd-pills {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: rgba(10, 22, 55, .55);
  padding: 14px 8px;
  margin-bottom: 30px;
  max-width: 580px
}

.fd-pill {
  flex: 1 1 25%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  border-right: 1px solid rgba(255, 255, 255, .2)
}

.fd-pill:last-child {
  border-right: 0
}

.fd-pill i {
  font-size: 24px;
  color: var(--fd-gold)
}

.fd-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.fd-btn-gold {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #ffc93c, #f3a312);
  color: var(--fd-navy);
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(247, 178, 26, .35);
  transition: .25s
}

.fd-btn-gold:hover {
  transform: translateY(-2px)
}

.fd-btn-gold .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--fd-navy);
  color: var(--fd-gold);
  display: grid;
  place-items: center;
  font-size: 17px
}

.fd-btn-gold b {
  display: block;
  font-size: 16px;
  margin: 0;
  font-weight: 700
}

.fd-btn-gold small {
  font-size: 11px;
  font-weight: 500
}

.fd-or {
  font-size: 12px;
  font-weight: 600;
  color: #cfd8ee
}

.fd-btn-line {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  padding: 12px 26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  transition: .25s
}

.fd-btn-line:hover {
  background: rgba(255, 255, 255, .15)
}

.fd-btn-line i {
  font-size: 20px
}

.fd-btn-line b {
  display: block;
  font-size: 15px;
  color: #fff;

}

.fd-btn-line small {
  font-size: 12px
}

.fd-hero-script {
  position: absolute;
  right: 60px;
  bottom: 40px;
  font-size: 38px;
  text-align: right;
  transform: rotate(-6deg)
}

/* ---------- 2. WHY CHANAKYA ---------- */
.fd-why {
  background: #fff;
  padding: 60px 0
}

.fd-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 34px;
  align-items: center
}

.fd-why h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px
}

.fd-why p {
  font-size: 13.5px;
  color: var(--fd-text);
  margin-bottom: 22px
}

.fd-btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fd-navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: .25s
}

.fd-btn-navy:hover {
  background: var(--fd-navy-2)
}

.fd-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(11, 27, 69, .1);
  padding: 10px 0
}

.fd-icon {
  text-align: center;
  padding: 22px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3
}

.fd-icon i {
  display: block;
  font-size: 30px;
  color: var(--fd-navy);
  margin-bottom: 10px
}

.fd-why-img {
  height: 300px;
  border-radius: 6px;
  background: url("../img/why-chanakya.jpg") center/cover, linear-gradient(135deg, #1b3a7a, #6b8fc9);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%)
}

/* ---------- 3. GET IN TOUCH ---------- */
.fd-touch {
  background: #f4f7fc;
  padding: 60px 0; 
  margin-bottom: 0;
}

.fd-touch-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center
}

.fd-touch h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px
}

.fd-touch p {
  font-size: 13.5px;
  color: var(--fd-text);
  max-width: 300px
}

.fd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.fd-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 18px 22px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(11, 27, 69, .09)
}

.fd-card .circ {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #fff;
  font-size: 24px
}

.fd-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px
}

.fd-card p {
  font-size: 12px;
  color: var(--fd-text);
  max-width: none;
  margin-bottom: 16px
}

.fd-card .btn {
  display: block;
  padding: 10px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid transparent
}

.fd-card .num {
  font-size: 13px;
  font-weight: 700
}

.fd-card.wa .circ,
.fd-card.wa .btn {
  background: var(--fd-green);
  color: #fff
}

.fd-card.cl .circ,
.fd-card.cl .btn {
  background: var(--fd-blue);
  color: #fff
}

.fd-card.qe .circ {
  background: var(--fd-navy)
}

.fd-card.qe .btn {
  border-color: var(--fd-navy);
  color: var(--fd-navy);
  background: #fff
}

/* ---------- 4. COMMITMENT ---------- */
.fd-commit {
  position: relative;
  color: #fff;
  padding: 70px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 16, 40, .9) 0%, rgba(7, 16, 40, .35) 55%, rgba(7, 16, 40, .2) 100%),
    url("../img/commitment.jpg") center/cover no-repeat,
    linear-gradient(135deg, #0b1b45, #4a78b8);
}

.fd-commit-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 300px
}

.fd-commit h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px
}

.fd-commit p {
  font-size: 13.5px;
  color: #dbe3f5;
  max-width: 400px;
  margin-bottom: 14px
}

.fd-commit .fd-script {
  font-size: 30px;
  margin-bottom: 26px;
  display: block
}

.fd-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600
}

.fd-tag i {
  font-size: 22px;
  color: var(--fd-gold)
}

.fd-tag span {
  border-left: 1px solid rgba(255, 255, 255, .4);
  padding-left: 12px
}

.fd-commit-right {
  text-align: center
}

.fd-commit-right .fd-script {
  font-size: 46px;
  transform: rotate(-5deg);
  margin-bottom: 12px
}

.fd-commit-right p {
  margin: 0 auto 18px;
  font-size: 13px;
  text-align: center
}

.fd-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fd-navy);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: .25s
}

.fd-btn-dark:hover {
  background: var(--fd-navy-2)
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:991px) {
  .fd-hero h1 {
    font-size: 52px
  }

  .fd-hero-script {
    display: none
  }

  .fd-why-grid,
  .fd-touch-grid,
  .fd-commit-inner {
    grid-template-columns: 1fr
  }

  .fd-why-img {
    -webkit-mask-image: none;
    mask-image: none;
    height: 240px
  }

  .fd-touch p {
    max-width: none
  }

  .fd-commit-right {
    text-align: left
  }

  .fd-commit-right p {
    margin-left: 0;
    text-align: left
  }
}

@media(max-width:767px) {
  .fd-hero {
    padding: 35px 0 0
  }

  .fd-hero h1 {
    font-size: 42px
  }

  .fd-pills {
    padding: 10px;
    margin-bottom: 10px;
  }

  .fd-pill {
   /* flex: 1 1 50%; */
        padding: 8px;
        border-right: 0;
        display: grid;
        gap: 0;
        margin: 0 auto;
        text-align: center;
  }

  .fd-cta {
   flex-direction: column;
        /* align-items: stretch; */
        gap: 0;
        text-align: center;
    
  }.fd-container{
    padding: 0 10px
  }
  .fd-hero p{
    font-size: 16px; 
    color: #dbe3f5;
    margin-bottom: 5px; 
    /* max-width: 480px;*/
  }

  .fd-or {
    text-align: center
  }

  .fd-cards {
    grid-template-columns: 1fr
  }

  .fd-icons {
    grid-template-columns: repeat(2, 1fr)
  }

  .fd-why h2,
  .fd-touch h2 {
    font-size: 28px
  }

  .fd-commit h2 {
    font-size: 30px
  }
}