body {
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}
@media (max-width: 767px) {
    html{
        font-size: 90%;
    }
    h1, .display-5 { font-size: 2rem;}
}
/* Existing styles here */
.collapse {
  align-items: right;
  justify-content: end;
}
.about-us-section {
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 1); */
}
.about-content-section {
  padding-top: 80px;
  margin-top: -80px;
}
.about-us-section h2,
.about-us-section h3 {
  color: #053364;
  margin-bottom: 20px;
}
.about-us-section p {
  line-height: 1.8;
  color: #555;
}
.team-member {
  text-align: center;
  margin-top: 20px;
}
.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0062cc;
}

.mobile-menu-handle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1020;
    background-color: #0062cc;
    color: white;
    border: none;
    width: 30px;
    height: 100px;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
}
.mobile-menu-handle .arrow-close {display: none;}
.mobile-menu-handle .arrow-open {display: block;}
.mobile-menu-handle.open .arrow-close {display: none;}
.mobile-menu-handle.open .arrow-open {display: block;}

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 1040;
    /* opacity: 0; */
    /* pointer-events: none; */
    transition: left 0.3s ease-in-out;
    box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
.offcanvas-menu.open {
    left: 0;
}
/* .offcanvas-menu .list-group-item {
    border: none;
    font-size: 1.1rem;
} */

@media (max-width: 991px) {
    .mobile-menu-handle {
        display: block;
    }
    .desktop-sidebar {
        display:none;
    }
}

/* Custom styles for horizontal scroll */
.guides-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}
.guides-scroll-container .team-member {
  flex: 0 0 300px;
  margin-right: 20px;
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
}

.sidebar-sticky .list-group-item {
    border-radius: 0;
    border: none;
    border-left: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}

.sidebar-sticky .list-group-item.active {
    color: #0062cc;
    font-weight: bold;
    background-color: #e9ecef;
    border-left: 4px solid #0062cc;
}

.why-us-item {
    text-align: center;
    padding: 20px;
}

.why-us-item .fa {
    font-size: 40px;
    color: #0062cc;
    margin-bottom: 15px;
}

.why-us-item h4{
    color: #053364;
    margin-bottom: 10px;
}

/* Add this new media query for small mobile screens */
@media (max-width: 400px) {
  .guides-scroll-container .team-member {
    flex: 0 0 250px; /* Make guide cards narrower on small phones */
  }
}
/* --- Footer Styles --- */

.site-footer {
  background-color: #26272b;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #737373;
  text-decoration: none;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  display: block;
}

.footer-links a {
  color: #737373;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block;
}

.site-footer .social-icons {
  text-align: right;
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  color: #fff;
  transition: all 0.2s ease;
}

.site-footer .social-icons a:hover {
  background-color: #007bff;
  transform: scale(1.1);
}

.copyright-text {
  margin: 0;
}

.contact-details i {
  margin-right: 10px;
  color: #bbb;
}

@media (max-width: 991px) {
  .site-footer [class^="col-"] {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 0;
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center;
  }

  .site-footer .social-icons {
    margin-top: 20px;
  }
}
