.menu {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: space-around; /* Distribute space */
}

.menu-item {
  flex: 1 1 auto; /* Allow items to grow/shrink */
}

body {
  padding-top: 56px;
  background-color: #ffffff;
  color: #2c3e50;
}

.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #008080 !important;
}

.bg-hero {
  background-color: #cce8e6; /* Adjusted to complement #008080 */
}

.hero-image {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  transition: transform 0.3s ease; /* Smooth transition */
}

.hero-container {
  overflow: hidden; /* Prevent overflow during zoom */
}

.hero-container:hover .hero-image {
  transform: scale(1.05); /* Slight zoom in effect */
}

/* Gradient header */
#header1 {
  background: rgb(0, 127, 95);
  background: linear-gradient(
    180deg,
    rgba(0, 127, 95, 1) 0%,
    rgb(186, 250, 251) 62%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Home page header */
.full-page-header {
  height: 100vh; /* Makes the header cover the full height of the viewport */
  margin-bottom: 0; /* Removes bottom margin */
  padding-top: 0; /* Adjusts padding if needed */
}
/* Header text settings */
h1 {
  font-family: "Open Sans", sans-serif;
  font-weight: 900;
  font-style: normal;
  color: #000000; /* Changed to white for better contrast */
}

h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: #000000; /* Changed to white for better contrast */
  padding-top: 3%;
}

h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  color: #000000; /* Changed to white for better contrast */
}

h5 {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 300;
  font-style: normal;
}

#subheading {
  font-family: "Open Sans", sans-serif;
  font-weight: 100;
  color: #000000; /* Changed to white for better contrast */
}

/* Provar 3D effect on homepage */
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: perspective(1000px) translate(-50%, -50%);
  transform: skewY(15deg);
  transition: 0.5s;
}

.center:hover {
  transform: perspective(1000px) translate(-50%, -50%);
  transform: skewY(0deg);
}

.center h1 span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 5em;
  color: #e6f699; /* Kept for emphasis */
  transform-style: preserve-3d;
  transition: 0.8s;
}

.center h1 span:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.center h1 span:nth-child(2) {
  color: #008080; /* Changed to primary color */
  transform: translate(-50%, -50%) skewX(-60deg);
  left: -38px;
  clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%);
}

.center h1 span:nth-child(3) {
  transform: translate(-50%, -50%) skewY(0deg);
  left: -76px;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.center:hover h1 span:nth-child(2),
.center:hover h1 span:nth-child(3) {
  transform: translate(-50%, -50%) skewX(0deg);
  left: 0;
  color: #e6f699; /* Kept for emphasis */
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

.bd-callout h4 {
  margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
  margin-bottom: 0;
}

.bd-callout code {
  border-radius: 0.25rem;
}

.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}

.bd-callout-info {
  border-left-color: #5bc0de;
}

.bd-callout-warning {
  border-left-color: #f0ad4e;
}

.bd-callout-danger {
  border-left-color: #d9534f;
}

/* Footer */
footer a {
  color: #ffffff; /* Changed to white for better contrast */
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: #e6f699; /* Changed to a lighter color on hover */
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: #008080; /* Primary color */
  height: 120px; /* Adjusted height for a more compact navbar */
}

/* Navbar Brand (Logo) */
.navbar-brand {
  margin-left: 10px; /* Maintain left margin */
  padding: 0; /* Remove padding for a tighter fit */
  display: flex;
  align-items: center; /* Center align vertically */
}

.navbar-brand img {
  width: 130px; /* Ensure logo size is appropriate */
  height: auto; /* Maintain aspect ratio */
}

/* Navbar Items */
.navbar-nav .nav-item {
  flex-basis: 120px; /* Set a specific width for each item */
  text-align: center; /* Center align the text */
  margin: 0 10px; /* Optional: Reduced horizontal margin */
}

/* Dropdown Menu Animation */
.navbar-nav .dropdown-menu {
  left: 50%;
  transform: translateX(-50%);
  background-image: linear-gradient(
    to bottom,
    #a0d8f0,
    #c0e7f8
  ); /* Slightly darker light blue gradient */
  opacity: 0; /* Initially hidden */
  visibility: hidden;
  transform: translateY(-20px); /* Move up initially */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* When dropdown is active (visible), apply animations */
.navbar-nav .nav-item:hover .dropdown-menu {
  opacity: 1; /* Fade in */
  visibility: visible;
  transform: translateY(0); /* Slide down */
}

/* Optional: Add animation to the dropdown button */
.navbar-nav .nav-item .nav-link {
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover effect for the dropdown button */
.navbar-nav .nav-item:hover .nav-link {
  color: #c0e7f8; /* Lighter blue on hover */
  transform: translateY(-3px); /* Slight lift on hover */
}

/* Specific styles for dropdown button */
#navbarDropdown {
  align-items: center; /* Center align vertically */
  width: auto; /* Use auto width for better responsiveness */
}

/* From Uiverse.io by wilsondesouza */
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 100px;
}

.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.example-2 .icon-content a:hover {
  color: white;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

/* List connectors */
ul,
li {
  margin: 0;
  padding: 0 !important;
}

.ul-a {
  list-style-type: disc;
  margin: 30px;
}

.ul-a li {
  margin-bottom: 3px; /* Adjust the value for more or less space */
}

.tree-container {
  display: flex;
  justify-content: center;
}

.tree ul {
  padding-top: 2vh !important;
  position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 2vh 5px 0 5px !important; /* Padding from visible box to invisible box */
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li::before,
.tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid #000000;
  width: 50%;
  height: 2vh;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid #000000;
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}

.tree li:not(:first-child):not(:last-child)::after {
  border-radius: 0 0 0 0;
  -webkit-border-radius: 0 0 0 0;
  -moz-border-radius: 0 0 0 0;
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0 !important;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: none;
}

.tree li:last-child::after {
  display: none;
}

.tree li:last-child:before {
  border-right: 1px solid #000000;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}

ul.tree > li:first-child::before {
  display: none;
}

ul.tree > li:first-child::after {
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #000000;
  width: 0;
  height: 2vh;
}

.tree li a {
  border: 3px solid #70c479;
  padding: 5px 10px !important; /* Padding between text and box */
  text-decoration: none;
  color: #31525b;
  font-size: 1em;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li a:hover {
  background: #70c479; /* Changed to complement primary color */
  color: #000;
  border: 3px solid #3e6e46; /* Connector color on hover */
}

/*-------------Modals-----------*/
/* The modal container */
.modal {
  display: none;
  position: fixed;
  top: 0%;
  right: 0%;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Modal content */
.modal-content {
  background-color: #cce8e6 !important; /* Adjusted to complement primary color */
  padding: 5%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 70vw;
  max-height: 70vh;
  border-radius: 10px;
  overflow-y: scroll; /* Enable vertical scrolling */
  transition: all 1s ease;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

/* Accordions styling */
.accordion {
  background-color: #ffffff;
  padding: 20px 15%;
}

.accordion-item {
  padding: 1vh 0;
  background-color: #ffffff !important;
  border: none !important;
}

.accordion-button {
  background-color: #AEEEEE !important; /* Changed to primary color */
  color: #000000 !important; /* Changed to white for better contrast */
}

.accordion-button.collapsed::after {
  color: #ffffff !important; /* Changed to white */
}

.accordion-body {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.accordion-container {
  width: 40%;
  height: auto;
  float: right;
  margin: 5%;
}

.accordion-container img {
  width: 100%;
  height: auto;
  text-align: center;
  transition: all 0.3s ease;
}

@media screen and (max-width: 800px) {
  .accordion-container {
    width: 100%;
    padding: 0 0;
    margin: 0 0;
    float: none;
  }
}

/* Grid container for the team members */
.grid-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Adjusts columns automatically */
  gap: 16px;
  padding: 20px;
}

/* Card styling */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  background-color: #ffffff;
  text-align: center;
  height: 100%; /* Ensures all cards stretch to the same height */
  display: flex;
  flex-direction: column; /* Align items vertically */
  justify-content: space-between; /* Space between content and button */
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

/* Container inside card */
.container {
  padding: 16px;
  flex-grow: 1; /* Allows content to grow */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Keeps the button at the bottom */
}

/* Button styling */
.button {
  margin-top: auto; /* Pushes the button to the bottom */
}

/* Title */
.title {
  color: grey;
}

/* Responsive image styling */
img {
  width: 100%;
  height: auto;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #008080; /* Changed to primary color */
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #006666; /* Darker shade for hover */
}

.navbar-nav {
  display: flex; /* Enables Flexbox */
  justify-content: center; /* Centers items horizontally */
  align-items: center; /* Centers items vertically */
  flex-wrap: nowrap; /* Prevents items from wrapping to the next line */
}

.nav-item {
  margin: 0 10px; /* Adjusts space between items */
}

.bullet-list {
  display: block;
  list-style: disc;
  padding-left: 40px;
}

/* Menu item styling */
.nav-link {
  padding: 10px; /* Maintain uniform padding */
}
/* Hover effect */
.menu-link:hover {
  color: #e6f699; /* Light color on hover */
  transform: translateY(-3px); /* Slight lift effect */
}

/* Optional underline effect on hover */
.menu-link::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #e0ffff; /* Light color for underline */
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.menu-link:hover::before {
  visibility: visible;
  width: 100%;
}

/* For H1 titles */
.large-title {
  font-size: 3em; /* Adjust the size to your preference */
  font-weight: bold; /* Make the title bold */
  color: #cf0000; /* Set the color if needed */
}

/* For H2 titles */
.large-subtitle {
  font-size: 2em; /* Adjust the size for H2 titles */
  font-weight: normal; /* Normal weight for H2 */
  color: #333; /* Set the color if needed */
}

.bg-hero {
  position: relative; /* Needed for positioning the overlay */
}

.bg-hero::before {
  content: ""; /* Creates a pseudo-element */
  position: absolute; /* Position it absolutely within the header */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black color with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.bg-hero h1,
.bg-hero p {
  position: relative; /* Position elements above the overlay */
  z-index: 2; /* Ensure the text is above the overlay */
}

.custom-title {
  font-size: 3rem; /* Adjust as needed */
  margin-top: 50px; /* Equivalent to mt-5 */
  margin-bottom: 20px; /* Equivalent to mb-2 */
  color: rgb(255, 255, 255); /* Change to your desired color */
  font-family: "Montserrat", sans-serif;
}

.email {
  font-size: 12px; /* Adjust size as needed */
}

/* Code Container */
.code-container {
  position: relative;
  margin: 20px auto;
  max-width: 800px;
  /* background-color: #2d2d2d; */ /* Removed to prevent conflict with Prism's theme */
  border-radius: 5px;
  padding: 20px;
  overflow: auto;
}

/* Ensure Prism's background is used */
.code-container pre {
  background-color: transparent;
  margin: 0;
}

/* Copy Button */
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.copy-btn:hover {
  opacity: 1;
}

/* Toast Notification */
.toast {
  visibility: hidden;
  min-width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  right: 30px;
  bottom: 30px;
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 600px) {
  .copy-btn {
    padding: 4px 8px;
    font-size: 12px;
  }

  .code-container {
    padding: 15px;
  }
}

@font-face {
  font-family: "Londrina Solid";
  src: url("static/Londrina_Solid/LondrinaSolid-Regular.ttf") format("tff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Londrina Solid Bold */
@font-face {
  font-family: "Londrina Solid";
  src: url("static/Londrina_Solid/LondrinaSolid-Regular.ttf") format("tff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Tabnav */

.tabnav {
  background-color: #008080;
  position: fixed;
  left: 0;
  padding: 0;
  width: 13vw;
  top: 30%;
  transform: translateY(-50%);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.tabnav ul {
  list-style: none;
  border-radius: 0 10px 10px 0;
  margin: 10em 0;
  padding: 0;
}

.tabnav ul li .tabnav-dot {
  color: #a0d8f0;
  display: block;
  padding: 10px;
  width: 100%;
  position: relative;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.tabnav ul li .tabnav-dot span {
  display: inline-flex;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.tabnav ul li .tabnav-dot:hover {
  background-color: #31525b;
}

.tabnav ul li .tabnav-dot:hover span {
  color: #c0e7f8;
}

@media (max-width: 1000px) {
  .tabnav {
    display: none;
  }
}

.fade-in {
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Slightly move down for effect */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Transition for fading and movement */
}

.fade-in.visible {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Move back to original position */
}

html {
  scroll-padding-top: 8%; /* Adjust the offset for tabnav */
}

.custom-image {
  width: 200px; /* Set your preferred width */
  height: auto; /* Set your preferred height */
}

.wide-image {
  width: 800px; /* Set your preferred width */
  height: auto; /* Set your preferred height */
}
