
.body-index{
  background-image: url('../images/apart01.jpg');
  background-repeat: no-repeat;
  background-size:cover;
  width:100%;
  height:100vh;
    align-items: center;
    justify-content: center;
}

.container-fluid {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row {
  width: 100%;
}

input[type="text"],[type="password"],[type="email"]{
  background: rgba(175, 194, 190, 0.1) !important;
  border: 1px solid rgba(175, 194, 190, 0.3);
color:rgb(255, 255, 255) !important;  
}

.txt:focus{
  background: rgba(175, 194, 190, 0.1) !important;
    border: 1px solid rgba(175, 194, 190, 0.3);  
  color:rgb(255, 255, 255) !important;
}

/* Remove the floating label background while maintaining Bootstrap animation */
.form-floating label {
  background: transparent !important;
  color: rgb(255, 255, 255) !important;  
  padding: 0 1rem; /* Maintain Bootstrap default padding */
  transition: all 0.2s ease-in-out; /* Ensure smooth animation */
}

/* Ensure label transitions correctly when input is focused */
.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
  background: transparent !important;
  color: azure !important;
  transform: translateY(-0.6rem) scale(0.85); /* Keeps animation effect */
  padding: 0 1rem;
}

/* Remove Bootstrap’s default background color when floating */
.form-floating>.form-control:not(:placeholder-shown) ~ label::after,
.form-floating>.form-control:focus ~ label::after {
  background: transparent !important;
}

/* Adjust label positioning */
.form-floating .form-control {
  padding-top: 1.2rem !important; /* Keep enough space for the label */
  padding-bottom: 0.35rem !important;
}

.form-floating label {
  top: 0.75rem !important; /* Keep label positioned correctly */
}

.btn{
  height:50px;
}

/* Custom Login/Register Buttons */
.custom-btn {
  flex: 1; /* Makes both buttons equal width */
  background-color:#3d6389 !important; /* Dark slate blue - modern & clean  #2C3E50 #006769  #274c77 */
  backdrop-filter: none !important;
  color:#ffffff !important;
  border: none !important;
  height: 4rem !important;
  transition: all 0.3s ease-in-out;
  height: 50px; /* Maintain height consistency */
  font-weight: 600;
  margin-top: 15px; /* Added top margin */
  border-radius: 0;
  box-shadow: none !important; /* Remove any unwanted shadows */
}

/* Active Button Style (Selected Tab) */
.custom-btn.active, .custom-btn:hover {
  background:#16A085 !important; /* Darker shade for hover effect #6096ba */
  color: #f8f9fa !important; /* Light gray text for contrast */
}

/* Remove any margin that might cause spacing */
.btn-group .btn {
  margin: 0;
}

/* Ensure the first and last buttons have rounded edges */
.btn-group .btn:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.btn-group .btn:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
input[type="submit"]{
  border-radius: 10px;
}

.login{
  /* margin-top: 30px; */
background: rgba(175, 194, 190, 0.1);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(3.5px);
-webkit-backdrop-filter: blur(3.5px);
border: 1px solid rgba(175, 194, 190, 0.3);
}

  /* Carousel */

  .carousel-item {
      margin: 0 auto;
  }

  .carousel-inner h2,
  .carousel-inner p {
      color:#f8f9fa ; /*#f8f9fa*/
      /* Light gray for contrast on dark background */
  }

  #textCarousel .carousel-inner {
      margin-left: 20px; /* Adds some spacing from the left edge */
      color: #f8f9fa ; /* Light gray text for contrast */

  }
  .overlay{ 
     background: rgba(0, 0, 0, 0.5); /*Dark overlay for readability */
    padding: 20px;
    border-radius: 16px;
  }

  #textCarousel h2 {
      font-size: 1.8rem;
      font-weight: bold;
  }
  
  @media (max-width: 768px) {
  
    .col-md-4 {
        text-align: center;
    }

    #textCarousel h2 {
      font-size: 1.5rem;
  }
  #textCarousel p {
      font-size: 1rem;
  }
    .carousel-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .login {
        margin-top: 20px;
         max-width: 90%; /*Make it more responsive */
    }
}