/* GLOBAL */
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
}

/*<================= HERO SECTION =======================>*/
 .hero-section {
  position: relative;
  height: 972px;
  width: 100%;
  background-image: url("./images/hero-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-banner {
  margin-top: 300px;
}

.hero-bannerr {
  margin-top: 92px;
  z-index: 2;
  position: relative;
} 
.hero-section{
  animation: heroBackgroundSlider 10s infinite;
}

@keyframes heroBackgroundSlider {

  0%, 50%{
    background-image: url("./images/shakthi-team-\ vehicles.png");
  }

  50.01%, 100%{
    background-image: url("./images/hero-image.jpeg");
  }

}



/* DARK OVERLAY */

/* CONTENT */
.about-hero-content, .hero-content{
  display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}


    .about-hero .about-hero-content{
      color:black;
      font-weight: bold;
    }

/* TEXT */
.welcome-text {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 30px;
}

.hero-title {
  font-size: 63px;
  font-weight: 700;
  margin-top: 5px;
  line-height: 1;
}

.hero-subtitle {
  margin-top: 15px;
  font-size: 22px;
  font-weight: 400;
  opacity: 0.9;
}

.hero-search {
  margin-top: 30px;
  display: flex;
  max-width: 520px;

  background: rgba(255, 255, 255, 0.5);
  /* FIXED */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(8px);

  border-radius: 6px;
  border: 1px solid #000;
  overflow: hidden;
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  outline: none;
  background: transparent;
}

.hero-search button {
  border: none;
  padding: 0 20px;
  background: #000;
  color: #fff;
  cursor: pointer;
  border-left: 1px solid #000;
}

/* BUTTON WRAPPER */
.hero-buttons {
  margin-top: -75px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* COMMON BUTTON STYLE */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 18px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;

  color: #fff;
  border: none;
}

/* EMERGENCY (RED) */
.emergency-btn {
  background-color: #e5322d;
}

/* WHATSAPP (CUSTOM GREEN) */
.whatsapp-btn {
  background-color: #0e8907;
}

/* CHILD HELPLINE (BLUE) */
.child-btn {
  background-color: #3f2de5;
}

/* ICON SIZE */
.whatsapp-btn img {
  width: 18px;
  height: 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-banner {
    margin-top: -33px;
  }
}

/* ================= NAVBAR ================= */
.custom-navbar-wrapper {
  position: fixed;
  margin-top: 30px;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.custom-nav {
  color: #e2bc6e !important;
}

.custom-navbar {
  background: rgba(0, 0, 0, 0.55);
  /* slightly transparent black */
  padding: 10px 25px;
}

/* Navbar must be relative */
.navbar {
  position: fixed;
  top: 23px;
  left: 0;
  width: 100%;
  z-index: 1000;

  padding-bottom: 0;
  /* remove extra space */
  background: transparent;
}

/* Wrapper – center of full page */
.logo-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -12px;
  /* 🔥 overlap TOP space */
  display: flex;
  align-items: center;
  z-index: 1100;
}

/* White circular background */
.logo-bg {
  width: 97px;
  height: 97px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: -17px;
  /* circles touching */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}

/* First circle normal */
.logo-bg:first-child {
  margin-left: 0;
}

/* Logo image inside */
.logo-bg img {
  width: 65px;
  height: auto;
}

/* NAV LINKS */
.custom-navbar .nav-link {
  font-weight: 500;
  white-space: nowrap;
  border-radius: 4px;
}

.custom-navbar .nav-link:hover {
  color: #ae7006 !important;
}

.custom-btn {
  background-color: #ae7006 !important;
  border-color: #ae7006 !important;
  color: #fff !important;
}

.custom-btn:hover {
  background-color: #ae7006 !important;
  border-color: #ae7006 !important;
  color: #fff !important;
}

/* BUTTON */
.custom-navbar .btn-warning {
  border-radius: 4px;
}

.btn-warning {
  color: #fff !important;
}

/*trasistion*/

.custom-navbar {
  background: rgba(0, 0, 0, 0.55);
  /* already transparent */
  transition: background 0.3s ease;
}

.custom-navbar.scrolled {
  background: #0f0f0f;
  /* complete black */
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .custom-navbar {
    flex-wrap: wrap;
  }

  .logo-box {
    margin-bottom: 10px;
  }
  .stats-inner{
    overflow: scroll;
  }
  .analytics-grid{
    display: flex !important;
    flex-direction: column;
  }
  .kpi-num {
    font-size: 20px !important;
}
}

/* ================= OVERLAP HELP SECTION ================= */

.help-overlap-section {
  position: relative;
  margin-top: -275px;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-overlap-section .container {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* CARD WRAPPER */
.help-card-wrapper {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px 30px;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 40%;
  border: 8px solid #491b31;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* INDIVIDUAL CARD */
.help-card {
  display: flex;
  align-items: stretch;
  /* 🔥 VERY IMPORTANT */
  gap: 18px;
  height: 100%;
  /* 🔥 key fix */
}

/* ICON */
.help-icon img {
  width: 150px;
  height: auto;
}

/* CONTENT */
.help-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* 🔥 take remaining space */
  justify-content: center;
}

/* Heading */
.help-content h4 {
  font-weight: 700;
  margin-top: 16px;
  font-size: 27px;
}

/* Paragraph */
.help-content p {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.4;
}

/* KNOW MORE LINK */
.help-content button {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d60000;
  text-decoration: none;
  border: none;
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .help-card-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .help-card {
    flex-direction: column;
  }

  .help-card-wrapper{
    width: 80%;
    margin-top: 10px;
  }
}

/* <===========Safety section==============>*/

.safety-section {
  padding: 60px 0;
  text-align: center;
}

.safety-bg {
  background-image: url(images/safty-issue.png);
  padding: 60px 0;
  text-align: center;
  background-size: cover;
}

.top-text {
  color: #c07a52;
  font-size: 18px;
}

.main-heading {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.video-card {
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
  width: 100%;
}

.video-card .card-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 260px);
  transform: translate(-50%, 50%);
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.play-icon img {
  width: 70px;
  cursor: pointer;
}

.video-card .card-body {
  padding: 40px 20px 22px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* 🔥 MAX 6px gap */
  margin-top: 8px;
  /* video card kindha */
}

.video-card h5 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
}

.video-card p {
  font-size: 14px;
  color: #666;
  margin: 0 22px;
}

/* WRAPPER */
.custom-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

/* ARROW BUTTONS */
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #333;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* NO HOVER ANIMATION (STATIC) */
.carousel-arrow:hover {
  background: #fff;
  color: #333;
}

/* INDICATORS */
.custom-indicators {
  display: flex;
  gap: 8px;
}

/* DOTS */
.custom-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: #cfcfcf;
  opacity: 1;
}

/* ACTIVE DOT */
.custom-indicators button.active {
  background-color: #f57c00;
}

.nav-arrow img {
  width: 22px;
}

/* DOT SIZE */
.custom-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  opacity: 1;
  transition: all 0.2s ease;
  background-color: #d9d9d9;
}

/* ACTIVE ORANGE DOT */
.custom-indicators .active {
  background-color: #f57c4a;
  width: 12px;
  height: 12px;
}

/* next SECTION */
.issues-section {
  /* background: #fff7f2; */
  padding: 70px 0;
}

/* HEADINGS */
.top-text {
  color: #c07a52;
  font-size: 14px;
  margin-bottom: 8px;
}

.main-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* CARD */
.issue-card {
  border-radius: 14px;
  padding: 20px 12px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.issue-card img {
  width: 45%;
  max-width: 70px;
  height: auto;
  margin-bottom: 10px;
}

.issue-card p {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.issue-card p a{
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #000;
  text-decoration: none;
}

/* HOVER */
.issue-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}

.top-text {
  font-size: 18px;
  color: #ae7006;
}

.main-heading {
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

/*<=============Tab Section============>

  /* BACKGROUND COLORS (MATCH SS STYLE) */
.bg-1 {
  background: #ffe8d9;
}

.bg-2 {
  background: #ffe1e1;
}

.bg-3 {
  background: #fff3c4;
}

.bg-4 {
  background: #ddf5e6;
}

.bg-5 {
  background: #e6defa;
}

.bg-6 {
  background: #ddfbfb;
}

.bg-7 {
  background: #f3ddff;
}

.bg-8 {
  background: #e9f1ff;
}

.issue-card {
  width: 193px;
  height: 189px;
  aspect-ratio: 1 / 1;
  /* perfect square cards */
  border-radius: 7px;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*<================Leadership Section===============>*/

/* SECTION */
.leadership-section {
  padding: 70px 0;
  background-size: cover;
}

.leader-ship-bg {
  background-image: url(images/Leadership-bg.png);
  background-size: cover;
}

/* HEADER */
.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.section-header h3 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
}

.section-header .line {
  flex: 1;
  height: 1px;
  background: #e6d5b8;
}

/* CARD */
.leader-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eccb85;
}

.leader-card img {
  width: 100%;
  height: 394px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 2px solid #000;
}

.leader-card h5 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 10px;
}

.leader-card .designation {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.leader-card .designation.highlight {
  color: #9e6d05;
  background-color: transparent;
  /* orange highlight */
}

.leader-card p {
  font-size: 15px;
  color: #555;
  margin-top: 12px;
  line-height: 1.6;
}

/*<================== Key Modules Section ===================> */

.key-modules-section {
  /* background: #fff7ed; */
  padding: 80px 0;
}

.key-modules-section .row {
  min-height: 100%;
}

.key-left-content {
  display: flex;
  flex-direction: column;

  height: 100%;
}

/* Title */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.key-left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical center */
  height: 100%;
}

/* Paragraph */
.section-text {
  font-size: 15px;
  color: #555;
  max-width: 420px;
  line-height: 1.6;
}

/* Module Cards */
.module-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Image inside cards */
.module-card img {
  max-width: 75px;
  height: auto;
}

/* Empty Card */
.empty-card {
  background: #ffffff;
}

/* <================ Education Clean Section ===============> */

.education-clean {
  background: #ffffff;
  padding: 80px 0;
}

/* Header */
.edu-tag {
  font-size: 18px;
  color: #d17a00;
  font-weight: 500;
}

.edu-title {
  font-size: 40px;
  font-weight: 700;
  color: #000000;
  margin-top: 0px;
}

/* Button */
.edu-btn {
  background: #b97900;
  color: #ffffff;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

/* Card */
.edu-card {
  display: flex;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
}

.play-iconn {
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  z-index: 10;
  cursor: pointer;
}

/* Text Side */
.edu-text {
  width: 55%;
  padding: 30px;
}

.edu-text h5 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.edu-text span {
  font-size: 13px;
  color: #666;
}

.edu-text p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Media Side */
.edu-media {
  width: 45%;
  position: relative;
}

.edu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

/* Play Button */

.play-icon {
  position: absolute;
  left: 50%;
  top: 260px;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  z-index: 5;
}

/* <================ News Final Section ===============> */
.updates-bg {
  background-image: url(images/upload-bg.png);
  background-size: cover;
}

.news-final {
  padding: 80px 0;
}

/* Header */
.news-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}

.news-subtitle {
  font-size: 15px;
  color: #555;
}

/* Button */
.news-btn {
  background: #b97900;
  color: #fff;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

/* Card */
.news-card {
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
}

/* Image */
.news-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

/* Content */
.news-content {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Title */
.news-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Read More */
.read-more {
  margin-top: auto;
  font-size: 16px;
  font-weight: 600;
  color: #d17a00;
  text-decoration: none;
  display: inline-block;
}

/*<====================engage section==============>*/

/* Header */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 25px;
  margin-top: -84px;
}

.section-subtitle {
  font-size: 18px;
  color: #ae7006;
}

/* Button */
.btn-btn-warning-know-more-btn {
  background: #b97900;
  color: #fff;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.reverse-btn {
  background-color: #ae7006;
  color: #fff;
  border: 2px solid #ae7006;
  padding: 8px 24px;
  font-weight: 500;
  transition: all 0.35s ease;
  width: 133px;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Hover */
.reverse-btn:hover {
  background-color: transparent;
  color: #ae7006;
  border-color: #ae7006;
  /* force border */
}

/* Active (mobile touch) */
.reverse-btn:active,
.reverse-btn:focus {
  background-color: transparent;
  color: #ae7006;
  border: 2px solid #ae7006;
  outline: none;
  box-shadow: none;
}

/* WRAPPER — FIXED 50px GAP */
.events-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

/* LEFT COLUMN */
.left-col {
  flex: 0 0 674px;
}

.left-event-card {
  display: flex;
  flex-direction: column;
}

.left-event-img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 9px;
}

.left-event-content {
  margin-top: 18px;
}

.left-event-content h5 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.left-event-content p {
  font-size: 15px;
  color: #555;
}

/* RIGHT COLUMN */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.right-col .right-event:nth-child(2) {
  margin-top: -20px;
}

.right-event {
  display: flex;
  gap: 14px;
}

.right-event img {
  width: 193px;
  height: 212px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}

.right-event-content h6,
.right-event-contentt h6 {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 24px;
}

.right-event-content p,
.right-event-contentt p {
  font-size: 15px;
  color: #555;
  margin-top: 25px;
  margin-bottom: 8px;
}

/* READ MORE */
.read-more,
.read-moree,
.read-moreee {
  font-size: 16px;
  font-weight: 600;
  color: #d17a00;
  text-decoration: none;
  display: inline-block;
}

.read-moree {
  margin-top: 20px;
}

.read-moreee {
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .events-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .left-col {
    flex: 1;
  }
}

/* <==============footer section==============>*/

.footer-section {
  background-color: #fff;
  font-size: 14px;
  margin-top: 80px;
}

.footer-line {
  border-top: 2px solid #e1c5a7;
}

.footer-logo-box {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

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

.footer-links a {
  color: #000;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-address {
  margin-bottom: 6px;
  font-size: 16px;
}

.footer-phone {
  font-weight: 600;
}

.footer-bottom-text-center {
  padding: 15px 0;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-items: center;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid #e8cfa8;
  padding: 15px 0;
}

/* Navbar main fix */
.custom-navbar .navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
  display: flex;
  gap: 23px;
}

/* Left side force */
#navbarLeft {
  flex: 1;
  display: flex;
}

/* Dropdown width control */
.mega-menu {
  width: 1100px;
  max-width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 0;
}

.mega-menu {
  width: 1100px;
  max-width: calc(100vw - 40px);
}

/* Dropdown click behaviour */
.navbar .dropdown-toggle::after {
  display: none;
}

.mega-item {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.mega-item:hover {
  background: #f5f7fa;
}

.mega-item h6 {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
}

.mega-item p {
  margin: 0;
  font-size: 13px;
  color: #6c757d;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

/* icon colors */
.bg-green {
  background: #4caf50;
}

.bg-pink {
  background: #ec407a;
}

.bg-blue {
  background: #42a5f5;
}

.bg-yellow {
  background: #fbc02d;
}

.bg-purple {
  background: #7e57c2;
}

.bg-red {
  background: #ef5350;
}

.bg-indigo {
  background: #5c6bc0;
}

.bg-violet {
  background: #8e24aa;
}

@media (max-width: 991px) {
  .mega-dropdown-content {
    width: 100%;
  }
}

/* HERO SECTION BUTTONS – FORCE RESET */
.hero-section a,
.hero-section button {
  transition: none !important;
}

/* DESKTOP ONLY HOVER DROPDOWNS */
@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }

  /* KEEP DROPDOWN OPEN WHILE HOVERING MENU */
  .navbar .dropdown-menu:hover {
    display: block;
  }

  .dropdown-menu .dropdown:hover>.dropdown-menu {
    display: block;
    position: static;
    /* 👈 key line */
  }
}

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    top: calc(100% + 6px);
    /* 👈 move dropdown down safely */
  }
}

/* REMOVE GAP (VERY IMPORTANT) */
.dropdown-menu {
  margin-top: 0 !important;
  width: 550px;
}

.dropdown-menuu {
  width: 220px;
}

.dropdown-item {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 8px;
}

/* HOVER BUFFER FIX */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 12px;
  width: 100%;
}

.text-centerrr {
  font-size: 24px;
  font-weight: bold;
  text-align: center !important;
}

/*<========== responsive==============>*/

.custom-navbar {
  background: rgba(0, 0, 0, 0.75);
  padding: 0px;
}

/* Links */
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #f4c430;
}

/* Desktop center logos */
.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-menu {
  margin-top: 20px;
}

.nav-logo {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  object-fit: contain;
  margin-left: -15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  width: 60px;
  height: 60px;
}

/* Mobile left logo */
.mobile-logo {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  margin-left: -10px;
}

/* Get Help Button */
.get-help-btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 16px;
}

/* MOBILE VIEW FIXES */
@media (max-width: 991px) {
  .navbar-center {
    display: none !important;
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .navbar-nav .nav-link {
    margin: 8px 0;
  }
}

.custom-navbar {
  width: 1380px;
  height: 56px;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 140px 0 60px;
  }

  .hero-title {
    font-size: 37px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-search {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .help-overlap-section {
    width: 100%;
    margin: 0;
    height: auto;
  }

  .help-card-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .help-card {
    flex-direction: column;
    text-align: center;
  }

  .help-icon img {
    width: 140px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  
  .video-card h5 {
    font-size: 18px;
  }

  .video-card p {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .issue-card {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .issue-card p {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .edu-card {
    flex-direction: column;
  }

  .edu-text,
  .edu-media {
    width: 100%;
  }

  .news-image {
    height: 440px;
  }
}

@media (max-width: 991px) {
  .events-wrapper {
    flex-direction: column;
  }

  .left-col {
    flex: 1;
  }

  .right-event {
    flex-direction: column;
  }

  .right-event img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .footer-section {
    text-align: center;
  }

  .footer-logo-box {
    margin: 0 auto 20px;
  }
}

/* scrool for mobile view  */

@media (max-width: 991px) {

  #videoCarousel2 .carousel-item .row{
    justify-content:center;
  }

  #videoCarousel2 .video-card{
    width:100%;
  }



  .play-icon {
    position: absolute;
    left: 50%;
    top: 203px;
  }

  .hero-search {
    margin-top: 30px;
    display: flex;
    max-width: 383px;
  }

  .hero-btn {
    width: 71%;
    margin: 0 auto;
    font-size: 16px;
    padding: 11px 1px !important;
  }

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

  .navbar-nav .nav-link {
    margin: 4px 0;
  }

  .custom-navbar .nav-link:hover {
    color: #ae7006 !important;
    text-align: center;
  }

  .dropdown-menu {
    margin-top: 0 !important;
    width: 339px;
  }
}

.custom-toggler {
  border: 2px solid white;
  /* white border */
  border-radius: 0.25rem;
  /* optional rounding */
  color: white;
  /* icon color */
  background: transparent;
  /* transparent background */
  padding: 0.25rem 0.5rem;
  /* adjust size */
}

/* Optional: bigger icon */
.custom-toggler i {
  font-size: 1.25rem;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}





.dial-112-content {
  font-size: 8px;
  color: black;
  font-weight: 600;
  margin-top: 10px;
}

.modal-backdrop {
  z-index: 0;
}

.help-line-list {
  display: flex;
}

.emergency-contact a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px 0 0;
}

.contact-us-icon {
  width: 10%;
  font-size: 10px;
}



/* ====== STATS BANNER ====== */
.stats-banner {
  background: linear-gradient(135deg, #8B0000 0%, #CC0000 50%, #8B0000 100%);
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20l10-10v20L20 20zm0 0l-10 10h20L20 20z'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-banner::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  filter: blur(40px);
}

.stats-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.stat-blk {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat-blk:last-child {
  border-right: none;
}

.stat-big {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-lbl {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  margin-top: 6px;
}


/* ====== ANALYTICS ====== */
.analytics-sec {
  background: #fff;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.an-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.an-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
}

.an-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-lbl {
  font-size: 12px;
  color: var(--text-mid);
  width: 120px;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.bar-track {
  flex: 1;
  height: 10px;
  background: var(--light-grey);
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-radius: 5px;
  position: relative;
  animation: grow-bar 1.5s ease forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes grow-bar {
  to {
    transform: scaleX(1)
  }
}

/* glossy bar sheen */
.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, .25);
  border-radius: 5px 5px 0 0;
}

.bar-val {
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
  color: var(--red);
  width: 45px;
  text-align: right;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.kpi-item {
  background: var(--red-pale);
  border: 1px solid rgba(204, 0, 0, .1);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  /* Glossy */
  position: relative;
  overflow: hidden;
}

.kpi-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
  pointer-events: none;
}

.kpi-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}

.kpi-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ====== SECTION COMMON ====== */
.sec {
  padding: 72px 40px;
}

.sec-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.sec-hdr {
  text-align: center;
  margin-bottom: 52px;
}

.sec-tag {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 10px;
}

.sec-title span {
  color: var(--red);
}

.sec-rule {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
  position: relative;
}

.sec-rule::before,
.sec-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: var(--border);
}

.sec-rule::before {
  right: calc(100% + 10px);
  width: 80px;
}

.sec-rule::after {
  left: calc(100% + 10px);
  width: 80px;
}


:root {
  --red: #cc0000;
  --red-dark: #8b0000;
  --red-pale: #fff2f2;
  --border: #e6e6e6;
  --light-grey: #f5f5f5;
  --text: #222;
  --text-mid: #555;
  --text-muted: #888;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .06);
}


video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.module-card {
  flex-direction: column;
}

.module-card-data {
  font-weight: bold;
  margin-top: 10px;
}



/* ...........About styles ............*/
.about-hero {
      background-image: url(./images/compressed_image.png);
      position: relative;
    height: 700px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    display: flex;
    justify-content: center;
    }

    .about-hero h1 {
      font-size: 45px;
      font-weight: bold;
    }

    .about-hero h3 {
      margin-top: 10px;
      font-weight: 600;
    }

    .about-hero p {
      font-size: 18px;
    }

    .section {
      padding: 60px 0;
    }

    .section.gray {
      background: #eef2f7;
    }

    .section h2 {
      margin-bottom: 25px;
      color: #000;
      font-size: 28px;
      border-left: 5px solid #C62828;
      padding-left: 12px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }

    .about-card {
      background: white;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      transition: 0.3s;
    }

    .about-card:hover {
      transform: translateY(-5px);
    }

    .about-card h4 {
      margin-bottom: 15px;
      color: #d17a00;
    }

    .about-card ul {
      padding-left: 20px;
    }

    .highlight {
      background: #d17a00;
      color: white;
    }

    .highlight h4 {
      color: white;
    }

   .about-content{
    background: rgba(255,255,255,0.50);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    padding: 10px;
}
    /* NUMBER HIGHLIGHT STYLE */
    .highlight-number {
      font-weight: 700;
      font-size: 18px;
      border-radius: 6px;
      display: inline-block;
    }

    .highlight .highlight-number {
      background: white;
      color: #C62828;
    }

    .helpline-number {
          font-size: 20px;
    font-weight: 700;
    padding: 10px 18px;
    margin: 10px 0;
    }

    .simple-list {
      list-style: square;
      padding-left: 25px;
    }

    .about-footer {
      text-align: center;
      background: #111;
      color: white;
      padding: 20px;
      margin-top: 40px;
    }

    @media (max-width:768px){
      .about-hero h1 {
      font-size: 30px;
      font-weight: bold;
    }
    }

    /* ..............Programming page styles................*/
    .programmes-section {
    position: relative;
    padding: 80px 8%;
    background: #ae7006;
    color: #fff;
    overflow: hidden;
}

/* Watermark Background */
.programmes-section::before {
    content: "";
    position: absolute;
    background: url('images/ap-police-emblem.png') no-repeat center;
    background-size: 500px;
    opacity: 0.05;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.program-section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.program-section-title::after {
    content: "";
    width: 100px;
    height: 4px;
    background: #8B0000;
    display: block;
    margin: 15px auto 0;
}

.initiative-card {
    background: white;
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: 0.4s ease;
    color: black;
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.text-content h3 {
    color: #b91313;
    font-size: 24px;
    margin-bottom: 15px;
}

.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.image-grid img {
    width: 100%;
    height: 38vh;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.4s;
    border-radius: 30px;
}

.image-grid img:hover {
    transform: scale(1.05);
}



/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width: 992px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .side-by-side {
        flex-direction: column;
    }

    .side-by-side img {
        width: 100%;
    }
}


/* ............404 error styles............ */
body .error{
      background: #ffffff;
      color: #0a0a0a;
      font-family: 'DM Sans', sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .container.error {
      text-align: center;
      padding: 2rem;
      animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .error-number {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(7rem, 20vw, 14rem);
      line-height: 1;
      letter-spacing: -0.04em;
      color: #0a0a0a;
      position: relative;
      display: inline-block;
    }

    .error-number::after {
      content: '404';
      position: absolute;
      inset: 0;
      color: transparent;
      -webkit-text-stroke: 1px #d4d4d4;
      transform: translate(4px, 4px);
      z-index: -1;
    }

    .divider {
      width: 40px;
      height: 1px;
      background: #0a0a0a;
      margin: 2rem auto;
      opacity: 0.25;
    }

    .error-title {
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: clamp(0.95rem, 2.5vw, 1.15rem);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #0a0a0a;
      margin-bottom: 0.6rem;
    }

    .error-subtitle {
      font-size: 0.9rem;
      color: #888;
      font-weight: 300;
      letter-spacing: 0.02em;
      margin-bottom: 2.8rem;
    }

    .error-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #0a0a0a;
      color: #ffffff;
      text-decoration: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.85rem 2rem;
      border: 1px solid #0a0a0a;
      transition: background 0.25s ease, color 0.25s ease;
    }

    .error-btn:hover {
      background: #ffffff;
      color: #0a0a0a;
    }

    .error-btn svg {
      transition: transform 0.25s ease;
    }

    .error-btn:hover svg {
      transform: translateX(-3px);
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }