/* ==========================================================================
   Exam Planet — modern theme layer
   Sits on top of bootstrap.css / w3.css / style.css and restyles the
   homepage content without touching existing IDs, classes or scripts
   that JS/ads depend on.
   ========================================================================== */

:root {
  --ep-primary: #2b05df;
  --ep-primary-dark: #1e025b;
  --ep-accent: #a454fd;
  --ep-blue: #0e35f6;
  --ep-ink: #171422;
  --ep-muted: #6b6478;
  --ep-bg: #f6f5fb;
  --ep-card: #ffffff;
  --ep-border: #e8e5f3;
  --ep-radius: 16px;
  --ep-shadow: 0 10px 30px rgba(30, 2, 91, 0.08);
  --ep-shadow-hover: 0 16px 40px rgba(30, 2, 91, 0.14);
  font-family: "Poppins", "Roboto", sans-serif;
}

body {
  background-color: var(--ep-bg);
  font-family: "Roboto", sans-serif;
}

/* ---------- generic section shell ---------- */
.ep-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px;
}

.ep-section + .ep-section {
  padding-top: 0;
}

.ep-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--ep-ink);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ep-section-title span {
  background: linear-gradient(135deg, var(--ep-accent), var(--ep-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ep-section-rule {
  width: 64px;
  height: 4px;
  margin: 0 auto 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ep-accent), var(--ep-primary));
}

/* ---------- hero banner (Hindi announcement) ---------- */
.ep-hero-banner {
  background: linear-gradient(135deg, var(--ep-primary-dark), var(--ep-primary) 60%, var(--ep-accent));
  color: #fff;
  border-radius: var(--ep-radius);
  margin: 24px 16px 0;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--ep-shadow);
}

.ep-hero-banner p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 500;
}

.ep-hero-banner a#blink {
  display: inline-block;
  background: #ffffff;
  color: var(--ep-primary-dark) !important;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ep-hero-banner a#blink:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

/* ---------- feature / promo image tiles ---------- */
.ep-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 16px 0;
}

.ep-tile-grid a {
  display: block;
  border-radius: var(--ep-radius);
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ep-tile-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-hover);
}

.ep-tile-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.ep-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px auto 0;
  max-width: 1180px;
  padding: 0 20px;
}

.ep-quad-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ep-quad-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-hover);
}

.ep-quad-grid img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .ep-tile-grid, .ep-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ep-tile-grid, .ep-quad-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- who-we-serve card grid (coachings / schools / ...) ---------- */
.ep-services {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.ep-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ep-services-grid .column {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  background: var(--ep-card) !important;
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 28px 20px !important;
  text-align: center;
  box-shadow: var(--ep-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ep-services-grid .column:hover {
  transform: translateY(-6px);
  box-shadow: var(--ep-shadow-hover);
  border-color: var(--ep-accent);
  background: var(--ep-card) !important;
}

.ep-services-grid .column h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ep-ink);
  margin-bottom: 10px;
}

.ep-services-grid .column p {
  color: var(--ep-muted) !important;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.ep-services-grid .column img {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .ep-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ep-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- info / content blocks (amethyst boxes) ---------- */
.ep-info-block {
  background: var(--ep-card) !important;
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 26px 30px;
  margin-bottom: 20px;
  box-shadow: var(--ep-shadow);
}

.ep-info-block h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ep-primary) !important;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 4px solid var(--ep-accent);
}

.ep-info-block p {
  color: var(--ep-muted);
  line-height: 1.75;
  margin: 0;
}

/* ---------- call-to-action banner ---------- */
.ep-cta {
  background: linear-gradient(135deg, var(--ep-primary-dark), var(--ep-primary));
  border-radius: var(--ep-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--ep-shadow);
}

.ep-cta h1 {
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem !important;
  color: #fff !important;
  font-style: normal !important;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  cursor: pointer;
}

/* ---------- ad slot framing ---------- */
.ep-ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ep-card);
  border: 1px dashed var(--ep-border);
  border-radius: 12px;
  padding: 10px;
}

.ep-ad-slot small {
  display: block;
  color: var(--ep-muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ---------- footer / info section ---------- */
.info_section.layout_padding {
  background: var(--ep-primary-dark);
  color: #d8d3ea;
  padding: 50px 0 30px;
}

.info_section .info_social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.info_section .info_social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.info_section .info_social a:hover {
  background: var(--ep-accent);
  transform: translateY(-3px);
}

.info_section .info_social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.info_section .w3-container a.w3-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 18px;
  margin: 4px !important;
  font-size: 0.85rem;
  display: inline-block;
}

.info_section .w3-container a.w3-btn:hover {
  background: var(--ep-accent) !important;
}

.info_section .w3-container {
  text-align: center;
  margin-bottom: 24px !important;
}

.info_section > .container > div:last-child p {
  text-align: center;
  color: #b6adcf;
  font-size: 0.85rem;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto;
}

.footer_section {
  background: #130044;
}

.footer_section p {
  color: #9d93bd;
  text-align: center;
  padding: 16px 0;
  margin: 0;
  font-size: 0.85rem;
}

.footer_section a {
  color: #c9b8ff;
}

/* ---------- links on dark template sections ---------- */
.service_section p a,
.about_section .ep-legal-block a {
  color: #ffd166 !important;
  text-decoration: underline;
}

/* ---------- generic callout notes (replaces inline color:red/blue/etc.) ---------- */
.ep-note {
  background: var(--ep-card);
  border: 1px solid var(--ep-border);
  border-left: 4px solid var(--ep-accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  color: var(--ep-ink);
  line-height: 1.7;
}

.ep-note-strong {
  border-left-color: var(--ep-blue);
  font-weight: 600;
}

.ep-note a {
  color: var(--ep-primary);
  font-weight: 600;
}

/* ---------- page intro banner (pricing / sub-page announcement strips) ---------- */
.ep-page-banner {
  background: linear-gradient(135deg, var(--ep-primary-dark), var(--ep-primary));
  color: #fff;
  border-radius: var(--ep-radius);
  margin: 24px 16px 0;
  padding: 18px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: var(--ep-shadow);
}

/* ---------- clean data tables ---------- */
.ep-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ep-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--ep-shadow);
}

.ep-table td, .ep-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ep-border);
  text-align: left;
  vertical-align: top;
}

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

.ep-table td:first-child {
  font-weight: 600;
  color: var(--ep-primary);
  white-space: nowrap;
}

.ep-table .ep-table-head {
  background: linear-gradient(135deg, var(--ep-primary-dark), var(--ep-primary));
  color: #fff !important;
  font-weight: 700;
}

/* ---------- registered-office / legal footnote block ---------- */
.ep-legal-block {
  max-width: 1180px;
  margin: 24px auto;
  padding: 18px 24px;
  background: var(--ep-card);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  color: var(--ep-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  box-shadow: var(--ep-shadow);
}

/* ---------- tips/tag chip row (learning page) ---------- */
.ep-chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.ep-chip-row > * {
  border-radius: 12px !important;
  padding: 16px 10px !important;
  box-shadow: var(--ep-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  float: none !important;
  width: auto !important;
}

.ep-chip-row > *:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-hover);
}

.ep-chip-row a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.ep-chip-row p {
  margin: 0;
  color: #fff !important;
}
