/* Why Choose Us — colorful professional cards */

.why-choose-section {
  --wc-gold: #d9a028;
  --wc-gold-soft: #fff8e6;
  --wc-navy: #0a225f;
  --wc-navy-soft: #e8eef8;
  --wc-teal: #0d7c7c;
  --wc-teal-soft: #e6f6f6;
  --wc-maroon: #8b1f35;
  --wc-maroon-soft: #fbecef;
  --wc-amber: #c47d0e;
  --wc-amber-soft: #fff4e0;
  --wc-indigo: #3b4f9a;
  --wc-indigo-soft: #eceffd;

  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(254, 185, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(10, 34, 95, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #f4f6fb 0%, #eef1f8 45%, #f8f4ec 100%);
  padding: 56px 0 64px;
  overflow: hidden;
}

.why-choose-section .why-choose-header {
  padding-bottom: 36px;
}

.why-choose-section .why-choose-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wc-navy);
  background: rgba(254, 185, 0, 0.22);
  border: 1px solid rgba(254, 185, 0, 0.45);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

.why-choose-section .section-header h2 {
  color: #12203d;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 10px;
}

.why-choose-section .section-header h2::before,
.why-choose-section .section-header h2::after {
  background: linear-gradient(90deg, var(--wc-gold), #feb900);
  height: 3px;
  width: 40px;
  vertical-align: middle;
}

.why-choose-section .section-header p {
  color: #4a5568;
  font-size: 15px;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

.why-choose-grid {
  margin-top: 8px;
}

.why-choose-card {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(18, 32, 61, 0.07);
  box-shadow: 0 8px 28px rgba(18, 32, 61, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.why-choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--wc-gold));
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(18, 32, 61, 0.12);
  border-color: rgba(18, 32, 61, 0.1);
}

.why-choose-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--card-icon-bg, var(--wc-gold-soft));
  color: var(--card-accent, var(--wc-gold));
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.why-choose-card h3 {
  color: #12203d;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--card-accent-soft, #f0e6c8);
  display: block;
  line-height: 1.3;
}

.why-choose-card p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.why-choose-card p span {
  color: var(--card-accent, var(--wc-gold));
  font-weight: 700;
}

/* Accent themes */
.why-choose-card--gold {
  --card-accent: #c99212;
  --card-accent-soft: #f5e6b8;
  --card-icon-bg: var(--wc-gold-soft);
}

.why-choose-card--navy {
  --card-accent: var(--wc-navy);
  --card-accent-soft: #c5d0e8;
  --card-icon-bg: var(--wc-navy-soft);
}

.why-choose-card--teal {
  --card-accent: var(--wc-teal);
  --card-accent-soft: #b8e4e4;
  --card-icon-bg: var(--wc-teal-soft);
}

.why-choose-card--maroon {
  --card-accent: var(--wc-maroon);
  --card-accent-soft: #e8b8c4;
  --card-icon-bg: var(--wc-maroon-soft);
}

.why-choose-card--amber {
  --card-accent: var(--wc-amber);
  --card-accent-soft: #f0d4a0;
  --card-icon-bg: var(--wc-amber-soft);
}

.why-choose-card--indigo {
  --card-accent: var(--wc-indigo);
  --card-accent-soft: #c5ceef;
  --card-icon-bg: var(--wc-indigo-soft);
}

.why-choose-card--gold .why-choose-card__icon { color: #a8780a; }
.why-choose-card--navy .why-choose-card__icon { color: var(--wc-navy); }
.why-choose-card--teal .why-choose-card__icon { color: var(--wc-teal); }
.why-choose-card--maroon .why-choose-card__icon { color: var(--wc-maroon); }
.why-choose-card--amber .why-choose-card__icon { color: var(--wc-amber); }
.why-choose-card--indigo .why-choose-card__icon { color: var(--wc-indigo); }

@media (max-width: 991px) {
  .why-choose-section {
    padding: 44px 0 52px;
  }

  .why-choose-card {
    padding: 24px 20px 22px;
  }
}

@media (max-width: 576px) {
  .why-choose-section {
    padding: 36px 0 44px;
  }

  .why-choose-section .section-header h2::before,
  .why-choose-section .section-header h2::after {
    width: 28px;
  }

  .why-choose-card__icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .why-choose-card h3 {
    font-size: 1.1rem;
  }
}
/* Professional content pages — matches FIRST IAS brand */

.cp-section {
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 5% 0%, rgba(254, 185, 0, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.cp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.cp-breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.cp-breadcrumb a {
  color: #0a225f;
  text-decoration: none;
}

.cp-breadcrumb a:hover {
  color: #feb900;
}

.cp-hero-title {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 700;
  color: #12203d;
  line-height: 1.2;
  margin: 0 0 16px;
}

.cp-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 32px;
}

.cp-prose {
  margin-bottom: 40px;
}

.cp-prose-block {
  margin-bottom: 28px;
}

.cp-prose-block h2 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: #12203d;
  margin: 0 0 14px;
  line-height: 1.3;
}

.cp-prose-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin: 0 0 14px;
}

.cp-prose-block p:last-child {
  margin-bottom: 0;
}

.cp-prose-block strong {
  color: #0a225f;
}

.cp-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
}

.cp-card {
  background: #fff;
  border: 1px solid rgba(18, 32, 61, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 6px 22px rgba(18, 32, 61, 0.06);
  border-top: 3px solid #feb900;
}

.cp-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #12203d;
  margin: 0 0 10px;
}

.cp-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #4a5568;
  margin: 0;
}

.cp-list {
  background: #fff;
  border-radius: 14px;
  padding: 24px 24px 24px 28px;
  border: 1px solid rgba(18, 32, 61, 0.08);
  margin-bottom: 36px;
}

.cp-list h2 {
  font-size: 1.15rem;
  color: #12203d;
  margin: 0 0 14px;
}

.cp-list ul {
  margin: 0;
  padding-left: 18px;
}

.cp-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #475569;
}

.cp-list li strong {
  color: #0a225f;
}

.cp-contact-panel {
  display: grid;
  gap: 24px;
  background: linear-gradient(135deg, #0a225f 0%, #12203d 100%);
  border-radius: 18px;
  padding: 28px 24px;
  color: #fff;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .cp-contact-panel {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    padding: 32px 30px;
  }
}

.cp-contact-panel h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #fff;
}

.cp-contact-panel p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

.cp-contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cp-contact-links li {
  margin-bottom: 10px;
  font-size: 15px;
}

.cp-contact-links a {
  color: #feb900;
  text-decoration: none;
  font-weight: 600;
}

.cp-contact-links a:hover {
  text-decoration: underline;
}

.cp-form-box {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 22px 18px;
}

.cp-form-box h3 {
  font-size: 1.1rem;
  color: #12203d;
  margin: 0 0 4px;
  text-align: center;
}

.cp-form-box .cp-form-sub {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

.cp-form-box .form-control {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  margin-bottom: 12px;
  font-size: 14px;
}

.cp-form-box .btn-default,
.cp-form-box input[type="submit"] {
  width: 100%;
  background: #feb900;
  border: none;
  color: #12203d;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.cp-form-box .btn-default:hover,
.cp-form-box input[type="submit"]:hover {
  background: #e5a800;
}

.cp-form-box .down-arrow {
  background-color: #fff;
}
/* FIRST IAS — Homepage infinite faculty card slider */

.fi-faculty-slider {
  background: linear-gradient(180deg, #faf8f3 0%, #ffffff 100%);
  padding: 28px 0 22px;
  border-top: 1px solid #eee6d4;
  border-bottom: 1px solid #eee6d4;
  overflow: hidden;
}
.fi-faculty-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.fi-faculty-slider-title h2 {
  font-family: var(--font-secondary, "Work Sans", sans-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 0 0 4px;
  text-transform: none;
}
.fi-faculty-slider-title p {
  margin: 0;
  color: #5a6475 !important;
  font-size: .95rem;
}
.fi-faculty-slider-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary, #feb900);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 16px;
  border-radius: 24px;
  transition: background .2s, color .2s;
}
.fi-faculty-slider-all:hover {
  background: #ffc732;
  color: #1a1a1a;
}

.fi-faculty-slider-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.fi-faculty-slider-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 6px 12px 12px;
  animation: fiFacultyCardScroll 45s linear infinite;
  will-change: transform;
}
.fi-faculty-slider-marquee:hover .fi-faculty-slider-track {
  animation-play-state: paused;
}

.fi-faculty-slide-card {
  flex: 0 0 auto;
  width: 230px;
  background: #fff;
  border: 1px solid #eee6d4;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fi-faculty-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.14);
  color: inherit;
  text-decoration: none;
}
.fi-faculty-slide-photo {
  width: 100%;
  height: 150px;
  background: #efe6c8;
  overflow: hidden;
}
.fi-faculty-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fi-faculty-slide-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-secondary, "Work Sans", sans-serif);
  font-size: 1.8rem;
  font-weight: 700;
}
.fi-faculty-slide-body {
  padding: 12px 14px 14px;
  text-align: center;
}
.fi-faculty-slide-body h3 {
  font-family: var(--font-secondary, "Work Sans", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 1.25;
}
.fi-faculty-slide-body p {
  margin: 0 0 6px;
  font-size: .74rem;
  line-height: 1.35;
  color: #5a6475 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.fi-faculty-slide-exp {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: #8a6d00;
}
.fi-faculty-slide-exp i {
  color: var(--color-primary, #feb900);
}

@keyframes fiFacultyCardScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .fi-faculty-slider { padding: 22px 0 18px; }
  .fi-faculty-slider-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 14px;
    gap: 12px;
  }
  .fi-faculty-slider-title {
    text-align: center;
    width: 100%;
  }
  .fi-faculty-slider-title h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }
  .fi-faculty-slider-title p {
    font-size: .88rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.4;
  }
  .fi-faculty-slider-all {
    margin: 0 auto;
    padding: 8px 18px;
    font-size: .84rem;
  }
  .fi-faculty-slide-card { width: 168px; }
  .fi-faculty-slide-photo { height: 112px; }
  .fi-faculty-slide-body { padding: 10px 10px 12px; }
  .fi-faculty-slide-body h3 { font-size: .9rem; }
  .fi-faculty-slider-track {
    gap: 12px;
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fi-faculty-slider-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
  }
  .fi-faculty-slider-track .fi-faculty-slide-clone {
    display: none;
  }
}
