/* ============================================================
   COVESTO RESEARCH – STYLESHEET
   All colours driven by CSS variables set from config.js
   ============================================================ */

/* ─── CSS VARIABLES (injected by app.js from config) ─────── */
:root{
  --primary:#243F63;
  --secondary:#6E87A8;
  --secondary-light:#8FA5C2;
  --accent-purple:#324E73;
  --accent-purple2:#4E6A8F;

  --text-dark:#1B2B40;
  --text-muted:#6F7D90;

  --bg-light:#F4F6F9;
  --bg-white:#FFFFFF;

  --trust-bar-bg:#2B4568;
  --card-border:#D9E1EA;

  --success:#4ADE80;
  --success-rgb:74,222,128;

  --danger:#C0392B;
  --warning:#D2AF4D;

  --primary-rgb:36,63,99;
  --secondary-rgb:110,135,168;
  --accent-rgb:50,78,115;

  --white-rgb:255,255,255;
  --black-rgb:0,0,0;

  --shadow-sm:0 4px 18px rgba(var(--black-rgb),.05);
  --shadow-md:0 8px 24px rgba(var(--primary-rgb),.10);
  --shadow-lg:0 16px 48px rgba(var(--primary-rgb),.14);

  --gradient-primary:linear-gradient(135deg,var(--primary),var(--accent-purple));
  --gradient-secondary:linear-gradient(135deg,var(--secondary),var(--secondary-light));
  --gradient-accent:linear-gradient(135deg,var(--accent-purple),var(--accent-purple2));

  --font-heading:"Cormorant Garamond",Georgia,serif;
  --font-body:'DM Sans',sans-serif;
}

/* ─── BASE ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

.section-pad {
  padding: 80px 0;
}


/* Disclaimer Banner */
.disclaimer-banner {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.disclaimer-track {
    display: flex;
    width: 200%;
    animation: marquee 15s linear infinite;
    will-change: transform;
}

.disclaimer-content {
    /* width: 50%; */
    padding-right: 10%;
    font-size: 0.9rem;
}

/* PERFECT CONTINUOUS LOOP */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* Pause animation on hover */
.disclaimer-banner:hover .disclaimer-track {
    animation-play-state: paused;
}

img.company-logo {
    position: relative;
    width: 6%;
    margin-right: 0.5rem;
}


/* ─── NAVBAR ───────────────────────────────────────────────── */
#main-navbar {
  background: var(--primary);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  z-index: 1050;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 25px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--bg-white);
  letter-spacing: 0.02em;
}

#main-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.2s;
}

#main-navbar .nav-link:hover {
  color: var(--secondary) !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent-purple) 60%, var(--primary) 100%);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 350px;
  height: 350px;
  /* background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); */
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 60px;
  right: -40px;
  width: 280px;
  height: 280px;
  /* background: radial-gradient(circle, rgba(91,63,217,0.1) 0%, transparent 70%); */
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
  border-radius: 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--bg-white);
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.sebi-badge {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.hero-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: all 0.25s;
}

.social-icon-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 36px;
  border-radius: 50px;
  border: none;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

/* Trust Bar */
.trust-bar {
  background: var(--trust-bar-bg);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-item i {
  color: var(--secondary);
  font-size: 1rem;
}

/* ─── SECTION LABELS ───────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

.gold-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 2px;
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
.about-section {
  background: var(--bg-white);
}

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

.about-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(11, 30, 64, 0.15);
}

.stat-card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--card-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 30, 64, 0.1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── SERVICES ──────────────────────────────────────────────── */
.services-section {
  background: var(--bg-light);
}

.services-subtitle {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 600px;
}

/* Service Card — Image 2 style */
.service-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px 28px 28px;
  border: 1px solid var(--card-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 24px rgba(11, 30, 64, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb),.30);
  flex-shrink: 0;
}

.service-icon-wrap i {
  font-size: 1.4rem;
  color: var(--bg-white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  /* margin: 0 0 24px;  */
  flex: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.service-features li:last-child {
  border-bottom: none;
}

.feature-check {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-check i {
  font-size: 0.65rem;
  color: var(--bg-white);
}

.service-bestfor {
  margin: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.service-bestfor strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: .8rem;
}

.service-price-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple2));
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: 50px;
  border: none;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  margin-top: auto;
  text-decoration: none;
}

.service-price-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--bg-white);
}

.pricing-note {
  margin: 45px auto 55px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-white)8e8;
  border: 1px solid var(--card-border);
  padding: 14px 24px;
  border-radius: 40px;
  max-width: 720px;
}

.education-service-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.education-service-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
  border: 1px solid var(--card-border);
}

.edu-badge-wrap {
  text-align: center;
  margin-bottom: 5px;
}

.edu-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 40px;
  background: linear-gradient(135deg,
      var(--secondary),
      var(--secondary-light));
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 20px;
}

.education-service-card h3 {
  margin-bottom: 14px;
}

.education-service-card ul {
  margin: 25px 0;
  padding-left: 18px;
}

.education-service-card li {
  /* margin-bottom:12px; */
  line-height: 1.6;
}

.best-for {
  margin: 20px 0 28px;
  font-weight: 600;
}

/* price left */
.course-price {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.course-price span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}


/* center button */
.enroll-wrap {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.enroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  padding: 18px 46px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple2));
  box-shadow: 0 10px 25px rgba(16, 45, 120, .18);
  transition: .3s;
}

.enroll-btn:hover {
  transform: translateY(-2px);
}


/* mobile */
@media(max-width:768px) {

  .course-price {
    font-size: 34px;
  }

  .enroll-btn {
    width: 100%;
    min-width: unset;
  }

}

/* ─── GRIEVANCE ─────────────────────────────────────────────── */
.grievance-section {
  background: var(--bg-white);
}

.grievance-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--card-border);
  text-align: left;
}

.grievance-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
  align-items: flex-start;
}

.grievance-row:last-child {
  border-bottom: none;
}

.grievance-label {
  min-width: 180px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grievance-value {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.grievance-value a {
  color: var(--accent-purple);
  text-decoration: underline;
}

.escalation-heading {
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}

.escalation-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.escalation-box {
  display: flex;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
}

.step-strip {
  width: 60px;
  background: #091a39;
  color: var(--secondary-light);
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
}

.step-content {
  padding: 28px 32px;
  flex: 1;
}

.step-content h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

@media(max-width:768px) {

  .officer-card {
    padding: 28px 22px;
  }

  .officer-card h3 {
    font-size: 28px;
  }

  .escalation-box {
    flex-direction: column;
  }

  .step-strip {
    width: 100%;
    height: 48px;
    writing-mode: horizontal-tb;
  }

}

.officer-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 34px;
  height: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .03);
  transition: .3s;
}

.officer-card:hover {
  transform: translateY(-3px);
}

.officer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 26px;
}

.officer-card h3 {
  font-size: 34px;
  margin-bottom: 22px;
  color: #1f2430;
}

.officer-card p {
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.officer-card a {
  color: #243d8f;
  text-decoration: underline;
}

@media(max-width:768px) {

  .officer-card {
    padding: 28px 22px;
  }

  .officer-card h3 {
    font-size: 28px;
  }

}



/* ─── COMPLIANCE ────────────────────────────────────────────── */
.compliance-section {
  background: var(--bg-light);
}

#compliance-accordion .accordion-item {
  background: var(--bg-white);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#compliance-accordion .accordion-button {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 18px 22px;
}

#compliance-accordion .accordion-button:focus {
  box-shadow: none;
}

#compliance-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--secondary);
}

.compliance-content {
  max-height: 400px;
  /* Adjust as needed for large content */
  overflow-y: auto;
  padding: 10px 22px 18px 22px;
  font-size: 0.9rem;
  /* color: var(--text-muted); */
  line-height: 1.75;
}

.compliance-content ul {
  padding-left: 22px;
  margin-bottom: 22px;
}

.compliance-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.compliance-content p {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* DO & DONT SECTION */

.dos-donts-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 25px;
}

.dos-box,
.dont-box {
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px 22px 18px;
}

.dos-title {
  color: #2e7d32;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 14px;
}

.dont-title {
  color: #c0392b;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 14px;
}

.dos-box ul,
.dont-box ul {
  padding-left: 18px;
  margin: 0;
}

.dos-box li,
.dont-box li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* MOBILE */
@media(max-width:768px) {
  .dos-donts-wrap {
    grid-template-columns: 1fr;
  }
}


/* ===========================
MONTHLY COMPLAINT DATA
===========================*/

.complaint-data-section {
  background: var(--bg-white);
}

.complaint-intro {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 820px;
}

.complaint-table-wrap {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
}

.complaint-table {
  width: 100%;
  border-collapse: collapse;
}

.complaint-table thead {
  background: var(--secondary);
}

.complaint-table th {
  color: var(--bg-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 22px 16px;
  text-align: left;
}

.complaint-table td {
  padding: 22px 16px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.complaint-table td:not(:first-child) {
  text-align: center;
}

.complaint-table tbody tr:hover {
  background: var(--card-border);
}

.grand-total {
  background: color-mix(in srgb,var(--secondary) 12%,white);
  font-weight: 700;
}

.complaint-meta {
  margin-top: 22px;
}

.complaint-meta p {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.complaint-meta strong {
  color: var(--text-dark);
}


/* mobile responsive */
@media(max-width:992px) {

  .complaint-table-wrap {
    overflow-x: auto;
  }

  .complaint-table {
    min-width: 900px;
  }

}

/* =========================
   PREMIUM FOOTER
=========================*/

.site-footer {
  background: var(--primary);
  padding: 72px 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.8;
}

/* columns spacing */
.site-footer .row {
  row-gap: 42px;
}

/* headings */
.site-footer h5 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: .02em;
}

.site-footer h5:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg,
      var(--secondary),
      var(--secondary-light));
  border-radius: 10px;
}

/* logo */
.site-footer .footer-logo {
  height: 56px;
  margin-bottom: 18px;
  /* filter:brightness(0) invert(1); */
  border-radius: 40px;
}

.site-footer .footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--bg-white);
}

.site-footer .footer-address {
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .72);
}

/* generic footer paragraphs */
.site-footer p {
  margin-bottom: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
}

.site-footer strong {
  color: var(--bg-white);
  font-weight: 600;
}

.site-footer a {
  color: rgba(255, 255, 255, .85);
  transition: .25s;
}

.site-footer a:hover {
  color: var(--secondary-light);
}

/* SEBI table */
.footer-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.footer-table td {
  padding: 8px 0;
  vertical-align: top;
  font-size: .86rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-table td:first-child {
  width: 42%;
  font-weight: 600;
  color: var(--bg-white);
  padding-right: 12px;
}

.footer-sebi-details {
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
  margin-top: 14px;
}

/* quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: .92rem;
  display: inline-block;
}

.footer-links a:hover {
  transform: translateX(4px);
}

/* social */
.site-footer .social-icons {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.site-footer .social-icon-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
}

.site-footer .social-icon-link:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* =========================
   FOOTER LEGAL / FINE PRINT
========================= */

.footer-divider {
  height: 1px;
  border: 0;
  margin: 42px 0 28px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, .16),
      transparent);
}

/* wrapper */
.footer-bottom {
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding-top: 4px;
}

/* small legal blocks */
.footer-accessibility,
.footer-disclaimer {
  max-width: 980px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .52);
}

/* first paragraph */
.footer-accessibility {
  padding: 0 12px 20px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, .10);
}

/* second paragraph */
.footer-disclaimer {
  padding: 0 12px 22px;
  margin-bottom: 20px;
}

/* copyright strip */
.footer-copy {
  display: inline-block;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

/* subtle emphasis inside legal */
.footer-accessibility strong,
.footer-disclaimer strong {
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
}

/* links inside disclaimer */
.footer-accessibility a,
.footer-disclaimer a {
  color: var(--secondary-light);
}

.footer-accessibility a:hover,
.footer-disclaimer a:hover {
  opacity: .85;
}

/* optional tiny lead label */
.footer-accessibility:before {
  content: "Accessibility Disclosure";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.footer-disclaimer:before {
  content: "Regulatory Disclaimer";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}


/* MOBILE */
@media(max-width:767px) {

  .footer-divider {
    margin: 30px 0 22px;
  }

  .footer-accessibility,
  .footer-disclaimer {
    font-size: 11px;
    line-height: 1.85;
    padding-left: 8px;
    padding-right: 8px;
  }

  .footer-copy {
    font-size: 11px;
    letter-spacing: .03em;
  }

}

/* =====================
RESPONSIVE
=====================*/

@media(max-width:991px) {

  .site-footer {
    padding: 60px 0 24px;
  }

  .site-footer h5 {
    margin-bottom: 18px;
  }

  .footer-divider {
    margin: 30px 0 20px;
  }

}

@media(max-width:767px) {

  .site-footer {
    text-align: left;
    padding: 52px 0 20px;
  }

  .site-footer .footer-brand {
    font-size: 1.18rem;
  }

  .footer-table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 4px 0;
  }

  .footer-table tr {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .site-footer .social-icons {
    justify-content: flex-start;
  }

  .footer-accessibility,
  .footer-disclaimer {
    font-size: .74rem;
    line-height: 1.8;
  }

}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .section-pad {
    padding: 60px 0;
  }

  .grievance-label {
    min-width: 130px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 70px 0 0;
  }

  .grievance-card {
    padding: 22px 16px;
  }

  .grievance-row {
    flex-direction: column;
    gap: 4px;
  }

  .grievance-label {
    min-width: unset;
  }

  .service-card {
    padding: 24px 20px 22px;
  }

  .stat-card {
    padding: 14px;
  }

  .section-pad {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .trust-item {
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}