/* top title  bar  */

.accessibility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #000;
  font-size: 25px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.accessibility-btn:hover {
  background: #000;
  color: #fff;
}






.navbar-nav .nav-link {
  font-size: 18px;   /* 👈 increase here (try 16px / 17px / 18px) */
  padding: 10px 14px;
  font-weight: 500; /* optional – slightly bold */
}

.navbar-nav {
  gap: 8px;
}

.navbar {
  border-top: 1px solid #eee;
}

/* Navbar link base */
.navbar-nav .nav-link {
  color: #1f1f1f;                 /* Govt standard dark text */
  font-weight: 500;
  padding: 10px 14px;
  transition: color 0.25s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #0b3c5d;                 /* Deep govt blue */
}


.top-right small a {
    margin-left: 2px; /* adds tiny space between text and number */
}

/* Hover cheyyumbo dropdown open */
.navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Dropdown smooth feel */
.dropdown-menu {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 6px 0;
}

/* Normal dropdown item */
.dropdown-menu .dropdown-item {
    padding: 10px 18px;
    font-size: 15px;
}

/* 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 Links */
.navbar-nav .nav-link {
    color: #333;               /* Default link color */
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s, background-color 0.3s;
}

/* Active Link */
.navbar-nav .nav-link.active {
    color: #B6D23A;           
    font-weight: 600;
    border-bottom: 5px solid #4B2E83; /* Optional underline for active page */
}

/* Hover effect for links */
.navbar-nav .nav-link:hover {
    color: #B6D23A;
    text-decoration: none;
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
    border-radius: 0.25rem;
    padding: 0.5rem 0;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}

/* Dropdown items */
.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 spacing */
    }
}

/* Remove Bootstrap default active background from dropdown items */
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
    background-color:#0b3c5d;  /* no blue background */
    color: #fff !important;                 /* or your desired text color */
    font-weight: 600;                           /* optional: keep bold */
}


.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;
}

/* 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; /* slightly smaller text on mobile */
    }
}












/* Footer logo */
.footer-logo {
    height: 90px;       /* increase size if needed */
    width: auto;
}

/* Rounded border for logo */
.rounded-logo {
    border-radius: 12px;   /* adjust for more/less rounding */
    border: 2px solid #ffffff; /* optional border, can remove */
    
}

/* Footer text */
.footer-org-name {
    font-size: 28px; /* Increase this value as needed */
    font-weight: 500; /* Optional: makes text slightly bolder */
    color: #ffffff;      /* Optional: set your desired color */
    margin: 0;  
    flex-wrap: nowrap;          /* force single row */
      /* Ensure no extra spacing */
}


.ksfe-footer {
    background-color: #1f3b68;
        flex-wrap: nowrap;          /* force single row */

}



.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;           /* reduce logo size */
    }

    .footer-org-name {
        font-size: 16px;        /* mobile-friendly */
        line-height: 1.2;
    }

    .ksfe-footer .col-12.d-flex {
        padding-left: 12px;     /* balance spacing */
    }
}




/* 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;
}






/* Floating accessibility icon */


/* Modal panel */
.accessibility-modal {
  position: fixed;
  top: 50px;
  right: 70px;
  width: 320px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  z-index: 9999;
  display: none;
  font-family: "Segoe UI", sans-serif;
}

/* Header */
.acc-header {
  background: #f4f6f9;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #092f49;
}

.acc-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Body */
.acc-body {
  padding: 15px;
}

/* Section */
.acc-section {
  margin-bottom: 18px;
}

.acc-section h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}

/* Grid – 3 per row */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Square buttons */
.acc-grid button {
  aspect-ratio: 1 / 1;
  border: 1px solid #000;
  background: #f8f9fb;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover effect (myGov feel) */
/* Hover effect */
.acc-grid button:hover {
  background: #1f3b68;
  color: #fff;
  border-color: #1f3b68;
}

/* Clicked / Active button */
.acc-grid button.active {
  background: #1f3b68;
  color: #fff;
  border-color: #1f3b68;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
}

/* Active button */
.acc-grid button.active {
  background: #0b5ed7;
  color: #fff;
}

/* High Contrast */
.high-contrast {
  background: #000 !important;
  color: #ff0 !important;
}

/* Dark Mode */
.dark-contrast {
  background: #121212;
  color: #eaeaea;
}

/* Highlight links */
.highlight-links a {
  background: yellow;
  color: #000 !important;
  padding: 2px 4px;
}

/* Big Cursor */
.big-cursor * {
  cursor: url("https://cur.cursors-4u.net/cursors/cur-2/cur116.cur"), auto;
}

/* Hide Images */
.hide-images img {
  display: none !important;
}
