:root {
  --font-family-base: 'Roboto', sans-serif;
  --color-black: #000;
  --color-white: #fff;
  --color-grey-light: #e0e0e0;
  --color-grey-dark: #6c757d;
  --color-primary-yellow: #f7b20f;
  --color-primary-yellow-dark: #a87602;
  --color-primary-yellow-hover: #e69e00;
  --color-alert-text: #450202;
  --insider-sidebar-head:#fcc238;
  --breadcrumb-not-active: #420418;
  --breadcrumb-active : #838383;
  /* --color-alert-border: var(--color-primary-yellow); */
  --color-info-bg: #fee49b;
  --color-link: #4d63ac;
  --color-link-hover: #0056b3;
  --color-modal-bg: #f3f4ee;
  --color-modal-border: #ccc;
  --color-modal-primary: #f2f2f2;
  --color-modal-secondary: #dcdcdc;
  --color-modal-primary-hover: #e6e6e6;
  --color-modal-secondary-hover: #c9c9c9;
  --color-facebook: #3b5998;
  --color-twitter: #1da1f2;
  --color-youtube: #ff0000;
  --color-home-active: #f26522;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
  }
  .section-topbar-navbar .top-head-title{
    height: 47px;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .section-topbar-navbar .top-head-title.active {
    background-color: var(--color-grey-light); /* light grey */
  }
  .section-topbar .ndma-topbar {
    background: var(--color-white);
    padding: 0.3rem 0;
    color: var(--color-black);
    font-size: 0.875rem;
  }
  .section-header-topbar .header-logos{
    height: 130px;
  }
  .section-header-topbar h1{
    font-size: 15px;
    font-weight: 600;
  }
  .section-header-topbar small{
    font-size: 18px;
  }
      .section-navbar{
      width: 100%;
    }
  .section-navbar .navbar-nav .nav-link.active-icon {
    background-color: var(--color-home-active); /* NDMA red */
    /* color: var(--color-white) !important; */
    /* padding: 0.5rem 0.75rem; */
    display: inline-block;
    border-radius: 0;
  }
  .section-navbar .navbar-nav .dropdown-item.active-icon{
    background-color: var(--color-home-active);
    /* padding: 0.5rem 0.75rem; */
    display: inline-block;
    border-radius: 0;
  }
  .section-navbar .ndma-navbar {
    background: var(--color-primary-yellow);
    font-size: 1rem;
    position: relative;
    z-index: 1045;
    padding: 0;
  }
  .section-navbar .ndma-navbar .navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
  }
  .section-navbar .ndma-navbar .navbar-brand img {
    height: 50px;
    margin-right: 10px;
  }
  .section-navbar .ndma-navbar .navbar-nav .nav-link {
    padding: 10px 20px;
    color: var(--color-black);
    /* font-weight: 500; */
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  .section-navbar .ndma-navbar .dropdown-menu {
    border-radius: 0;
    /* border-color: var(--color-modal-border); */
    padding: 0;
    font-size: 0.95rem;
  }
  .section-navbar .ndma-navbar .dropdown-item {
    color: var(--color-black);
    font-weight: 400;
    background-color: var(--color-primary-yellow);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .section-navbar .ndma-navbar .dropdown-item:hover {
      background: var(--color-primary-yellow-dark);
    color: var(--color-black);
  }
  .section-navbar .navbar-toggler {
    border: none;
    background: transparent;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
  }
  .section-navbar .navbar-toggler-icon,
  .section-navbar .close-icon {
    font-size: 1.5rem;
    color: var(--color-black);
    width: 24px;
    height: 24px;
    line-height: 1;
    text-align: center;
  }
  .section-navbar .nav-item.dropdown > .nav-link::after {
    display: none !important;
  }
  .section-navbar .navbar-collapse{
      flex-grow: unset;
  }
  .section-navbar .navbar-nav .dropdown-toggle::after {
    display: none;
  }
  .section-breadcrumb{
    font-size: 12px;
    margin-top: 10px;
  }
  .section-breadcrumb .breadcrumb a {
    text-decoration: none;
    color: var(--breadcrumb-not-active); /* Bootstrap's primary blue */
  }
  .section-breadcrumb .breadcrumb-item.active{
    color: var(--breadcrumb-active);
  }
  .section-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\BB";
    color: var(--breadcrumb-not-active);
    padding: 0 5px;
  }

  .section-alertbar .custom-alert-wrapper {
padding: 10px 0;
}

.section-alertbar .custom-alert-container {
background-color: var(--color-primary-yellow);
border: 2px solid var(--color-primary-yellow);
border-radius: 0.375rem;
padding: 5px;
display: flex;
align-items: center;
}

.section-alertbar .custom-alert-label {
background-color: var(--color-primary-yellow);
color: red;
font-weight: bold;
padding: 5px 12px;
margin-right: 15px;
border-radius: 3px;
white-space: nowrap;
}

.section-alertbar .custom-alert-container marquee {
    background-color: var(--color-white);
color: var(--color-alert-text);
font-weight: 600;
font-size: 0.95rem;
white-space: nowrap;
padding: 5px 10px;
}
.section-main-banner .homepage-main-block .info-card-container{
  padding: 0 10px 10px 10px;
}
.section-main-banner .homepage-main-block .info-card {
    background-color: var(--color-primary-yellow);
    padding: 5px;
    border-radius: 10px;
    min-height: 200px;
  }

.section-main-banner  .homepage-main-block .info-card img {
    width: 100px;
    height: auto;
    border-radius: 10px;
  }

.section-main-banner .carousel-inner img {
    min-height: 200px;
    /* object-fit: cover; */
    border-radius: 6px;
  }

  .section-info-blocks .list-view-row{
    border-bottom: 2px #929292 dotted;
  }
  .section-info-blocks .list-view-row a{
    color: var(--color-link) !important;
    font-size: 14px;
  }
  .section-info-blocks .whatsnew-section a{
    color: var(--color-link);
    font-size: 14px;
    border-bottom: 2px #929292 dotted;
    text-decoration: none;
  }
/* Base button style */
/* Default collapsed: Grey background */
.section-info-blocks .accordion-button {
    background-color: var(--color-grey-dark); /* grey */
    color: var(--color-white);
    /* font-weight: 600; */
    transition: all 0.3s ease;
  }

  /* Expanded: Yellow background */
  .section-info-blocks .accordion-button:not(.collapsed) {
    background-color: var(--color-primary-yellow); /* yellow */
    color: var(--color-black);
  }

  /* Arrow icon always white (but visible on both) */
  .section-info-blocks .accordion-button::after {
    filter: brightness(0) invert(1);
  }

  /* Arrow on yellow remains black (optional) */
  .section-info-blocks .accordion-button:not(.collapsed)::after {
    filter: brightness(0); /* makes arrow dark on yellow */
  }
  .section-hazards .info-tile {
    background-color: var(--color-info-bg);
    border-radius: 4px;
    min-height: 100%;
  }

  .section-hazards .info-header {
    background-color: var(--color-primary-yellow);
    padding: 10px;
    /* font-weight: 600; */
    font-size: 16px;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  .section-hazards .info-list {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
  }

  .section-hazards .info-list li {
    margin-bottom: 5px;
    border-bottom: 2px #929292 dotted;
  }

  .section-hazards .info-list a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 0.95rem;
  }

  .section-hazards .info-list a:hover {
    color: var(--color-link-hover);
    text-decoration: underline solid;
  }
  .section-hazards .hazards-section{
    padding: 10px;
  }
  .section-social-widgets .fb-page{
    overflow-x: auto;
  }
      .section-social-widgets .widget-titles{
        text-decoration: none !important;
        color: var(--color-black) !important;
        padding: 8px;
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
  .section-social-widgets .widget-container{
    display: block;
    border: 1px solid #b4b4b4;
    width: 100%;
    min-height: 550px;
  }
  /* .section-social-widgets .twitter-timeline{
    color: var(--color-black);
    text-decoration: none;
    padding: 8px;
} */
  .section-footer .ndma-footer {
    background-color: var(--color-primary-yellow);
    font-size: 0.9rem;
    color: var(--color-black);
    position: relative;
  }

  .section-footer .ndma-footer .footer-link {
    color: var(--color-black);
    text-decoration: none;
    padding: 0 8px;
  }

  .section-footer .ndma-footer .footer-link:hover {
    text-decoration: underline;
  }

  .back-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: var(--color-primary-yellow);
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .back-to-top:hover {
    background-color: var(--color-primary-yellow-hover);
    color: white;
  }
.header-search-overlay{
    display: none;
    background: var(--color-grey-light);
    padding: 40px 0;
}
.header-search-overlay input,button{
    min-height: 50px;
    border-radius: 0.375rem;
}
.header-search-overlay button{
    background-color: #aa2323 !important;
}
.header-search-overlay input:focus,button:focus{
    box-shadow: none;
}

.floating-social-icons {
    position: fixed;
    top: 40%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1050;
  }

  .floating-social-icons .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 5px;
    color: white;
    font-size: 20px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .floating-social-icons .social-icon:hover {
    opacity: 0.85;
  }

  /* Background colors */
  .floating-social-icons .bg-facebook {
    background-color: var(--color-facebook);
  }

  .floating-social-icons .bg-twitter {
    background-color: var(--color-twitter);
  }

  .floating-social-icons .bg-youtube {
    background-color: var(--color-youtube);
  }

/* Exact match for NDMA external link modal */
#externalLinkModal .modal-content {
    border: 1px solid var(--color-modal-border);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    background-color: var(--color-modal-bg); /* Light off-white */
  }

  #externalLinkModal .modal-body {
    padding: 20px 20px 10px;
    font-size: 14px;
    color: #222;
    line-height: 1.5;
  }

  #externalLinkModal .modal-footer {
    padding: 10px 20px 15px;
    background-color: var(--color-modal-bg);
    border-top: none;
    justify-content: flex-end;
    gap: 10px;
  }

  #externalLinkModal .btn {
    font-size: 14px;
    padding: 4px 16px;
    border: 1px solid var(--color-modal-border);
    border-radius: 2px;
  }

  #externalLinkModal .btn-primary {
    background-color: var(--color-modal-primary);
    color: var(--color-black);
  }

  #externalLinkModal .btn-primary:hover {
    background-color: var(--color-modal-primary-hover);
  }

  #externalLinkModal .btn-secondary {
    background-color: var(--color-modal-secondary);
    color: var(--color-black);
  }

  #externalLinkModal .btn-secondary:hover {
    background-color: var(--color-modal-secondary-hover);
  }

  .show-search-icon.active {
    background-color: var(--color-grey-light); /* Light grey like NDMA site */
    transition: background-color 0.3s ease;
  }
  .insider-sidebar{
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 14px;
  }
  .insider-sidebar .sidebar-head{
    background-color: var(--insider-sidebar-head);
    font-size: 18px;
    border-radius: 5px 5px 0 0;
  }
  .insider-sidebar .list-group-item a.active{
    color: var(--color-black);
    font-weight: bold;
    text-decoration: none;
  }
  .insider-sidebar .list-group-item{
    border-width: 0;
  }
  .insider-sidebar .list-group-item a{
    color: #393939 !important;
    text-decoration: none;
    padding: 7px 10px;
    display: block;
    width: 100%;
  }
  .insider-sidebar .list-group-item a:hover{
    color: #0056b3 !important;
  }
  .insider-sidebar .list-unstyled li{
    padding-left: 30px;
  }
  .insider-sidebar ul{
    width: 100%;
    margin: 0;
  }
  .insider-sidebar ul .custom-border{
    border-bottom: 1px dotted #000;
  }
  .insider-sidebar li{
    width: 100%;
    padding: 0;
  }
.section-main-content h1{
  font-size: 30px;
  font-weight: normal;
}
.section-main-content ul{
  list-style: square;
}
.section-main-content .disaster-info{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100px;
  height: auto;
  flex-wrap: wrap;
}
.section-main-content .disaster-info a{
  text-decoration: none;
  color: var(--color-black);
  cursor: pointer;
}
.section-main-content .disaster-info img.img-fluid {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 8px;
  height: 100px;
  width: 100px;
  object-fit: contain;
  margin-bottom: 5px;
}
.section-main-content .col-2 > .disaster-info {
  font-size: 14px;
}

.section-main-content .image-plus-content{
  display: flex;
}
.section-main-content .list-unstyled a{
  text-decoration: none;
  color: var(--color-alert-text);
}
.section-main-content .media-gallery-list li{
  text-decoration: none;
  color: var(--color-alert-text);
}
.section-main-content .media-gallery-list a{
  text-decoration: none;
  color: var(--color-alert-text);
}
.site-map-content a{
  text-decoration: none;
  color: blue;
}
.annual-report-wrapper {
  margin-top: 20px;
}

.annual-report-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border: 1px solid #000;
}

.annual-report-table th {
  background-color: #f7b20f !important;
  color: #000 !important;
  text-align: left;
  padding: 10px !important;
  border: 1px solid #000;
}

.annual-report-table td {
  padding: 10px;
  border: 1px solid #000;
}

/* .annual-report-table tbody tr.alt {
  background-color: #fce08a;
} */

.annual-report-table table td a {
  vertical-align: middle;
}
i.bi.bi-file-pdf {
    color: red !important;
}
.annual-report-table a {
  color: #004085;
  text-decoration: none;
}

.annual-report-table a:hover {
  text-decoration: underline;
}

.annual-report-table.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-color-type: #000 !important;
  --bs-table-bg-type: #fff !important;
}
.annual-report-table.table-striped>tbody>tr:nth-of-type(even)>* {
  --bs-table-color-type: #000 !important;
  --bs-table-bg-type: #fce08a !important;
}

.modal-lg {
  max-width: 60%;
}

.modal-body img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  /* border: 1px solid #000; */
  padding: 5px;
  border-radius: 10px;
  background-color: #ffffff;
}

.modal-content {
  border: none;
}

.modal-header {
  height: 0;
  position: absolute;
  right: 0;
  top: 10px;
  z-index: 100;
  border: none;
}

@media (max-width: 576px) {
  .modal-lg {
    max-width: 90%;
  }

  .modal-body img {
    max-height: 70vh;
  }
}

  @media (max-width: 1400px) {
    .section-navbar .navbar-expand-lg .navbar-nav{
      font-size: 13px;
    }
      .section-navbar .navbar-expand-lg .navbar-nav .dropdown-item{
        font-size: 13px;
      }
  }

  @media (min-width: 992px) {
    .section-navbar .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .section-navbar .navbar-nav .dropdown-menu {
    margin-top: 0;
    display: none;
    position: absolute;
  }
  .section-navbar .dropdown-indicator {
    display: none !important;
  }
  .section-navbar .dropdown-submenu {
    position: relative;
  }
  .section-navbar .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
  }
  .section-navbar .dropdown-submenu:hover .dropdown-menu {
    display: block;
  }
  .section-navbar .dropdown-indicator {
    display: none !important;
  }

}
  @media (max-width: 991.98px) {
    .section-header-topbar .header-logos{
        height: 90px;
      }
      .section-navbar .ndma-navbar .navbar-nav .nav-link{
        width: 100%;
      }
    .section-navbar .navbar-toggler{
        display: block;
    }
    .section-topbar-navbar .header-top-1{
        width: 100%;
        display: grid !important;
        grid-template-columns: 60% 40%;
        border-bottom: 1px solid #dee2e6;
    }
    .section-topbar-navbar .header-top-2{
        width: 100%;
        display: grid !important;
        grid-template-columns: 45% 10% 10% 35%;
        border-bottom: 1px solid #dee2e6;
    }
    .section-topbar-navbar .top-head-title{
        font-size: 13px;
    }
    .section-navbar .navbar-collapse {
      position: fixed !important;
      top: 0;
      left: -300px;
      width: 280px;
      height: 100vh;
      background-color: #f9a825;
      /* padding-top: 4rem; */
      overflow-y: auto;
      flex-direction: column;
      transition: left 0.3s ease-in-out;
      z-index: 9999;
    }
    .section-navbar .navbar-collapse.show {
      left: 0;
    }
          .section-main-banner .homepage-main-block .info-card-container{
        padding: 10px !important;
      }
      .mt-10-mobile{
        margin-top: 10px;
      }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1040;
      display: none;
    }
    .overlay.active {
      display: block;
    }
    .section-navbar .dropdown-toggle {
    position: relative;
  }
  .section-navbar .dropdown-indicator {
    position: absolute;
    right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
  }
  .section-navbar .navigation-bar{
      display: flex !important;
      justify-content: flex-end !important;
  }
  .section-main-banner .carousel-inner img{
    min-height: fit-content;
  }
  .section-social-widgets ._2p3a{
    width: 315px !important;
  }
  .back-to-top{
    bottom: 85px;
    right: 15px;
  }
  .section-footer .ndma-footer{
    font-size: 12px;
  }
  .section-main-content{
    margin-top: 15px;
  }
  .section-main-content .image-plus-content{
    flex-direction: column;
  }
  .floating-social-icons {
    left: unset;
    right: 0;
  }
  }