/* General Styles */
body {
  padding: 0;
  margin: 0;
  overflow-x: hidden !important;
  font-family: "Roboto", sans-serif;
}

p,
li {
  font-size: 1.25rem !important;
}

/* Top Bar */
.top-bar {
  background-color: #003b5c;
  width: 100%;
  padding: 0 50px;
}

.top-bar.py-2 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.top-bar-content {
  margin: 0 auto;
  flex-wrap: wrap;
  margin: -2px 0;
}

#four-buttons {
  display: flex;
  flex-wrap: nowrap; /* Allow buttons to wrap on smaller screens */
}

/* Three Buttons */
#four-buttons .btn {
  color: #fff;
  margin: 0;
  width: 175px;
  height: 100%;
  border-radius: 0;
  /* padding-top: 8px; */
  padding: 6px 0;
  white-space: nowrap;
}

#four-buttons .btn-login {
  background: #e04f39;
}
#four-buttons .btn-login:hover {
  background: #b33f2d;
}

#four-buttons .btn-login i {
  color: #e04f39;
}

#four-buttons .btn-contact {
  background: #0081c7;
}
#four-buttons .btn-contact:hover {
  background: #006eaa;
}

#four-buttons .btn-contact i {
  color: #0081c7;
}

#four-buttons .btn-pay {
  background: #009d56;
}
#four-buttons .btn-pay:hover {
  background: #008248;
}

#four-buttons .btn-pay i {
  color: #009d56;
}

#four-buttons .btn-map {
  background: #63666a;
}
#four-buttons .btn-map:hover {
  background: #505356;
}

#four-buttons .btn-map i {
  color: #63666a;
}

#four-buttons .btn i {
  margin-right: 5px;
  margin-top: 2px;
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background-color: #ffffff;
  font-size: 0.75rem;
}

#menu-four-buttons {
  display: none;
}

@media (max-width: 768px) {
  #four-buttons {
    display: none !important;
  }

  .social-icons {
    margin: 5px 0; /* Add spacing for better alignment */
  }

  #four-buttons .btn {
    width: 100%; /* Make buttons full-width on mobile */
    max-width: 160px; /* Keep buttons from getting too large */
    margin: 0 5px;
    border-radius: 5px;
  }

  .header,
  .top-bar {
    padding: 0 20px !important;
  }

  .header .navbar-brand img {
    width: 300px !important;
  }

  /* */

  #menu-four-buttons {
    display: block;
    margin-top: 10px;
  }

  /* Three Buttons */
  #menu-four-buttons .btn {
    color: #fff;
    margin-bottom: 15px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 1px 1px 5px -2px #000;
    padding: 10px 0;
    white-space: nowrap;
  }

  #menu-four-buttons .btn-login {
    background: #e04f39;
  }
  #menu-four-buttons .btn-login:hover {
    background: #b33f2d;
  }

  #menu-four-buttons .btn-login i {
    color: #e04f39;
  }

  #menu-four-buttons .btn-contact {
    background: #0081c7;
  }
  #menu-four-buttons .btn-contact:hover {
    background: #006eaa;
  }

  #menu-four-buttons .btn-contact i {
    color: #0081c7;
  }

  #menu-four-buttons .btn-pay {
    background: #009d56;
  }
  #menu-four-buttons .btn-pay:hover {
    background: #008248;
  }

  #menu-four-buttons .btn-pay i {
    color: #009d56;
  }

  #menu-four-buttons .btn-map {
    background: #63666a;
  }
  #menu-four-buttons .btn-map:hover {
    background: #505356;
  }

  #menu-four-buttons .btn-map i {
    color: #63666a;
  }

  #menu-four-buttons .btn i {
    margin-right: 5px;
    margin-top: 2px;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    background-color: #ffffff;
    font-size: 0.75rem;
  }
}

/* Header */
.header {
  background-color: #f8f9fa;
  width: 100%;
  padding: 0 50px;
}

.header-content {
  margin: 0 auto;
}

.header .navbar-brand img {
  height: 100px;
  width: auto;
}

.header .nav-item:not(:last-child) .nav-link {
  margin-right: 20px;
}

.header .nav-link {
  color: #000 !important;
  font-weight: 400;
}

.header .nav-link:hover {
  color: #e04f39 !important;
}

.header .nav-link::after {
  content: "\f13a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.75em;
  color: #e04f39;
  display: inline-block;
  margin-left: 5px;
  position: relative;
}

.offcanvas.offcanvas-end {
  width: 275px;
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
}

/* Social Icons */
.social-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background-color: #ffffff;
  color: #003b5c !important;
  margin-right: 5px !important;
  margin: 10px 0;
  font-size: 0.75rem;
}

.social-icon:hover {
  text-decoration: none;
  color: #00a9e0 !important;
}

/* Banner */
.carousel-content {
  height: 400px;
  width: 100%;
  display: flex;
}

.carousel-image {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.carousel-text {
  flex: 1;
  background-color: #dcdcdc;
}

@media (max-width: 768px) {
  .carousel-content {
    flex-direction: column;
  }

  .carousel-image {
    height: 200px; /* Adjust as needed for mobile view */
  }

  .carousel-text {
    padding: 20px;
  }
}

/* Ensure each slide has a proper stacking context and smooth transition */
.carousel-item {
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: flex;
}

/* Position carousel controls closer to screen edges */
.carousel-control-prev,
.carousel-control-next {
  width: auto; /* Adjust width as needed */
  margin: 0 20px; /* Set a 50px margin from the edges */
}

/* Adjust control icon position within the button */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) saturate(100%) invert(67%) sepia(0%) saturate(531%) hue-rotate(156deg) brightness(94%) contrast(94%);
}

/* Aside Section */
.aside {
  background: #ededed;
  border-radius: 10px;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 1px 1px 7px -2px #000;
}

.aside .card-one,
.aside .card-two {
  padding: 30px 0 0 0;
}

.aside .card-two {
  padding-bottom: 20px;
}

.aside .card-one h5 {
  background: #0085ca;
}

.aside .card-one i {
  background: #0085ca;
  padding: 13px 19px;
}

.aside .card-two h5 {
  background: #e04f39;
}

.aside .card-two i {
  background: #e04f39;
  padding: 13px 16px;
}

.aside h5 {
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  margin-bottom: 20px;
  padding: 5px 20px 7px 90px;
}

.aside i {
  position: absolute;
  left: 20px;
  width: 60px;
  height: 60px;
  top: -10px;
  border-radius: 100%;
  background: #000;
  font-size: 2rem;
}

.aside .links {
  padding-left: 90px;
}

.aside .links > div {
  margin-top: 10px;
}

.aside .links a {
  color: #000;
  margin-bottom: 10px !important;
}

.aside .card-one .links a {
  text-decoration: underline;
}

.aside .card-one .links a:hover {
  color: #0085ca;
}

.aside .card-two .links a:hover {
  color: #e04f39;
}

/**/
/**/

.title-bar {
  border-top: solid 10px #ffc845;
  border-bottom: solid 10px #ffc845;
  background: #003b5c;
  padding: 20px 0;
}

.title-bar .content {
  max-width: 1400px;
  margin: 0 auto;
}

.title-bar .content h2 {
  color: #fff;
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .title-bar .content,
  .main-content {
    padding: 0 20px;
  }
  .aside {
    margin: 0 10px !important;
  }
}

/*  */

/* Advanced Sidebar Menu */
.advanced-sidebar-menu {
  font-weight: bold;
}

.advanced-sidebar-menu ul li {
  list-style: none;
  font-size: 1rem !important;
}

.advanced-sidebar-menu .page_item a {
  display: block;
  padding: 1em 0 1em 2em;
  transition: all 0.15s;
  text-decoration: none;
}

.advanced-sidebar-menu .page_item a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.parent-sidebar-menu > .page_item > a {
  color: #fff;
  background: #0085ca;
  position: relative;
  text-transform: uppercase;
  border-radius: 15px 15px 0 0;
  pointer-events: auto;
  border-bottom: 1px solid #77787b;
}
.parent-sidebar-menu > .page_item > a:hover {
  opacity: 0.7 !important;
  background: #0085ca !important;
}

.parent-sidebar-menu > .page_item > a::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.25em;
  display: inline-block;
  margin-right: 10px;
  position: relative;
  top: 2px;
}

.child-sidebar-menu {
  padding-left: 0 !important;
}

.child-sidebar-menu > .page_item {
  background-color: #ededed;
  margin: 0;
  border-bottom: 1px solid #77787b;
}

.child-sidebar-menu > .page_item a {
  color: var(--black);
}

.child-sidebar-menu .current_page_item > a {
  background: #0085ca;
  position: relative;
  color: #fff;
}

.child-sidebar-menu > .page_item:last-child {
  border: none;
  border-radius: 0 0 15px 15px;
}
.child-sidebar-menu > .page_item:last-child a:hover {
  border-radius: 0 0 15px 15px;
}
.child-sidebar-menu > li:last-child > a {
  border-radius: 0 0 15px 15px;
}

.child-sidebar-menu .has_children .grandchild-sidebar-menu li a {
  margin: 0px;
  padding-left: 50px;
  font-size: 1.5rem;
  border-top: 1px solid #77787b;
  height: 100%;
}
.fl-widget ul li {
  margin-bottom: 0;
}

.child-sidebar-menu .current_page_item > a {
  background: #0085ca40;
  position: relative;
}

.advanced-sidebar-menu .page_item a:hover {
  background: #0085ca40;
  opacity: 1;
}

.main-item {
  position: relative; /* or absolute, fixed, etc. */
  z-index: 9999;
}

.page_item.menu-item.has_children {
  position: relative; /* or absolute, fixed, etc. */
  z-index: 1; /* Ensure this is lower than the .main-item */
}

@media (max-width: 768px) {
  .parent-sidebar-menu {
    padding: 0;
  }
}

/* Board of Directors Page Specific Styles */
/* Section Headers */
#board-of-directors h2 {
  color: #003b5c; /* Matching the top bar color */
  font-size: 2rem;
  border-bottom: 2px solid #003b5c; /* Adds a border under each section */
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

#board-of-directors h3 {
  color: #009f4d;
  font-size: 1.5rem;
}

/* Section Content */
#board-of-directors section {
  margin-bottom: 4rem;
}

#board-of-directors p {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 1.25rem;
}

#board-of-directors .row {
  margin-bottom: 1.5rem;
}

#board-of-directors .row .col-md-4 img {
  object-fit: cover;
  aspect-ratio: 1/1;
  height: 175px;
  border-radius: 10px;
  box-shadow: 1px 1px 7px -4px #000;
  margin-bottom: 10px;
}

#board-of-directors .row .col-md-4 strong {
  font-size: 1.25rem;
}
#board-of-directors .row .col-md-4 p {
  font-size: 1rem !important;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  #board-of-directors .row {
    margin-bottom: 1rem;
  }
  #board-of-directors h2 {
    font-size: 1.5rem;
  }
  #board-of-directors h3 {
    font-size: 1.25rem;
  }
  #board-of-directors p {
    font-size: 1rem;
  }
}

/*  */
/* Footer Styles */
.footer {
  background-color: #d1d1d1; /* Matching the top bar color */
  color: #fff;
  padding: 20px 50px;
  width: 100%;
}

.footer-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 60px; /* Adjust as needed */
}

.footer-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.footer-nav .nav-item {
  /* margin-right: 20px; */
}

.footer-nav .nav-link {
  color: #003b5c !important;
  font-weight: 400;
  text-decoration: none;
  font-size: 1rem; /* Adjust font size if needed */
}

.footer-nav .nav-link:hover {
  color: #e04f39 !important; /* Hover color */
}

.footer-bottom {
  border-top: 1px solid #003b5c; /* Top border with brand color */
  padding-top: 10px;
  margin-top: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem !important;
  color: #000;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav .nav-item {
    margin-bottom: 10px;
    margin-right: 0;
  }
}
