.nav-item{
  margin-left: 50px;
}
#active {
  color: brown !important;
}
.navbar{
  margin-top: -10px !important;
  margin-bottom: -70px !important;
}
.navbar-toggler:hover{
border: none !important;
}
.navbar-toggler{
border: none !important;
}
.navbar-toggler:focus {
outline: none;
}
#main{
  background-color: #e71a03;
  color: aliceblue !important;
}
.active .nav-link{
  color: #e71a03 !important;
  border-bottom: 2px solid #e71a03;
}
.nav-link:hover{
  border-bottom: 2px solid #e71a03;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  display: block;
}

/* Add margin for screens with a maximum width of 767px (typical mobile devices) */
@media only screen and (max-width: 767px) {
  .nav-item {
    margin-bottom: 20px;
  }
}
.nav-link:hover::before {
  left: 0;
}

.nav-link{

  border: none;

  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s;
}
.nav-link::before{
  content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: #e71a03;
    transition: left 0.3s;
}
.animated-button {
  background-color: #e71a03;
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.animated-button:hover {
  background-color: hsl(0, 0%, 100%);
  color: #a70a1d;
  border: 2px solid #a70a1d;
}
.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
padding-top: 2%;
  background-size: cover;
}

.hero-content {
  width: 50%;
  margin-top: 20%;
  padding: 20px;

  color: white;
}
.carousel-item img{
  height: 130vh;
}
.hero-content h2{
  background-color: #e71a03;
  color: aliceblue;
  width: fit-content;
  border-radius: 15px;
  padding: 10px 25px 10px 25px;
}
@media (min-width: 576px) {
  .hero-section {
    height: 120vh;
  }
}

@media (max-width: 575px) {
  .hero-section {
    height: 70vh;
  }
    .carousel-item img{
  height: 300px;
}
  .hero-content h2{
      background-color: #e71a03;
      color: aliceblue;
      width: fit-content;
      border-radius: 15px;
      font-size: 20px;
      padding: 15px;
    }
    
}
.fg{
  width: 400px;
  padding: 20px;
  border-radius: 30px;
  background-color: aliceblue;
  align-items: center;
  margin-top: 150px;
  height: 95vh;
}
.form-container {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.form-container label {
  color: #e71a03;
}

.form-container .btn-primary {
  background-color: #e71a03;
  border-color: #e71a03;
}
.form-container .btn-primary:hover {
  background-color: #a70a1d;
  border-color: #a70a1d;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  color: #000000;

}
.moblife{
 background-image: url("img/gold.avif"); 
 margin: -10px;
 margin-top: -20px;
}
.hg{
  margin: 20px;
  border-radius: 20px;
  border: 2px solid red;
  padding: 20px;
}
.custom-carousel {
  background-color: #8b0000;
}
.custom-carousel .carousel-inner {
  color: #000;
}
.search_for {
  background: #F8F8F8;
  /*margin-top: 10px;*/
  min-height: 101px;
}

.indian-matri-title p {
  font-size: 37px !important;
  color: #2E2E2E;
  margin: 5px 0 0px;
}

.indian-matri-title p span {
  font-family: 'SF-Pro-Display-thin', sans-serif;
}

.containerr {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  border-radius: 30px;
  background-color: #fff;
  margin-top: -30px;
  padding: 20px;
  margin-left: 10%;
  margin-right: 14%;
  width:76%;

}
#religion{
  border: none;
  background-color: none !important;
}
#religion:hover{
  border: none;
  border: transparent;
}
.form-group label{
  margin-right: 20px;
}
#th{
  margin-right: 20px;
}
#th:hover{
  font-size: 13px;
  color: #e71a03;
}
.religion{
  border: none;
  background-color: none !important;
  cursor: pointer;
  
}

/* width */
::-webkit-scrollbar {
  width: 7px;
  height: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 20px;
}

.pathbtn{
  padding: 2px 15px 2px 15px;
  color: #fff;
  background-color: #e71a03;
  font-size: 21px;
  font-weight: 600;
  border: none;
  border-radius: 40px;

}
.pathbtn:hover{
transform: scale(1.2);
}


.indian-matri-title p {

  color: #2E2E2E;
  margin: 5px 0 0px;
}

.indian-matri-title p span {
  font-family: 'SF-Pro-Display-thin', sans-serif;
}
.how-does-it-work {
  padding-top: 30px;
  padding-bottom: 50px;
}

.how-does-it-work-main {
  margin-top: 40px;
}

.how-does-it-work-new {
  height: 62px;
  width: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e71a03;
  border-radius: 50%;
  padding: 28px;
  margin: auto;
}

.how-does-it-work-data h3 {
  font-size: 21px;
  font-family: 'SF-Pro-Display-Semibold', sans-serif;
  color: #2E2E2E;
  margin-top: 10px;
  margin-bottom: 10px;
}

.how-does-it-work-data p {
  font-size: 14px;
  font-family: 'SF-Pro-Display-Regular', sans-serif;
  color: #7B7B7B;
  margin-top: 5px;
  margin-bottom: 5px;
}
.does{
  color: #e71a03;
  font-size: 25px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 200;
  font-style: italic;
}
.how_work{
  background-color: #e71a03;
  color: #fff;
  font-weight: 500;
  width: fit-content;
  position: relative;
  left: -15px;
  padding: 10px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  position: relative;
  left: -100%; /* Move the element off-screen to the left */
  animation: slideFromLeft 1s ease-in-out forwards;
  
}
@keyframes slideFromLeft {
  0% {
      left: -100%;
  }
  100% {
      left: 0;
  }
}
.gold {
  position: absolute;
  top: 0;
  right: 0;
  background-color: gold;
  color: black;
  transform: rotate(45deg);
  padding: 4px 8px;
  border-radius: 7px;
}
.premium {
  position: absolute;
  top: 10px;
  right: -15px;
  background-color: rgb(255, 132, 0);
  color: rgb(255, 255, 255);
  transform: rotate(45deg);
  padding: 4px 8px;
  border-radius: 7px;
}

.person{
  position: relative;
  border: 2px solid transparent; 
  border-image: linear-gradient(to bottom, red, transparent);
  background-color: #e71a03;
  color: #fff; 
  border-image-slice: 2; 
  border-radius: 40px;
  border-top-left-radius: 20px;
}
.profiles{
  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #2E2E2E;
  font-size: 35px;

}
.ju{
  font-weight: 100 !important;
  color: #e71a03;
  font-size: smaller;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.ku{
  font-weight: 100 !important;
  color: #e71a03;
  font-size: smaller;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: right !important;
}

.custom-content {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .custom-text {
    flex: 1;
    padding: 20px;
  }
  @media (max-width: 767px) {
    .custom-text {
      margin-top: 130px;
    }
    .client{
      margin-top: 200px;
    }
    .secf{
      border-bottom: solid 1px white;
    }
  }
  .custom-text h2{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bolder;
  }

  .custom-image {
    flex: 1;
    text-align: center;
  }
    .custom-section {
    background: linear-gradient(145deg, transparent 50%, rgb(255, 0, 0) 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30vh;
    margin-bottom: 30px;
    margin-top: 100px;
  }
  .hline{
    border-bottom: #e71a03 solid 2px;
    display: block;
    margin-bottom: 30px;
    width: 40%;
    align-items: center;
  }
  .getstarted{
    text-decoration: none;
    font-size: 23px;
    color: white;
    background-color: #e71a03;
    padding: 6px 35px;
    border-radius: 30px;
    font-weight: 400;
    border:white solid 2px;
  }
  .getstarted:hover{
    background-color: white;
    color: #e71a03;
    text-decoration: none;
    border: 2px solid #e71a03;
    width: 100%;
  }
  .client{
    background-color: #e71a03;
    color: white;
    margin-bottom: 20px;
  }
  .secf{
    text-align: center;
    padding: 10px;
    align-items: center;
  }
  
.browse-matri {
background: #F5F5F5;
height: auto;
padding-top: 25px;
padding-bottom: 30px;
align-items: center;
}

.browse-matri-data-new {
height: 50px;
width: 50px;
display: flex;
align-items: center;
justify-content: center;
background: #e71a03;
border-radius: 52%;
padding: 5px;
}


.browse-matri-data h3 {
font-size: 21px;
font-family: 'SF-Pro-Display-Semibold', sans-serif;
color: #1C1C1C;
margin-top: 0px;
margin-bottom: 5px;

}

.browse-matri-list {
padding-left: 0px;
}

.browse-matri-list li a {
color: #1C1C1C;
font-size: 15px;
padding: 6px 3px;
transition: all 0.4s ease-in-out;
line-height: 1.7;
font-family: 'SF-Pro-Display-Regular', sans-serif;
}

.browse-matri-list li a:last-child {
font-family: 'SF-Pro-Display-Semibold', sans-serif;
}

.bm-vl {
border-left: 2px solid #585858;
height: 10px;
display: inline-block;
margin: 0px 5px;
}

.bm-pad-l {
padding-left: 0px;
}
.ourmatches{
text-align: center;
font-weight: 600;
border-bottom: 4px solid rgb(212, 69, 17);
width: 350px;
}
.footer-links {
list-style: none;
padding-left: 0;
}

.footer-links li {
margin-bottom: 5px;
}

.subscribe-form {
max-width: 300px;
}

.subscribe-btn {
margin-top: 10px;
}

.copyright {
margin-top: 20px;
text-align: center;
}
.footer {
background-color: #e71a03;
color: white;
padding: 40px 0;

}
footer{
margin-top: 100px;
}
.footer-logo {
font-size: 24px;
margin-bottom: 20px;
}

.footer-address {
margin-bottom: 20px;
}
.footer-links li a{
text-decoration: none;
color: white;

}
.ft{
border-bottom: 2px solid white;
}
.social-icon-footer p {
font-size: 14.18px;
color: #afa6a6;
margin: 0 0 18px;
display: inline-block;
}

.social-icon-footer p a {
color: #fff;
}

.social-icon-footer p a i {
font-size: 20px;
vertical-align: bottom;
margin-right: 30px;
color: #fff;
margin-top: 20px;
background-color: transparent;
text-align: center;
border-radius: 100px;
padding: 10px;
margin-right: 10px;
font-size: 17px;
border: 1px solid #FFFFFF;
}

.fb i:hover {
background-color: #9d504a;
}

.tw i:hover {
background-color: #eda93b;
}

.li i:hover {
background-color: #b57f0b;
}

.tel i:hover {
/*background-color: #0088cc;*/
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.navb{
margin-top: 100px;
}


.main-trans{
  background-color: #ffffff8b !important;
  
}

