
	/* INDEX PAGE COLORS AND FONTS
	================================================== */

		/* Page Fonts */
		/* Body Options */
    html, body {
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
    
    @media (max-width: 768px) {
      html, body {
        overflow-x: hidden;
      }
    }
    


.button-51 {
  background-color: transparent;
  border: 1px solid #266DB6;
  box-sizing: border-box;
  color: #00132C;
  font-family: "Avenir Next LT W01 Bold",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 16px 23px;
  position: relative;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-51:hover,
.button-51:active {
  outline: 0;
}

.button-51:hover {
  background-color: transparent;
  cursor: pointer;
}

.button-51:before {
  background-color: #D5EDF6;
  content: "";
  height: calc(100% + 3px);
  position: absolute;
  right: -7px;
  top: -9px;
  transition: background-color 300ms ease-in;
  width: 100%;
  z-index: -1;
}

.button-51:hover:before {
  background-color: #6DCFF6;
}

@media (min-width: 768px) {
  .button-51 {
    padding: 16px 32px;
  }
}

@keyframes levitate {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0);
  }
}

.levitate {
  animation: levitate 2s ease-in-out infinite;
  transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.levitate:hover {
  transform: scale(1.1); /* Scale the image up slightly on hover */
}

/* Style the container */
.slide-names {
  max-width: 1200px; /* Limits the width on large screens */
  margin: auto; /* Centers the container horizontally */
  background: transparent;
  padding: 20px;
  border-radius: 8px;
}

/* styles.css */
.SHOWMOREBTN {
  border-width: 2px;
  border-style: solid;
  border-color: black;
  color: black;
  background-color: white;
  position: relative;
  left: 30px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.SHOWMOREBTN:hover {
  border-color: white;
  color: white;
  background-color: #0097B2;
}


/* Style the navigation list */
.nav-items {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center; /* Center items within the container */
  flex-wrap: wrap;
}

/* Style the individual navigation links with boxes */
.nav-item {
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: color 0.3s, transform 0.3s;
  padding: 10px 20px; /* Add padding for the box */
  border: 2px solid white; /* Define the border */
  border-radius: 8px; /* Add rounded corners */
  background-color: transparent; /* Optional: set a background color */
}

/* Hover effect */
.nav-item:hover {
  color: #333; /* Hover color */
  transform: translateY(-3px);
  background-color: white; /* Change background color on hover */
  border-color: #333; /* Change border color on hover */
}


/* Responsive layout (stack items on small screens) */
@media (max-width: 768px) {
  .nav-items {
      flex-direction: column;
      align-items: center;
  }
}


#Contact {
  padding-top: 0;
  background-color: white;
}

.container-xl {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 50px;
  padding-bottom: 93px;
}

/* Map Image Styles */
#hotspots {
  position: relative;
  width: 100%;
  left: 20px;
  top: 80px;
}

#hotspots img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ccc;
}

/* Form Section Styles */
form {
  background-color: #f7f7f7;
  
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  font-size: 16px;
  color: black;
  margin-bottom: 10px;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  color: black;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}

form input:focus,
form textarea:focus {
  border-color: #007bff;
}

form textarea {
  resize: none;
}

form button {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  padding: 15px;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: linear-gradient(45deg, #0056b3, #003f7f);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container-xl {
      padding-left: 15px;
      padding-right: 15px;
  }

  #hotspots {
      left: 0;
      top: 0;
  }

  .col-lg-6 {
      margin-bottom: 30px;
  }

  form {
      padding: 20px;
  }
}

.custom-card {
  color: white;
  padding: 20px;
  text-align: center;
  height: 256px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.custom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 151, 178, 0.4); /* Semi-transparent tint */
  z-index: 2;
}

.custom-card h5,
.custom-card .arrow-icon {
  position: relative;
  z-index: 3; /* Ensure text and icon stay on top */
}

.custom-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.custom-card h5 {
  margin-bottom: 10px;
  font-size: 36px;
}

.custom-card .arrow-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  fill: white;
}

.card-corporate {
  background-image: url('../images/backgrounds/Curves-1.jpg');
}
.card-banking {
  background-image: url('../images/backgrounds/Layer-1.jpg');
}
.card-investment {
  background-image: url('../images/backgrounds/Layer-3.jpg');
}
.card-partnerships {
  background-image: url('../images/backgrounds/Layer-4.jpg');
}
.card-litigation {
  background-image: url('../images/backgrounds/Layer-5.jpg');
}
.card-labour {
  background-image: url('../images/backgrounds/Curves-1.jpg');
}
.card-property {
  background-image: url('../images/backgrounds/Layer-3.jpg');
}
.card-taxation {
  background-image: url('../images/backgrounds/Layer-1.jpg');
}
.no-gutters {
  margin-left: 0;
  margin-right: 0;
}
.no-gutters > [class^='col-'] {
  padding-left: 0;
  padding-right: 0;
}

 /* Custom Styles for Navigation */
 .nav-links .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 4px;
}
.nav-links .dd-toggle:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background-color: #f1f1f1;
}


.bg-colored {
  /* Existing styles */
  opacity: 1;
  opacity: 0.8; /* For hover effect */
  transition: opacity 0.3s ease-in-out; /* For smooth hover */
  border: 1px solid #ccc; /* Example border */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  text-align: center;

  /* Default height for large screens */
  min-height: 50vh;
}

/* Media query for smaller screens (e.g., tablets and phones) */
@media (max-width: 768px) {
  .bg-colored {
    min-height: 90vh;
  }
}