@import url("https://fonts.googleapis.com/css2?family=Agdasima&family=Bree+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  /* -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear; */
}

html {
  font-size: 90%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

.sidebar::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: #167f92;
}

/* Sidebar */
.sidebar {
  width: 350px;
  max-width: 400px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #085097;
  color: white;
  padding-top: 60px;
  transition: all 0.3s ease-in-out;
  z-index: 1050;
  display: flex;
  overflow-y: scroll;
  flex-direction: column; /* Ensure the image is at the top */
}

.list-group .list-group-item {
  background-color: #085097;
  border: none;
}

/* Sidebar Image */
.sidebar-header {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #ddd; /* Optional: Add a separator */
}

.sidebar-logo {
  width: 50%; /* Adjust as needed */
  height: auto;
}

/* Sidebar Links */
.sidebar a {
  padding: 4px 5px;
  display: block;
  color: white;
  text-decoration: none;
}

/* .sidebar a:hover {
  background-color: #085097;
  color: white;
} */

/* Hide sidebar on mobile */
@media (max-width: 991px) {
  .sidebar {
    width: 350px; /* Ensure the width is also applied on mobile */
    left: -350px; /* Hide sidebar */
    position: fixed;
  }

  .sidebar.show {
    left: 0;
  }
}

/* Overlay effect when sidebar is open on mobile */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1049;
  display: none;
}

.overlay.show {
  display: block;
}

/* Navbar */
.topnav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1051;
  background-color: #fff;
  color: white;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  font-family: "Bree Serif", serif;
}

/* Sidebar Toggle Button */
.menu-btn {
  background: none;
  border: none;
  color: #085097;
  font-size: 24px;
  display: block;
}

/* Logo in Navbar */
.navbar-title {
  display: flex;
  align-items: center;
  margin-right: auto; /* Pushes links to the right */
}

.navbar-logo {
  width: 150px; /* Adjust as needed */
  height: auto;
}

/* Navbar Links */
.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1; /* Pushes links to the right */
}

.nav-links a {
  color: #085097;
  text-decoration: none;
  font-size: 16px;
  margin-left: 15px;
  font-family: "Bree Serif", serif;
}

.btn {
  font-family: "Bree Serif", serif;
}

/* Adjust Spacing for Small Screens */
@media (max-width: 991px) {
  .topnav {
    flex-wrap: nowrap; /* Prevent stacking */
    justify-content: space-between; /* Keep elements in a single row */
  }

  .menu-btn {
    margin-right: 10px;
  }

  .sidebar-title {
    margin-left: 10px;
  }

  .nav-links {
    flex-wrap: nowrap; /* Prevent wrapping */
  }

  .nav-links a {
    font-size: 14px; /* Reduce text size if needed */
    margin-left: 10px; /* Adjust spacing */
  }
}

/* Content */
.content {
  margin-left: 350px; /* Updated to match sidebar width */
  margin-top: 60px;
  padding: 20px;
  transition: margin-left 0.3s;
  background-color: white;
}

/* On smaller screens, remove sidebar margin */
@media (max-width: 991px) {
  .content {
    margin-left: 0;
  }
}

.title {
  margin: 15px 5px;
  font-family: "Playfair Display", serif;
}

.txt {
  font-size: 15px;
  font-weight: 500;
  font-family: "Playfair Display", serif;
}

/* Active link styling */
.sidebar a.active {
  background-color: #085097;
}

.img-fluid {
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

ol li,
ul li {
  font-size: 15px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.header {
  font-weight: bold;
  font-family: "Playfair Display", serif;
}

.height-center {
  height: 60vh;
}

.btn-outline-primary {
  border-color: #085097;
  color: #085097;
}

.menu-link {
  font-family: "Playfair Display", serif;
}

.fs-custom {
  font-size: 14px;
}

.accordion-header {
  font-family: "Playfair Display", serif;
}

.intro-link {
  color: #cccccc; /* Base text color */
  padding: 0.5rem 1rem; /* Optional: adds clickable area */
  border-radius: 5px; /* Optional: smooth corners */
  transition: all 0.2s ease;
  font-family: "Playfair Display", serif;
}

.intro-link:hover {
  color: #ffffff; /* Text color on hover */
  background-color: #0958ca; /* Background color on hover (Bootstrap blue or any) */
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #085097;
}
.accordion-button {
  color: #fff;
}
.accordion-item {
  border: none;
}
.list-group-item {
  padding-left: 2rem;
}

/* Ensure accordion button stays primary blue when collapsed */
.accordion-button {
  background-color: #085097; /* Bootstrap primary color */
  color: #fff;
}

.accordion-button:not(.collapsed) {
  background-color: #0b5ed7; /* Slightly darker for expanded state */
  color: #fff;
}

/* Remove default white background on accordion body */
.accordion-body {
  background-color: #0d6efd;
  color: #fff;
}

/* Optional: style the hover state */
.accordion-button:hover {
  background-color: #0a58ca;
  color: #fff;
}

.primary-overlay {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

figcaption {
  font-family: "Playfair Display", serif;
}

.accordion-button::after {
  filter: invert(1);
}

.list-group-item a:hover {
  background-color: #085097;
  color: white;
}

.alert,
.alert-header {
  font-family: "Playfair Display", serif;
}

/* .accordion-item,
.accordion-button {
  background-color: transparent !important;
  border: none;
  color: white;
} */
