/* Kerala Canada keyword landing pages — layout & alignment */

.kl-page .path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.kl-page .path-card {
  border: 1px solid var(--ca-border, #e8eef2);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.kl-page .path-card:hover {
  border-color: rgba(20, 131, 157, 0.35);
  box-shadow: 0 8px 28px rgba(20, 131, 157, 0.1);
}

.kl-page .path-card h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 10px;
}

.kl-page .path-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #5c6670;
  margin: 0;
}

.kl-page .compare-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid #e8eef2;
  background: #fff;
}

.kl-page .compare-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.kl-page .compare-wrap th,
.kl-page .compare-wrap td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e8eef2;
  vertical-align: top;
}

.kl-page .compare-wrap th {
  background: #14839d;
  color: #fff;
  font-family: "Work Sans", Roboto, sans-serif;
  font-weight: 600;
}

.kl-page .compare-wrap tr:last-child td {
  border-bottom: none;
}

.kl-page .compare-wrap tr:nth-child(even) td {
  background: #f8fbfc;
}

.kl-page .timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: klstep;
}

.kl-page .timeline-step {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  counter-increment: klstep;
  height: 100%;
}

.kl-page .timeline-step::before {
  content: counter(klstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #14839d;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.kl-page .timeline-step h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 8px;
}

.kl-page .timeline-step p {
  font-size: 13px;
  line-height: 1.65;
  color: #5c6670;
  margin: 0;
}

.kl-page .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kl-page .benefit-card {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  background: #fff;
  height: 100%;
}

.kl-page .benefit-card i {
  font-size: 28px;
  color: #14839d;
  margin-bottom: 12px;
  display: block;
}

.kl-page .benefit-card h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 8px;
}

.kl-page .benefit-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #5c6670;
  margin: 0;
}

.kl-page .occ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kl-page .occ-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1a2332;
}

.kl-page .occ-tag i {
  color: #14839d;
  font-size: 18px;
  flex-shrink: 0;
}

.kl-page .doc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.kl-page .doc-col {
  border: 1px solid #e8eef2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.kl-page .doc-col__head {
  padding: 14px 18px;
  background: #14839d;
  color: #fff;
  font-family: "Work Sans", Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.kl-page .doc-col__body {
  padding: 18px 18px 18px 36px;
}

.kl-page .doc-col__body ol {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6670;
}

.kl-page .doc-note {
  font-size: 14px;
  line-height: 1.7;
  color: #5c6670;
}

.kl-page .loc-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.kl-page .loc-hub-link {
  display: block;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #14839d;
  text-decoration: none;
  text-align: center;
}

.kl-page span.loc-hub-link {
  color: #1a2332;
  cursor: default;
}

a.loc-hub-link:hover,
.kl-page a.loc-hub-link:hover {
  background: #14839d;
  color: #fff;
  border-color: #14839d;
}

.kl-page .calc-tools-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #e8f6f9 0%, #fff 100%);
  border: 1px solid rgba(20, 131, 157, 0.2);
  border-radius: 16px;
}

.kl-page .calc-tools-cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #3d4a56;
  flex: 1;
  min-width: 240px;
}

.kl-page .calc-tools-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #14839d;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.kl-page .calc-tools-cta a:hover {
  background: #0f6b80;
  color: #fff;
}

/* Sticky section nav */
.kl-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8eef2;
  box-shadow: 0 2px 12px rgba(20, 131, 157, 0.06);
}

.kl-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.kl-nav::-webkit-scrollbar {
  display: none;
}

.kl-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6670;
  text-decoration: none;
  background: #f8fbfc;
  border: 1px solid #e8eef2;
  transition: all 0.2s;
}

.kl-nav a:hover,
.kl-nav a.is-active {
  background: #14839d;
  border-color: #14839d;
  color: #fff;
}

/* Process steps */
.kl-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.kl-process-step {
  position: relative;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  text-align: center;
  height: 100%;
}

.kl-process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #14839d, #1a9bb5);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.kl-process-step h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 8px;
}

.kl-process-step p {
  font-size: 12px;
  line-height: 1.6;
  color: #5c6670;
  margin: 0;
}

/* Eligibility grid */
.kl-elig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kl-elig-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  height: 100%;
}

.kl-elig-card i {
  font-size: 26px;
  color: #14839d;
  margin-bottom: 12px;
  display: block;
}

.kl-elig-card h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 10px;
}

.kl-elig-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #5c6670;
}

/* Guide / prose blocks */
.kl-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kl-guide-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.kl-section-foot {
  margin-top: 28px;
  max-width: 880px;
}

.kl-page .kl-services-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kl-testimonials-sub {
  margin-top: 12px;
}

.kl-testimonial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 0;
}

.kl-testimonial-stat {
  padding: 18px 20px;
  background: #f8fbfc;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  text-align: center;
}

.kl-testimonial-stat strong {
  display: block;
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #14839d;
  line-height: 1;
  margin-bottom: 6px;
}

.kl-testimonial-stat span {
  font-size: 12px;
  color: #5c6670;
}

.kl-testimonials-foot {
  margin-top: 28px;
  text-align: center;
}

.kl-guide-box {
  padding: 28px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  height: 100%;
}

.kl-guide-box h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 14px;
}

.kl-guide-box p {
  font-size: 14px;
  line-height: 1.8;
  color: #5c6670;
  margin: 0 0 12px;
}

.kl-guide-box p:last-child {
  margin-bottom: 0;
}

.kl-guide-box ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6670;
}

/* Why choose */
.kl-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kl-why-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  align-items: flex-start;
}

.kl-why-item i {
  font-size: 24px;
  color: #14839d;
  flex-shrink: 0;
  margin-top: 2px;
}

.kl-why-item h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 6px;
}

.kl-why-item p {
  font-size: 13px;
  line-height: 1.65;
  color: #5c6670;
  margin: 0;
}

/* District cards */
.kl-district-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.kl-district-card {
  padding: 18px 14px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  text-align: center;
}

.kl-district-card strong {
  display: block;
  font-size: 14px;
  color: #1a2332;
  margin-bottom: 4px;
}

.kl-district-card span {
  font-size: 12px;
  color: #5c6670;
}

/* FAQ alignment */
.kl-page .faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kl-page #klFaq details {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  overflow: hidden;
}

.kl-page #klFaq summary {
  padding: 18px 52px 18px 20px;
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a2332;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.kl-page #klFaq summary::-webkit-details-marker {
  display: none;
}

.kl-page #klFaq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: #14839d;
}

.kl-page #klFaq details[open] summary::after {
  content: "−";
}

.kl-page #klFaq .faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6670;
}

.kl-page .faq-cta {
  max-width: 820px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0f6b80 0%, #14839d 100%);
  border-radius: 16px;
  color: #fff;
}

.kl-page .faq-cta h3 {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.kl-page .faq-cta p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.kl-page .faq-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: #14839d;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.kl-page .faq-cta__btn:hover {
  background: #f0f9fb;
  color: #0f6b80;
}

.kl-page #klTestimonials {
  padding: var(--ca-section-y, clamp(56px, 8vw, 88px)) 0;
  background: #fff;
}

.kl-page #crs-calculator,
.kl-page #fsw-calculator-tools {
  padding: var(--ca-section-y, clamp(56px, 8vw, 88px)) 0;
}

.kl-page #crs-calculator {
  background: linear-gradient(180deg, #e8f6f9 0%, #f8fbfc 100%);
}

.kl-page #fsw-calculator-tools {
  background: #fff;
}

.kl-page .t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.kl-page .t-card {
  padding: 24px;
  background: #f8fbfc;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kl-page .t-card__stars {
  color: #e8a020;
  font-size: 14px;
  margin-bottom: 12px;
}

.kl-page .t-card__quote {
  font-size: 14px;
  line-height: 1.75;
  color: #3d4a56;
  margin: 0 0 20px;
  flex: 1;
}

.kl-page .t-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.kl-page .t-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.kl-page .t-card__name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #1a2332;
}

.kl-page .t-card__role {
  display: block;
  font-size: 12px;
  color: #5c6670;
}

.kl-page .t-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.kl-page .t-trust__score {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #14839d;
  line-height: 1;
}

.kl-page .t-trust__stars {
  color: #e8a020;
  font-size: 14px;
}

.kl-page .t-trust__label {
  font-size: 13px;
  color: #5c6670;
  font-weight: 600;
}

.kl-page #klFaq .faq-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.kl-page #klFaq .faq-hero__stats {
  display: flex;
  gap: 20px;
}

.kl-page .faq-stat {
  text-align: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  min-width: 80px;
}

.kl-page .faq-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #14839d;
  line-height: 1;
  margin-bottom: 4px;
}

.kl-page .faq-stat span {
  font-size: 12px;
  color: #5c6670;
  font-weight: 600;
}

.kl-page #klFaq .faq-tabs .faq-list {
  max-width: none;
}

.kl-page #klFaq .faq-tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.kl-page #klFaq .faq-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e8eef2;
  background: #fff;
  color: #5c6670;
  cursor: pointer;
  transition: all 0.2s;
}

.kl-page #klFaq .faq-tab.is-active,
.kl-page #klFaq .faq-tab:hover {
  background: #14839d;
  border-color: #14839d;
  color: #fff;
}

.kl-page #klFaq .faq-group-label {
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14839d;
  margin: 24px 0 12px;
}

.kl-page #klFaq .faq-group-label:first-child {
  margin-top: 0;
}

.kl-page #klFaq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 991px) {
  .kl-page .t-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kl-page #klFaq .faq-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .kl-page .t-grid {
    grid-template-columns: 1fr;
  }
}

.kl-page #prTrust {
  background: var(--ca-bg, #f8fbfc);
  color: #1a2332;
  padding: var(--ca-section-y, clamp(56px, 8vw, 88px)) 0;
}

.kl-page #prTrust .trust-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.kl-page #prTrust .trust-intro .seo-title {
  color: #1a2332;
}

.kl-page #prTrust .trust-intro .seo-lead {
  color: #5c6670;
  margin: 0 auto;
}

.kl-page #klFaq {
  background: var(--ca-bg, #f8fbfc);
}

.kl-page #prRelated {
  background: #fff;
}

.kl-page #prRelated .kerala-seo {
  margin-top: 36px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e8eef2;
  background: #f8fbfc;
}

.kl-page .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.kl-page .related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fbfc;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #14839d;
  text-decoration: none;
}

.kl-page .related-link:hover {
  background: #14839d;
  color: #fff;
  border-color: #14839d;
}

.kl-page .related-link i {
  font-size: 18px;
  flex-shrink: 0;
}

.kl-page .trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.kl-page .trust-item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
}

.kl-page .trust-item strong {
  display: block;
  font-family: "Work Sans", Roboto, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #14839d;
  line-height: 1;
  margin-bottom: 6px;
}

.kl-page .trust-item span {
  font-size: 13px;
  font-weight: 600;
  color: #5c6670;
}

.kl-page .trust-intro {
  max-width: 720px;
}

.kl-page .ca-services-strip {
  margin-top: 0;
}

/* Office info row */
.kl-office-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.kl-office-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  height: 100%;
}

.kl-office-card i {
  font-size: 22px;
  color: #14839d;
  margin-bottom: 10px;
  display: block;
}

.kl-office-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 8px;
}

.kl-office-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #5c6670;
  margin: 0;
}

@media (max-width: 991px) {
  .kl-page .path-grid,
  .kl-guide-grid,
  .kl-guide-grid--3,
  .kl-page .doc-columns,
  .kl-elig-grid,
  .kl-why-grid,
  .kl-office-cards,
  .kl-page .kl-services-strip,
  .kl-testimonial-stats {
    grid-template-columns: 1fr;
  }

  .kl-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kl-page .timeline-steps,
  .kl-page .benefit-grid,
  .kl-page .occ-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kl-page .loc-hub-grid,
  .kl-district-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kl-page .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kl-page .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .kl-process-grid,
  .kl-page .path-grid,
  .kl-page .timeline-steps,
  .kl-page .benefit-grid,
  .kl-page .occ-grid,
  .kl-page .loc-hub-grid,
  .kl-district-grid,
  .kl-page .related-grid,
  .kl-page .trust-grid {
    grid-template-columns: 1fr;
  }

  .kl-page .calc-tools-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .kl-page .calc-tools-cta a {
    justify-content: center;
  }

  .kl-page .faq-cta {
    flex-direction: column;
    text-align: center;
  }
}
