/* 🚫 Google Translate Banner Suppression, Popups & Tooltips */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
#goog-gt-tt,
#goog-gt-tt *,
[id*="goog-gt-tt"],
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
iframe.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcb,
.VIpgJd-ZVi9od-ORHb-OEVmcb-ti6hGc,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-ZVi9od-l4eHX-hSRGPd {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

html,
body,
body.translated-ltr,
body.translated-rtl,
html.translated-ltr,
html.translated-rtl {
  top: 0px !important;
  margin-top: 0px !important;
  position: static !important;
}

/* 🚫 Google Translate Hover Highlight Complete Removal */
font,
font:hover,
html body font,
html body font:hover,
html body .goog-text-highlight,
html body font.goog-text-highlight,
html body span.goog-text-highlight,
html body [class*="goog-text-highlight"],
font[style*="background-color"],
.goog-text-highlight,
.goog-text-highlight:hover,
.goog-text-highlight:focus,
.VIpgJd-yAWneb-r4nke,
.VIpgJd-yAWneb-r4nke:hover,
.VIpgJd-yAWneb-L7lbkb,
.VIpgJd-yAWneb-L7lbkb:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: inherit !important;
  pointer-events: none !important;
}

/* Prevent gradient/hero titles from being obscured on hover */
.ktdfc-title font,
.ktdfc-title span {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element,
.goog-te-gadget-simple,
.goog-te-gadget {
  display: none !important;
}

.notranslate,
[translate="no"],
.notranslate * {
  font-family: inherit;
}

.btn-lang-toggle {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

/* ================= NAVBAR STYLING ================= */
.navbar {
  border-top: 1px solid #eee;
}

.navbar-nav {
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.navbar-nav .nav-link {
  font-size: 18px;
  color: #1f1f1f;
  font-weight: 500;
  padding: 8px 14px;
  white-space: nowrap;
  transition: all 0.25s ease;
  border-bottom: 3px solid transparent;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #0b3c5d;
}

/* Active Link */
.navbar-nav .nav-link.active {
  color: #0b3c5d;
  font-weight: 600;
  border-bottom: 3px solid #4B2E83;
}

/* 🌐 Translation / Malayalam Nav Menu Compact Styling */
html.translated-ltr .navbar-nav,
body.translated-ltr .navbar-nav,
html[lang="ml"] .navbar-nav,
body[lang="ml"] .navbar-nav {
  gap: 4px !important;
}

html.translated-ltr .navbar-nav .nav-link,
body.translated-ltr .navbar-nav .nav-link,
html[lang="ml"] .navbar-nav .nav-link,
body[lang="ml"] .navbar-nav .nav-link {
  font-family: 'Noto Sans Malayalam', 'Noto Sans', sans-serif;
  font-size: 15.5px !important;
  padding: 6px 9px !important;
  letter-spacing: -0.2px;
}

.top-right small a {
  margin-left: 2px;
}

/* Desktop Hover cheyyumbo dropdown open */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Mobile Right-Side Offcanvas Sidebar Styling */
@media (max-width: 991.98px) {
  .navbar .offcanvas.offcanvas-end {
    width: 310px;
    background-color: #ffffff;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  }

  .navbar-nav {
    gap: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f3f5;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 13px 8px;
    font-size: 16px;
    color: #212529;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: #0b3c5d;
  }

  .navbar-nav .nav-link.active {
    color: #0b3c5d;
    font-weight: 700;
    border-bottom: none;
    border-left: 4px solid #4B2E83;
    padding-left: 12px;
  }

  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    border: none;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: none;
    padding: 6px 12px;
    margin: 4px 0 10px 0;
  }

  .navbar-nav .dropdown-item {
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 14.5px;
  }
}

/* Dropdown smooth feel */
.dropdown-menu {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Normal dropdown item */
.dropdown-menu .dropdown-item {
  padding: 8px 18px;
  font-size: 14.5px;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

/* FIRST ITEM – default highlight */
.dropdown-menu .dropdown-item:first-child {
  color: #0b3c5d;
  font-weight: 600;
}

/* Hover effect (other items) */
.dropdown-menu .dropdown-item:hover {
  background-color: #e9eff7;
  color: #0b3c5d;
}

.navbar-nav .dropdown-item {
  color: #333;
  padding: 0.25rem 1.5rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for dropdown items */
.navbar-nav .dropdown-item:hover {
  background-color: #0b3c5d;
  color: #fff;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Remove Bootstrap default active background from dropdown items */
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
  background-color: #0b3c5d;
  color: #fff !important;
  font-weight: 600;
}

.logo {
  max-height: 80px;
}

/* Mobile only */
@media (max-width: 767px) {
  .logo {
    max-height: 58px;
  }

  .toll,
  .contact {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .lang .btn {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* about common */
/* KTDFC EXTREME TEXT SECTION */
/* ===============================
   GLOBAL FIX (No horizontal scroll)
================================ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ===============================
   HERO SECTION
================================ */
.ktdfc-hero-text {
  padding: 90px 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg,
      #1f3b68 0%,
      #10243f 60%,
      #c9f000 140%);
}

/* Light texture overlay */
.ktdfc-hero-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(255, 255, 255, 0.08),
      transparent 60%);
  pointer-events: none;
}

/* ===============================
   MAIN TITLE
================================ */
.ktdfc-title {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 10px;
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #1f3b68);
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  word-break: break-word;
  text-align: center;
  line-height: 1.1;
}

/* ===============================
   TAGLINE
================================ */
.ktdfc-tagline {
  color: #eaeaea;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
}

/* ===============================
   BADGE
================================ */
.ktdfc-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .ktdfc-title {
    font-size: 64px;
    letter-spacing: 3px;
  }
}

@media (max-width: 576px) {
  .ktdfc-hero-text {
    padding: 60px 0;
  }

  .ktdfc-title {
    font-size: 40px;
    letter-spacing: 1px;
    line-height: 1.1;
  }

  .ktdfc-tagline {
    font-size: 16px;
  }
}

/* common title style */
.section-title-left-line {
  position: relative;
  padding-left: 18px;
  line-height: 1.2;
}

.section-title-left-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 100%;
  background: #b7f000;
  border-radius: 3px;
}

/* ===============================
   LAYOUT FIX (Footer stick bottom)
================================ */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Optimize container width across all pages on desktop/wide screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1350px !important;
  }
}

/* Optional card tweak for mobile */
@media (max-width: 576px) {
  .card-body {
    padding: 1.2rem;
    font-size: 0.95rem;
  }
}

/* responsive */
@media (max-width: 767px) {
  .card-body {
    font-size: 0.9rem;
  }
}

/* Footer logo */
.footer-logo {
  height: 70px;
  width: auto;
}

/* Rounded border for logo */
.rounded-logo {
  border-radius: 12px;
}

/* Footer text */
.footer-org-name {
  font-size: 27px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  flex-wrap: nowrap;
}

.ksfe-footer {
  background-color: #1f3b68;
  flex-wrap: nowrap;
}

/* SMALL INPUT */
.newsletter-input {
  width: 250px;
  height: 34px;
  border-radius: 25px;
  border: none;
  padding: 0 12px;
  font-size: 13px;
}

/* BUTTON */
.newsletter-btn {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 25px;
  background: #c9f000;
  color: #1f3b68;
  border: none;
  font-weight: 600;
}

/* ALIGN */
.footer-newsletter {
  white-space: nowrap;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .footer-newsletter {
    justify-content: center;
    margin-top: 10px;
  }
}

.footer-highlight {
  color: #c9f000;
  font-weight: 600;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-link {
  color: #dbe6f7;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-social a {
  color: #ffffff;
  font-size: 18px;
  margin-right: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  color: #c9f000;
  transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .footer-logo {
    height: 55px;
  }

  .footer-org-name {
    font-size: 16px;
    line-height: 1.2;
  }

  .ksfe-footer .col-12.d-flex {
    padding-left: 12px;
  }
}

/* Fixed chat button */
.chat-btn {
  position: fixed;
  bottom: 90px;
  right: 60px;
  width: 58px;
  height: 58px;
  background: linear-gradient(125deg, #0b3c5d, #c9f000);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 60, 93, 0.6);
}

.chat-btn:active {
  transform: scale(0.95);
}

/* Modal overlay */
.chat-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

/* Chat box */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.chat-header {
  background: #0b3c5d;
  color: #fff;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Body */
.chat-body {
  padding: 12px;
  height: 340px;
  overflow-y: auto;
  background: #f5f7fa;
}

/* Messages */
.chat-msg {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  max-width: 80%;
}

.chat-msg.bot {
  background: #e1e7ef;
  align-self: flex-start;
}

.chat-msg.user {
  background: #0b3c5d;
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
}

/* Footer */
.chat-footer {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.chat-footer button {
  background: #0b3c5d;
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chat-options button {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #1f3b68;
  background: #fff;
  color: #1f3b68;
  font-size: 14px;
  cursor: pointer;
}

.chat-options button:hover {
  background: #1f3b68;
  color: #fff;
}


/* 🌐 Ensure Google Translate translates collapsed accordion bodies */
.accordion .accordion-collapse.collapse:not(.show) {
  display: block !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border: none !important;
}