@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

.roboto {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-style: normal;
}
/* Ensure the html and body take up the full viewport height */

html,
body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  background: linear-gradient(to bottom, #f8f9fa, #e3f2fd);

  margin: 0;
  display: flex;
  flex-direction: column;
  /* overflow: hidden; Prevent scrolling */
}

.bg-gradient-primary-danger {
  background: linear-gradient(to right, var(--bs-primary), var(--bs-danger));
}

/* Wrapper for main content */
.wrapper {
  flex: 1; /* Allow the wrapper to expand and fill available space */
}

/* Footer dynamically sized and at the bottom */
.footer {
  background-color: #cbdff3;
  color: #787a91;
  text-align: center;
  padding: 10px;
  width: 100%;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar .dropdown-menu {
    position: static;
    float: none;
  }
}
/* 

    .................Navbar

 */

.dropdown-menu {
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* card */
.font_p {
  font-size: 1.1rem; /* Default size */
}

/* Media query for small screens (max width 768px) */
@media (max-width: 768px) {
  .font_p {
    font-size: 1rem; /* Slightly smaller font for tablets */
  }
}

/* Media query for extra small screens (max width 480px) */
@media (max-width: 480px) {
  .font_p {
    font-size: 0.8rem; /* Smaller font for mobile devices */
  }
}

.card_main p {
  height: 50px;
  /* font-size: 17px;
    font-weight: 400; */
  /* line-height: 20px; */
  color: #ffffff;
}

.card_main p.small {
  font-size: 14px;
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: #212529;
  border-radius: 0 4px 0 32px;
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.card1 {
  display: block;
  position: relative;
  max-width: 100%;
  background-color: #6c757d;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
}

.card1:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: #212529;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.card1:hover:before {
  transform: scale(100);
}

.card1:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.card1:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}

.card2 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.card2:hover {
  transition: all 0.2s ease-out;
  box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
  top: -4px;
  border: 1px solid #ccc;
  background-color: white;
}

.card2:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: #adb5bd;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(2);
  transform-origin: 50% 50%;
  transition: transform 0.15s ease-out;
}

.card2:hover:before {
  transform: scale(2.15);
}

.card3 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #f2f8f9;
}

.card3 .go-corner {
  opacity: 0.7;
}

.card3:hover {
  border: 1px solid #adb5bd;
  box-shadow: 0px 0px 999px 999px rgba(255, 255, 255, 0.5);
  z-index: 500;
}

.card3:hover .go-corner {
  transition: opactiy 0.3s linear;
  opacity: 1;
}

.card4 {
  display: block;
  top: 0px;
  position: relative;
  max-width: 262px;
  background-color: #fff;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #ccc;
}

.card4 .go-corner {
  background-color: #adb5bd;
  height: 100%;
  width: 16px;
  padding-right: 9px;
  border-radius: 0;
  transform: skew(6deg);
  margin-right: -36px;
  align-items: start;
  background-image: linear-gradient(-45deg, #8f479a 1%, #dc2a74 100%);
}

.card4 .go-arrow {
  transform: skew(-6deg);
  margin-left: -2px;
  margin-top: 9px;
  opacity: 0;
}

.card4:hover {
  border: 1px solid #cd3d73;
}

.card4 h3 {
  margin-top: 8px;
}

.card4:hover .go-corner {
  margin-right: -12px;
}

.card4:hover .go-arrow {
  opacity: 1;
}

/* Smooth transition for dropdown menu */
.dropdown-menu {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
}

.image-container {
  position: relative;
  display: inline-block;
}

.details {
  display: none;
  position: absolute;
  /* bottom: 10px; Position details at the bottom of the image */
  left: 100%;
  /* top:10%; */
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  /* padding-x: 10px; */
  /* border-radius: 5px; */
  width: 125px;
  /* text-align: center; Optional: center the text */
}

.image-container:hover .details {
  display: block;
}

.btn {
  color: #000; /* Text color */

  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover transition */
}

.btn:hover {
  background-color: #e3f2fd; /* Change background color on hover */
  color: #0056b3; /* Optional: Change text color for better contrast */
}

.border-gradient {
  border: 4px solid transparent; /* Adjust the line width */
  border-right-width: 2px; /* Adjust the thickness of the right border */
  border-bottom-width: 2px; /* Adjust the thickness of the bottom border */
  border-image: linear-gradient(to bottom, var(--bs-danger), var(--bs-primary))
    1;
  border-image-slice: 1; /* Ensure the gradient is evenly distributed */
  border-left: none; /* Remove left border */
  border-top: none; /* Remove top border */
}

.heading {
  font-weight: 600;
  color: #525252;
}
