@font-face {
  font-family: 'Gulzar';
  src: url('../fonts/Gulzar-Regular.ttf') format('truetype');
}

body {
  font-family: "Gulzar", serif !important;
  background-color: #f7f7f7 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  color: #004d35;
  font-weight: bold;
}

a {
  color: #004d35;
}

a:hover {
  text-decoration: none;
  color: #006546;
}

a:focus {
  text-decoration: none;
  color: #006546;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-top: 15px;
}

li {
  font-size: 18px;
}

.small_tag {
  font-size: 16px !important;
  font-weight: normal;
}

p {
  text-align: right;
  padding: 0;
  margin: 0;
  font-size: 20px;
  margin-top: 15px;
  color: #004d35;
}

h1 {
  font-size: 55px;
  margin-top: 15px;
}

h2 {
  font-size: 42px;
  margin-top: 15px;
}

h3 {
  font-size: 34px;
  margin-top: 15px;
}

h4 {
  font-size: 24px;
  margin-top: 15px;
}

h5 {
  text-align: right;
  font-size: 18px;
  margin-top: 15px;
}

h6 {
  font-size: 16px;
  margin-top: 15px;
  font-weight: normal;
}

.space_left {
  padding-left: 0;
}

.space_right {
  padding-right: 0;
}

.space_all {
  padding: 0;
}

.iw {
  width: 100%;
}

.button {
  background: #006546;
  display: inline-block;
  color: #fff;
  padding: 15px 25px;
  margin-top: 10px;
}

.button:hover {
  background: #253D2C !important;
  color: #fff;
}

.button i {
  margin-left: 5px;
  margin-right: 5px;
}

.border_none {
  border: none !important;
}

.mgt {
  margin-top: 0 !important;
}

.bold {
  font-weight: bold !important;
}

.normal {
  font-weight: 100 !important;
}

.navbar {
  min-height: auto;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
}

.col {
  color: #fff !important;
}

.col_1 {
  color: #006546 !important;
}

.col_2 {
  color: #b1dbbc !important;
}

.col_3 {
  color: #ffffff !important;
}

.pdb {
  padding-bottom: 0 !important;
}

.pdt {
  padding-top: 0 !important;
}

.mgb {
  margin-bottom: 0 !important;
}

.block {
  display: block;
}

.inline {
  display: inline-block;
}

.bgn {
  background: none !important;
}

.big {
  text-transform: uppercase;
}

.mgl {
  margin-left: 0 !important;
}

/*********************top-banner (farmers.gov style)****************/
#top-banner {
  font-size: 14px;
  padding: 8px 0;
  direction: ltr !important;
}

/* Ensure consistent container alignment across all navbars */
/* All three sections use the same container width and padding for perfect alignment */
/* This ensures equal left and right spacing like farmers.gov */
#top-banner .container,
.main-navbar .container,
.primary-navbar .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {

  #top-banner .container,
  .main-navbar .container,
  .primary-navbar .container {
    max-width: 750px !important;
    width: 750px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 992px) {

  #top-banner .container,
  .main-navbar .container,
  .primary-navbar .container {
    max-width: 970px !important;
    width: 970px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 1200px) {

  #top-banner .container,
  .main-navbar .container,
  .primary-navbar .container {
    max-width: 1170px !important;
    width: 1170px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Ensure rows inside containers don't add extra margins */
#top-banner .container .row,
.main-navbar .container .row,
.primary-navbar .container .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
}

/* Ensure columns inside containers use consistent padding */
#top-banner .container [class*="col-"],
.main-navbar .container [class*="col-"],
.primary-navbar .container [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Remove any extra margins/padding from parent elements */
#top-banner,
.main-navbar,
.primary-navbar {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure navbar collapse doesn't add extra padding */
.main-navbar .navbar-collapse,
.primary-navbar .navbar-collapse {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure primary navbar collapse uses flexbox for proper alignment with gap */
/* Similar to top-banner which uses space-between for gap between left and right content */
@media (min-width: 768px) {
  .primary-navbar .navbar-collapse {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* Center align vertically */
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
    /* Allow dropdown menus to extend beyond collapse */
  }

  /* Categories wrapper on the right (RTL for Urdu) - swap order so they appear on right */
  /* Align with container's right edge by removing any extra margin */
  .primary-categories-wrapper {
    order: 2;
    margin-right: 0 !important;
    padding-right: 0 !important;
    max-width: calc(100% - 280px);
    /* Reserve space for search bar (250px + 30px margin) */
    flex: 1;
    min-width: 0;
  }

  /* Search bar on the left - swap order so it appears on left */
  /* Align with container's left edge by removing any extra margin */
  .primary-navbar .primary-search-container {
    order: 1;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

#top-banner * {
  direction: ltr !important;
}

.top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-icon {
  font-size: 16px;
}

.banner-text {
  font-weight: 500;
}

.top-banner-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-link {
  text-decoration: none;
  font-size: 14px;
}

.banner-link:hover {
  text-decoration: underline;
}

.banner-separator {
  color: #b3d9ff;
}

@media (max-width: 767px) {
  .top-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .top-banner-left,
  .top-banner-right {
    justify-content: center;
  }
}

/*********************primary-navbar (farmers.gov style)****************/
.primary-navbar {
  background-color: #006546;
  border-bottom: 1px solid #004d35;
  min-height: 50px;
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  direction: ltr !important;
  /* Always LTR regardless of body direction */
  overflow: visible;
  /* Allow dropdown menus to extend beyond navbar */
}

.primary-navbar .navbar-nav {
  margin: 0;
  direction: ltr !important;
  overflow: visible;
  /* Allow dropdown menus to extend beyond nav */
}

/* Categories Wrapper with Scroll Arrows */
.primary-categories-wrapper {
  display: flex;
  align-items: center;
  /* Center align items vertically */
  flex: 1;
  min-width: 0;
  /* Allow flex item to shrink */
  position: relative;
  gap: 0;
  /* Remove any gap between buttons and scroll container */
  overflow: visible;
  /* Allow dropdown menus to extend beyond wrapper */
}

.category-scroll-btn {
  background-color: #004d35;
  border: none;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: none;
  /* Hidden by default, shown by JavaScript when needed */
  align-items: center;
  justify-content: center;
  height: 34px;
  z-index: 100;
  /* Higher z-index to ensure clickability */
  min-width: 40px;
  position: relative;
  /* Ensure z-index works */
  pointer-events: auto;
  /* Ensure clicks work */
}

/* Show buttons only when JavaScript enables them */
.category-scroll-btn.show {
  display: flex !important;
}

.category-scroll-btn:hover {
  background-color: #006546;
}

.category-scroll-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.category-scroll-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
  background-color: #004d35 !important;
}

.category-scroll-btn:not(:disabled):hover {
  background-color: #006546;
}

.category-scroll-left {
  border-radius: 4px 0 0 4px;
}

.category-scroll-right {
  border-radius: 0 4px 4px 0;
  margin-left: 0 !important;
  /* Remove any margin that might create space */
}

.primary-categories-scroll {
  flex: 1 1 0;
  /* Allow flex to shrink but base size on content */
  overflow-x: auto;
  overflow-y: visible;
  /* Allow dropdown menus to show - changed from hidden */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  min-width: 0;
  max-width: 100%;
  /* Constrain width to prevent expansion */
  width: 0;
  /* Start with 0 width, let flex grow it */
  direction: ltr !important;
  /* LTR for scroll to work correctly */
  position: relative;
  /* Ensure proper width calculation */
  box-sizing: border-box;
  /* Include padding in width calculation */
  padding: 0 !important;
  /* Remove any padding that might cause spacing */
  margin: 0 !important;
  /* Remove any margin that might cause spacing */
}

.primary-categories-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.primary-navbar .primary-nav-links {
  display: flex;
  /* Use flex to allow natural width expansion */
  align-items: center;
  /* Center align items vertically */
  flex-wrap: nowrap;
  /* Prevent wrapping to new line */
  direction: ltr !important;
  /* LTR for flex container to maintain correct visual order */
  flex-direction: row !important;
  /* Ensure proper order - always enforce this */
  margin: 0 !important;
  padding: 0 !important;
  /* Remove default ul padding to align with container edges */
  white-space: nowrap;
  /* Prevent text wrapping */
  width: fit-content;
  /* Let content determine width naturally */
  min-width: 100%;
  /* Ensure it takes at least full width */
  flex-shrink: 0;
  /* Prevent shrinking so it forces scroll */
  transition: transform 0.3s ease;
  /* Smooth transform animation */
  box-sizing: border-box;
  /* Include padding in width calculation */
  overflow: visible;
  /* Allow dropdown menus to extend beyond nav links */
}

.primary-navbar .primary-category-item {
  position: relative;
  display: inline-block;
  /* Ensure proper width calculation */
  vertical-align: middle;
  /* Center align vertically with other items */
}

.primary-navbar .primary-category-link {
  color: #fff !important;
  direction: ltr;
  /* LTR for flex layout - RTL only on text */
  font-size: 15px;
  font-weight: 500;
  padding: 15px 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: row;
  /* Ensure row direction */
}

.primary-navbar .primary-category-link:hover,
.primary-navbar .primary-category-link:focus {
  background-color: #004d35;
  color: #fff !important;
}

.primary-navbar .category-name {
  flex: 1;
  direction: rtl;
  /* RTL for Urdu text */
  text-align: right;
  /* Right-align Urdu text */
}

/* TBM Submenu Toggle Button (farmers.gov style) - Inside text box, on left */
.tbm-submenu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0;
  margin-left: 0;
  margin-right: 8px;
  /* Space between arrow and text */
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  order: -1;
  /* Place on left side (before text) */
  z-index: 10;
  /* Ensure button is clickable */
  position: relative;
}

.tbm-submenu-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tbm-submenu-toggle:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}

.tbm-submenu-toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 11px;
  font-weight: normal;
  line-height: 1;
}

.primary-navbar .primary-category-item.open .tbm-submenu-toggle-icon {
  transform: rotate(180deg);
}

.primary-navbar .primary-category-item.open .tbm-submenu-toggle {
  color: #fff;
}

.primary-navbar .primary-category-item.open>.primary-category-link {
  background-color: #004d35;
}

/* Hover effect when submenu is open - lighter green shade */
.primary-navbar .primary-category-item.open>.primary-category-link:hover,
.primary-navbar .primary-category-item.open>.primary-category-link:focus {
  background-color: #007a5a !important;
  color: #fff !important;
}

.primary-navbar .primary-submenu {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-top: 0;
  padding: 8px 0;
  width: 100%;
  /* Match parent category width */
  min-width: 100%;
  /* Ensure it matches parent width */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10000 !important;
  /* Higher z-index to ensure visibility above all */
  display: none !important;
  /* Force hide by default */
  list-style: none;
  direction: rtl !important;
  /* RTL for Urdu subcategory text */
  text-align: right;
  box-sizing: border-box;
  visibility: hidden;
  /* Hide but keep in layout for smooth transitions */
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* When dropdown is shown with fixed positioning (to escape overflow clipping) */
.primary-navbar .primary-submenu.show,
.primary-navbar .primary-category-item.open .primary-submenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  /* Fixed to escape overflow clipping from scroll container */
}

.primary-navbar .primary-submenu>li {
  list-style: none;
  direction: rtl;
  text-align: right;
}

.primary-navbar .primary-submenu>li>a {
  color: #004d35;
  padding: 10px 20px;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
  white-space: nowrap;
  text-decoration: none;
  direction: rtl;
  text-align: right;
}

.primary-navbar .primary-submenu>li>a:hover {
  background-color: #f5f5f5;
  color: #006546;
  text-decoration: none;
}

.primary-navbar .primary-submenu .divider {
  margin: 5px 0;
  background-color: #e0e0e0;
}

.primary-navbar .open>.primary-category-link {
  background-color: #004d35;
  color: #fff !important;
}

/* Hover effect for open categories - lighter green shade */
.primary-navbar .open>.primary-category-link:hover,
.primary-navbar .open>.primary-category-link:focus {
  background-color: #007a5a !important;
  color: #fff !important;
}

/* Search Bar in Primary Navbar */
/* Remove horizontal padding to align with container edges like top banner */
.primary-search-container {
  padding: 8px 0;
  /* Only vertical padding, no horizontal padding to match container alignment */
}

.primary-search-form {
  margin: 0;
  padding: 0;
}

.primary-search-input {
  width: 250px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  padding: 6px 12px;
  font-size: 14px;
}

.primary-search-input:focus {
  border-color: #006546;
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 111, 64, 0.2);
}

.primary-search-btn {
  height: 34px;
  background-color: #004d35;
  border: 1px solid #004d35;
  border-left: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  padding: 6px 15px;
  transition: all 0.3s ease;
}

.primary-search-btn:hover {
  background-color: #1a2e1f;
  border-color: #1a2e1f;
  color: #fff;
}

.primary-search-btn i {
  font-size: 14px;
}

.primary-navbar .navbar-toggle {
  border-color: #fff;
  margin-top: 8px;
  margin-bottom: 8px;
}

.primary-navbar .navbar-toggle .icon-bar {
  background-color: #f7f7f7;
}

.primary-navbar .navbar-toggle:hover,
.primary-navbar .navbar-toggle:focus {
  background-color: #004d35;
}

@media (max-width: 991px) {
  .primary-navbar .primary-category-link {
    padding: 12px 15px;
    font-size: 14px;
  }

  .primary-search-input {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .primary-navbar {
    min-height: auto;
  }

  /* Hide scroll buttons on mobile */
  .category-scroll-btn {
    display: none !important;
  }

  .primary-categories-wrapper {
    max-width: 100% !important;
  }

  .primary-categories-scroll {
    overflow-x: auto;
  }

  .primary-navbar .primary-nav-links {
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
  }

  .primary-navbar .primary-category-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-navbar .primary-category-link {
    padding: 12px 15px;
    width: 100%;
    display: flex;
  }

  .tbm-submenu-toggle {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .tbm-submenu-toggle-icon {
    font-size: 10px;
  }

  .primary-navbar .primary-submenu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: #004d35;
    border: none;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    direction: rtl !important;
    text-align: right;
    left: auto;
    right: auto;
    min-width: 100%;
  }

  .primary-navbar .primary-submenu>li>a {
    color: #fff;
    padding: 10px 30px;
    direction: rtl;
    text-align: right;
  }

  .primary-navbar .primary-submenu>li>a:hover {
    background-color: #1a2e1f;
    color: #fff;
  }

  .primary-search-container {
    padding: 10px 0;
    /* Only vertical padding on mobile to align with container */
    width: 100%;
    margin-left: 0;
    /* Remove margin on mobile since it's full width */
  }

  .primary-search-input {
    width: 100%;
  }

  .primary-navbar .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .primary-navbar .primary-category-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .tbm-submenu-toggle {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    font-size: 10px;
  }

  .tbm-submenu-toggle-icon {
    font-size: 9px;
  }
}

/* Ensure primary navbar appears above hero */
.primary-navbar {
  position: relative;
  z-index: 1000;
}

.hero-section {
  position: relative;
  z-index: 1;
}

/*********************main-navbar (farmers.gov style)****************/
.main-navbar {
  background-color: #fff;
  border-bottom: 2px solid #006546;
  min-height: 70px;
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  height: auto;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.brand-text {
  font-size: 24px;
  font-weight: bold;
  color: #004d35;
}

.brand-highlight {
  color: #006546;
}

.main-navbar .nav-link {
  color: #004d35;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 15px;
  transition: all 0.3s ease;
}

.main-navbar .nav-link:hover {
  color: #006546;
  background-color: #f5f5f5;
}

.main-navbar .nav-link.active_tab {
  color: #006546;
  background-color: #f5f5f5;
  border-bottom: 3px solid #006546;
}

.main-navbar .btn-consultancy {
  background-color: #006546;
  color: #fff !important;
  border-radius: 4px;
  margin: 10px 15px;
  padding: 10px 20px !important;
}

.main-navbar .btn-consultancy:hover {
  background-color: #004d35;
  color: #fff !important;
}

.main-navbar .navbar-toggle {
  border-color: #006546;
  margin-top: 15px;
}

.main-navbar .navbar-toggle .icon-bar {
  background-color: #006546;
}

.main-navbar .navbar-toggle:hover,
.main-navbar .navbar-toggle:focus {
  background-color: #f5f5f5;
}

.main-navbar .navbar-collapse {
  border-top: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .main-navbar {
    min-height: 60px;
  }

  .main-navbar .nav-link {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: right;
  }

  .main-navbar .nav-link.active_tab {
    border-bottom: 1px solid #e0e0e0;
    border-right: 3px solid #006546;
  }

  .main-navbar .btn-consultancy {
    margin: 10px 15px;
    display: block;
    text-align: center;
  }

  .brand-text {
    font-size: 18px;
  }

  .navbar-logo {
    height: 30px;
  }
}

/*********************top****************/
#top {
  background: #004d35;
}

.top_1l .m_tag {
  font-size: 16px;
  color: #b1dbbc;
  border-right: 1px solid #004d35;
}

.top_1l .m_tag:hover {
  color: #fff;
  background: none;
}

.top_1l .m_tag:focus {
  color: #fff;
  background: none !important;
}

.top_1l .m_tag i {
  margin-right: 2px;
}

.top_1l .drop_1 {
  box-shadow: none;
  border-radius: 0;
  margin-top: 1px !important;
}

.top_1l .drop_1 a {
  color: #b1dbbc;
}

.top_1l .drop_1 a:hover {
  color: #004d35;
  background: none;
}

.drop_2 {
  min-width: 320px;
  left: auto;
  right: 0;
  padding: 20px 15px;
  margin-top: 1px !important;
}

.drop_1i {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.drop_1i1l span i {
  display: inline-bloc;
  width: 30px;
  height: 30px;
  line-height: 27px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}

.drop_1i1l span i:hover {
  background: #004d35;
  color: #fff;
  border-color: #004d35;
}

.drop_1i1 {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.drop_1i2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.drop_1i3 .button {
  display: block;
}

.top_1l .input-group {
  width: 300px;
  margin-right: 10px;
}

.top_1l .btn {
  margin-left: 0 !important;
  background: #004d35;
  border-color: none;
  padding: 13.8px 22px;
  font-size: 16px;
  border: none;
  color: #b1dbbc;
  border-radius: 0;
}

.top_1l .form-control {
  height: 48.5px;
  font-size: 16px;
  border-color: #253D2C;
  box-shadow: none;
  background: #004d35;
  border: none;
  color: #ddd;
  border-radius: 0;
}

/*********************top_end****************/

/*********************fade-carousel styles for blog page****************/
.fade-carousel {
  position: relative;
  min-height: 200px;
}

.fade-carousel .carousel-inner .item {
  min-height: 200px;
}

.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  min-height: 200px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fade-carousel .slides .slide-1 {
  background-image: url(../img/banner1.webp);
}

.fade-carousel .slides .slide-2 {
  background-image: url(../img/banner3.webp);
}

.fade-carousel .slides .slide-3 {
  background-image: url(../img/banner2.webp);
}

.fade-carousel .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.6;
  background: rgba(0, 77, 53, 0.6);
  top: 0;
  left: 0;
}

.fade-carousel .hero {
  position: absolute;
  width: 50%;
  top: 50%;
  left: 50%;
  padding: 20px 15px;
  z-index: 3;
  text-transform: capitalize;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .75);
  transform: translate(-50%, -50%);
}

.fade-carousel .carousel-inner .item .hero {
  opacity: 0;
  transition: 2s all ease-in-out .1s;
}

.fade-carousel .carousel-inner .item.active .hero {
  opacity: 1;
  transition: 2s all ease-in-out .1s;
}

/*********************header (old styles - keeping for compatibility)****************/
.header_1 {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f7f7f7;
  display: none;
  /* Hide old header */
}

/*
  .cd-secondary-nav {
    position: static;
  }
  .cd-secondary-nav .is-visible {
    visibility: visible;
    transform: scale(1);
    transition: transform 0.3s, visibility 0s 0s;
  }
  */
.cd-secondary-nav.is-fixed {
  z-index: 9999;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  background: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all .3s ease;
}

body.has-fixed-nav {
  padding-top: 70px;
}

@media (max-width: 767px) {
  body.has-fixed-nav {
    padding-top: 0;
  }

  .cd-secondary-nav.is-fixed {
    position: relative;
  }
}

.header_2 .navbar-brand {
  font-size: 55px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  height: auto;
  display: none;
}

.header_2 {
  border: 2px solid #bae9c6;
  display: none;
  /* Hide old header */
}

.cd-secondary-nav .nav_t {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.header_2 .m_tag {
  border-right: 1px solid #bae9c6;
}

.header_2 .m_tag:hover {
  background: #006546;
  color: #fff;
  border-color: #006546 !important;
}

.header_2 .m_tag:focus {
  background: #006546 !important;
  color: #fff;
  border-color: #006546 !important;
}

.header_2 .active_tab {
  background: #006546 !important;
  color: #fff;
  border-color: #006546 !important;
}

.header_2 .drop_1 {
  box-shadow: none;
  border-radius: 0;
  margin-top: 1px !important;
  min-width: 200px;
  padding: 0;
}

.header_2 .drop_1 a {
  color: #006546;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header_2 .drop_1 a:hover {
  color: #fff;
  background: #006546;
}

.dropdown-large {
  position: static !important;
}

.dropdown-menu-large {
  margin-left: 16px;
  margin-right: 16px;
  padding: 10px 0px;
  left: 0;
  right: 0;
  border-color: #ddd;
  margin-top: 1px !important;
  box-shadow: none;
  border-radius: 0;
  margin-top: 2px !important;
}

.dropdown-menu-large>li>ul {
  padding: 0;
  margin: 0;
}

.dropdown-menu-large>li>ul>li {
  list-style: none;
}

.dropdown-menu-large>li>ul>li>a {
  display: block;
  padding: 2px 10px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #004d35;
  white-space: normal;
  font-size: 16px;
}

.dropdown-menu-large>li>ul>li>a i {
  margin-right: 5px;
  font-size: 12px;
}

.dropdown-menu-large>li ul>li>a:hover,
.dropdown-menu-large>li ul>li>a:focus {
  text-decoration: none;
  color: #006546;
}

.dropdown-menu-large .disabled>a,
.dropdown-menu-large .disabled>a:hover,
.dropdown-menu-large .disabled>a:focus {
  color: #b1dbbc;
}

.dropdown-menu-large .disabled>a:hover,
.dropdown-menu-large .disabled>a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  cursor: not-allowed;
}

.dropdown-menu-large .dropdown-header {
  color: #004d35;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.caret {
  margin-left: 6px !important;
}

@media (max-width: 1268px) {
  .example_h_1 {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .dropdown-menu-large {
    margin-left: 0;
    margin-right: 0;
  }

  .dropdown-menu-large>li {
    margin-bottom: 30px;
  }

  .dropdown-menu-large>li:last-child {
    margin-bottom: 0;
  }

  .dropdown-menu-large .dropdown-header {
    padding: 3px 15px !important;
  }

  /* main carousel */

  .fade-carousel {
    min-height: 350px !important;
  }

  .fade-carousel .carousel-inner .item {
    min-height: 350px !important;
  }

  .fade-carousel .slides .slide-1 {
    min-height: 350px !important;
    background-image: url(../img/banner1.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-2 {
    min-height: 350px !important;
    background-image: url(../img/banner3.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-3 {
    min-height: 350px !important;
    background-image: url(../img/banner2.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero {
    width: 70% !important;
    ;
    height: 15% !important;
    top: 20% !important;
  }

  #hero-text {
    font-size: 26px !important;
  }

  #simple-text {
    font-size: 16px !important;
  }

  #hero-button {
    font-size: 14px !important;
    padding: 10px 10px !important;
  }

  /* navbar */

}

@media (max-width: 528px) {
  .fade-carousel {
    min-height: 275px !important;
  }

  .fade-carousel .carousel-inner .item {
    min-height: 275px !important;
  }

  .fade-carousel .slides .slide-1 {
    min-height: 275px !important;
    background-image: url(../img/banner1.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-2 {
    min-height: 275px !important;
    background-image: url(../img/banner3.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-3 {
    min-height: 275px !important;
    background-image: url(../img/banner2.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero {
    width: 90% !important;
    height: 10% !important;
  }

  #hero-text {
    font-size: 22px !important;
  }

  #simple-text {
    font-size: 14px !important;
  }

  #hero-button {
    font-size: 10px !important;
    padding: 10px 10px !important;
    margin-top: 0px !important;
  }
}

/*********************header_end****************/

/*********************common****************/
.pages {
  margin-top: 20px;
}

.pages ul li {
  display: inline-block;
  margin: 0 2px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  background: #fff;
  text-align: center;
  border-radius: 3px;
}

.pages ul li a {
  display: block;
  color: #253D2C;
}

.pages ul li:hover {
  background: #006546;
}

.pages ul li:hover a {
  color: #fff;
}

.act {
  background: #006546 !important;
}

.act a {
  color: #fff !important;
}

/* footer social icons */
ul.social-network {
  list-style: none;
  display: block;
  margin-left: 0 !important;
  padding: 0;
}

ul.social-network li {
  display: inline-block;
  margin: 0 1px;
}

/* footer social icons */
.social-network a.icoRss:hover {
  background-color: #F56505;
}

.social-network a.icoFacebook:hover {
  background-color: #3B5998;
}

.social-network a.icoTwitter:hover {
  background-color: #33ccff;
}

.social-network a.icoGoogle:hover {
  background-color: #BD3518;
}

.social-network a.icoVimeo:hover {
  background-color: #0590B8;
}

.social-network a.icoLinkedin:hover {
  background-color: #007bb7;
}

.social-network a.icoRss:hover i,
.social-network a.icoFacebook:hover i,
.social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i,
.social-network a.icoVimeo:hover i,
.social-network a.icoLinkedin:hover i {
  color: #fff;
}

a.socialIcon:hover,
.socialHoverClass {
  color: #44BCDD;
}

.social-circle li a {
  display: inline-block;
  position: relative;
  margin: 0 auto 0 auto;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.social-circle li i {
  margin: 0;
  line-height: 40px;
  text-align: center;
}

.social-circle li a:hover i,
.triggeredHover {
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -ms--transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}

.social-circle i {
  color: #fff;
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  -ms-transition: all 0.8s;
  transition: all 0.8s;
}

.center_list {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
}

.list_1 h2:before {
  display: inline-block;
  width: 10%;
  height: 2px;
  background-color: #ddd;
  vertical-align: middle;
  margin-right: 1%;
  content: "";
}

.list_1 h2:after {
  display: inline-block;
  width: 10%;
  height: 2px;
  background-color: #ddd;
  vertical-align: middle;
  margin-left: 1%;
  content: "";
}

.list_1 {
  margin-bottom: 30px;
}

/*********************common_end****************/

/*********************subscribe****************/
#subscribe {
  background: #fff;
  padding-top: 50px;
  padding-bottom: 45px;
}

.subscribe_1l h4 i {
  margin-right: 5px;
  vertical-align: middle;
}

.subscribe_1r .form-control {
  height: 48px;
  font-size: 16px;
  border: none;
  background: #f7f7f7;
  box-shadow: none;
  border-radius: 0;
  color: #ddd;
}

.subscribe_1r .input-group .btn {
  background: #006546;
  margin-left: 0 !important;
  padding: 11.5px 20px;
  font-size: 18px;
  border-radius: 0;
  border: none;
}

.subscribe_1r .input-group .btn:hover {
  background: #004d35;
}

.subscribe_1l h4 {
  margin-top: 10px;
}

/*********************subscribe_end****************/

/*********************footer****************/
#footer {
  padding-top: 30px;
  padding-bottom: 40px;
  text-align: left;
  direction: ltr !important;
}

#footer .footer_1i {
  direction: ltr !important;
  text-align: left;
}

#footer .footer-brand {
  direction: ltr !important;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.2;
}

#footer .footer-brand a {
  direction: ltr !important;
  text-align: left;
  display: block;
  line-height: 1.2;
  text-decoration: none;
}

#footer .footer-brand .col_1 {
  display: block;
  margin-bottom: 2px;
}

#footer .footer-brand span:not(.col_1) {
  display: block;
  margin-top: 2px;
}

#footer .footer-description {
  direction: ltr !important;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1.6;
  font-style: italic;
  color: #666;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

#footer h1 {
  direction: ltr !important;
  text-align: left;
  margin-top: 0;
  line-height: 1.2;
}

#footer h1 a {
  direction: ltr !important;
  text-align: left;
  display: block;
  line-height: 1.2;
}

#footer p {
  direction: ltr !important;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer_1i ul li a {
  background: #006546;
}

.footer_1i h6 {
  margin-top: 10px;
  direction: ltr !important;
  text-align: left;
}

.footer_1i h6 i {
  margin-right: 5px;
}

#footer_bottom {
  padding-top: 18px;
  padding-bottom: 15px;
  background: #006546;
}

.footer_bl p {
  color: #ddd;
}

.footer_br ul li a {
  padding-left: 6px;
  padding-right: 6px;
  font-size: 16px;
  border-right: 1px solid #5f794b;
  color: #ddd;
}

/*********************footer_end****************/



@media screen and (max-width : 767px) {
  #top {
    display: none;
  }

  .space_left {
    padding-left: 15px;
  }

  .space_right {
    padding-right: 15px;
  }

  .space_all {
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-collapse {
    box-shadow: none;
    max-height: none;
  }

  .navbar .navbar-collapse,
  .navbar-default .navbar-form {
    border: none;
  }

  .navbar-toggle {
    background: #006546;
    border: none;
    border-radius: 0;
    margin-top: 10px;
  }

  .navbar-toggle:hover {
    background: #006546 !important;
  }

  .navbar-toggle:focus {
    background: #006546 !important;
  }

  .navbar-toggle .icon-bar {
    background: #fff !important;
  }

  .navbar {
    position: static;
    text-align: center;
  }

  .dropdown-menu {
    background: #fff !important;
  }

  #header .drop_1 a {
    font-size: 28px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /*
  .cd-secondary-nav.is-fixed {
  position:static; 
   }*/
  .nav .open>a,
  .nav .open>a:hover,
  .nav .open>a:focus {
    border: none;
  }

  #header .m_tag {
    font-size: 20px !important;
    border-bottom: 1px solid #ddd;
    padding-top: 15px !important;
    padding-bottom: 18px !important;
    margin-top: 0;
    border-radius: 0 !important;
    border-right: none;
  }

  .pages ul li {
    margin-bottom: 5px;
  }

  .drop_1il {
    text-align: center;
    margin-top: 10px;
  }

  .drop_2 {
    margin-top: 0;
    min-width: 100%;
  }

  .drop_1i1r {
    margin-top: 10px;
  }

  #top {
    text-align: center;
  }

  .top_1l .input-group {
    margin-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .header_1 {
    display: none;
  }

  .header_2 {
    display: none;
  }

  .header_2 .nav_t {
    width: 100%;
  }

  .header_2 .navbar-brand {
    display: block;
    font-size: 36px;
    margin-top: 14px;
  }

  .list_1 h2 {
    font-size: 22px;
  }

  #subscribe {
    text-align: center;
  }

  .subscribe_1r {
    margin-top: 10px;
  }

  #footer {
    text-align: center;
  }

  .footer_1i h6 {
    display: inline-block;
    margin: 10px 2px 5px 2px;
  }

  #footer_bottom {
    text-align: center;
  }

  .footer_bl {
    text-align: center;
    margin-top: 10px;
  }

  #about-style {
    padding: 0px 25px !important;
  }

  .example_h_1 {
    margin-top: 20px;
  }
}

@media (min-width:768px) and (max-width:991px) {

  /* Exclude navbar containers from this rule - they have their own alignment */
  section .container,
  #subscribe .container,
  #footer .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .top_1l .m_tag {
    padding-left: 5px;
    padding-right: 5px;
  }

  .top_1l .input-group {
    width: 150px;
    margin-right: 10px;
  }

  .header_2 .m_tag {
    /*
  padding-left:5px;
  padding-right:5px;
  */
  }

  .footer_1i h1 {
    font-size: 30px;
  }

  .footer_1i h4 {
    margin-top: 5px;
  }

  .footer_1i ul li {
    margin-bottom: 5px;
  }

  .subscribe_1l h4 {
    margin-top: 0;
  }

  .cd-secondary-nav .nav_t {
    width: 95%;
  }

  /* main carousel size set to 400px */
  .fade-carousel {
    min-height: 400px !important;
  }

  .fade-carousel .carousel-inner .item {
    min-height: 400px !important;
  }

  .fade-carousel .slides .slide-1 {
    min-height: 400px !important;
    background-image: url(../img/banner1.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-2 {
    min-height: 400px !important;
    background-image: url(../img/banner3.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .fade-carousel .slides .slide-3 {
    min-height: 400px !important;
    background-image: url(../img/banner2.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero {
    width: 55% !important;
    ;
    height: 45%;
    top: 40% !important;
  }

  /* 
   #hero-text{
    font-size: 26px !important;
   }
  
   #simple-text{
    font-size: 16px !important;
   }
  
   #hero-button{
    font-size: 14px !important;
    padding: 10px 10px !important;
   } */

}

@media (min-width:992px) and (max-width:1200px) {

  /* Exclude navbar containers from this rule - they have their own alignment */
  section .container,
  #subscribe .container,
  #footer .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .top_1l .input-group {
    width: 200px;
  }

  .subscribe_1l h4 {
    margin-top: 0;
  }

  .footer_1i h1 {
    font-size: 40px;
  }

  .footer_1i ul li {
    margin-bottom: 5px;
  }

  .cd-secondary-nav .nav_t {
    width: 78%;
  }

}

@media (min-width:1201px) and (max-width:1352px) {
  .cd-secondary-nav .nav_t {
    width: 64%;
  }
}

/* Container for alert messages */
.alert {
  position: relative;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

/* Warning alert specific styles */
.alert-warning {
  color: #004d35;
  background-color: #fff;
  border-color: #fff;
}

/* Dismiss button for the alert */
.alert .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #004d35;
  opacity: 0.5;
  cursor: pointer;
}

.alert .btn-close:hover {
  color: #004d35;
  opacity: 0.75;
}

/* Animation for alert */
.alert.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.alert.show {
  opacity: 1;
}

/* Dismiss button accessibility */
.btn-close[aria-label="Close"]::before {
  content: '×';
  /* Unicode character for the close icon */
  font-size: 1.5rem;
  line-height: 1;
}

p {
  line-height: normal;
}

.carousel-control.left {
  background-image: none !important;
}

.carousel-control.right {
  background-image: none !important;
}