body {
     font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.matrimony-title {
  font-size: 25px;
  text-transform: uppercase;
}

.top-bar {
  background-color: white;
  color: #A02426;
  padding: 10px 20px;
  font-weight: bold;
}

.register-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(45deg, #fff 55%, #EDFC03 17%);
  color: #A02426;
  font-weight: bold;
  height: 50px;
}

.left-text {

  text-align: left;
  padding-left: 90px;
  font-size: 18px;
}

.right-text {
  flex: 1;
  text-align: right;
  padding-right: 20%;
  font-size: 20px;
}

.form-card {
  border: 2px solid #A02426;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  background: #fff;
}

.form-control,
.form-select {
  /*margin-bottom: 5px;*/
  border: var(--bs-border-width) solid #A02426;
}

.btn-register,
.submit {
  background-color: #A02426;
  color: white;
  border-color: #A02426 !important;
  padding-bottom: 10px;
  position: relative;
}

.btn-signin {
  background-color: #333;
  color: white;
}

.footer {
 /* background-color: #A02426;
  color: white;
  font-size: 14px;
  text-align: center;*/
  padding: 10px;
}

.tab-buttons {
  display: flex;
}

.tab-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  font-weight: bold;
}

.tab-buttons button.active {
  background-color: #A02426;
  color: #fff;
}

.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #000;
}

.tab-content.active {
  display: block;
}

.btn-toggle {
  background-color: #ccc;
  font-weight: bold;
}

.form-group {
  margin-bottom: 10px;
}

input {
  width: 100%;
  padding: 8px;
}

.line {
  background: #A02426;
  height: 10px;
}

.rounded {
  border: 3px solid #f31a38;
}

.nav-tabs .nav-link {
  border-color: #ddd !important;
  position: relative;
}

.nav-tabs .nav-link.active {
  background-color: #A02426 !important;
  color: white !important;
  border-color: #A02426 !important;
  padding-bottom: 10px;
}


.nav-tabs .nav-link.active::after {
  visibility: visible;
}

.form-section {
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  background-color: #e9ecef;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  float: right;
  color: #333;
}

/* Responsive Styles */
@media (max-width: 576px) {
  .top-bar {
    padding: 10px 15px !important;
  }

  .top-bar .btn-sm {
    font-size: 12px;
  }

  .top-bar .matrimony-title {
    font-size: 18px;
    text-align: center;
    display: none;
  }
}

@media (max-width: 768px) {
  .register-banner {
    height: auto;
    padding: 15px 10px;
  }

  .left-text {
    padding: 5px 10px;
    font-size: 16px;
    display: none;
  }

  .right-text {
    font-size: 15px;
    padding-right: 0 !important;
  }
}
.custom-rounded {
    border-radius: 0 20px 0 20px;  
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nav-tabs-line {
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: none;
    padding: 0;
    list-style: none;

    margin: 10px auto;
  }

  .nav-tabs-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ccc;
    z-index: 0;
  }

  .nav-tabs-line .nav-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .nav-tabs-line .nav-link {
    display: inline-block;
    background: #f8f9fa;
    padding: 10px 16px;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
  }

  .nav-tabs-line .nav-link.active {
    background-color: #A02426;
    color: white;
  }
  .scroll-form{
     scroll-margin-top: 100px;
  }
/* Sidebar Styles */
.sidebar {
    background-color: #A02426 !important; /* White background */
    color: #fff; /* Black text color */
    position: sticky;
    top: 0;
    height: 10%; /* Full height of the viewport */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px;
}

.nav-link {
    color: #fff; /* Black color for nav items */
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: #f1f1f1;
    color:#000 !important; /* Light hover effect */
}

.nav-item.active .nav-link {
    background-color: #460003; /* Red background for active item */
    color: #fff; /* White text color */
}

/* Main content styles */
.main-content {
    padding: 20px;
}

/* Adjust the tabs background */
.nav-tabs-line {
    background-color: #f8f9fa;
}

/* Smooth scrolling for the profile details */
.profile-details {
    max-height: 80vh; /* Allow scrolling within the profile details section */
    overflow-y: auto;
}

.Sidebar{
  color: black;
  background: #F3F3F3;
}

.Sidebar .nav-link{
  color: black ;
}
/* Sidebar Styles */
.Sidebar {
    position: sticky; /* Sticky positioning */
    top: 0; /* Sticks to the top of the viewport */
    height: 10% !important; /* Ensures full height */
    background-color: #A02426; /* Light gray background */
    padding: 20px;
    color: black;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for better visibility */
    z-index: 999; /* Keeps the sidebar above other content */
}

.Sidebar .nav-link {
    color: #fff ;
    transition: background-color 0.3s, color 0.3s;
}

/* Change the color of the link when active */
.Sidebar .nav-item.active .nav-link {
    background-color: #A02426; /* Dark red for active */
    color: white;
}
/* Remove margin from the last nav item */
/* Remove margin from the last nav item */
.Sidebar .nav-item:last-child {
    margin-bottom: 0;
}


/* Smooth scrolling for the profile details */
.scroll-form {
    scroll-margin-top: 100px;
}

/* For responsiveness on smaller screens, adjust the sidebar */
@media (max-width: 768px) {
    .Sidebar {
        position: static; /* Sidebar won't be sticky on smaller screens */
        padding: 10px;
        box-shadow: none; /* No shadow for mobile view */
    }
}

/* Smooth scrolling on page sections */
.profile-details {
    max-height: 80vh; /* Limit the height */
    overflow-y: auto; /* Allow vertical scroll */
}

    .rounded-circle {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .bg-danger:hover {
        background-color: #c30000 !important;
    }


.translate-middle {
    transform: translate(18%, -171%) !important;
}
.nav-link{
  color: #A02426;
  font-weight: 600;
  text-transform: uppercase;
}
.w-86{
  width: 86%;
}
.footer{
  display: flex; flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #edfc03; padding-bottom: 20px;
}
  .terms-wrapper {
        padding: 40px 20px;
        color: #fff;
        font-family: 'Poppins', sans-serif;
    }

    .terms-card {
        padding: 40px;
        border-radius: 12px;
        max-width: 900px;
        margin: 0 auto;
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.2);
    }

    .terms-card h1 {
        font-size: 32px;
        color: #A02426;
        margin-bottom: 20px;
        text-align: center;
    }

    .terms-card h2 {
        color: #ffb703;
        margin-top: 25px;
        font-size: 22px;
    }

    .terms-card p,
    .terms-card li {
        font-size: 16px;
        color: #363636;
    }

    .terms-card ul {
        padding-left: 20px;
    }

    .terms-card a {
        color: #363636;
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .terms-card {
            padding: 20px;
        }
    }
    .sidebar-link {
  transition: all 0.2s ease-in-out;
  border-radius: 0.375rem;
  padding: 8px 10px;
}

.sidebar-link:hover {
  background-color: #f8f9fa;
  text-decoration: none;
  color: #A02426 !important;
  transform: translateX(2px);
}

.carousel-control-next, .carousel-control-prev{
  opacity: 1 !important;
}