/*********************center_h****************/
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.4) !important;
  bottom: 170px;
  /* left:0; */
  color: #fff;
  /* width:40%; */
  text-align: center;
  /* left:30%; */
  padding: 20px;
}

.carousel-caption1 {
  left: 57%;
}

.carousel-caption2 {
  left: 57%;
}

.center_home .carousel-indicators {
  bottom: 20px;
}

/*********************center_h_end****************/

/*********************about_h****************/
.social_tag li a {
  border: 1px solid #c78665;
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: #c78665;
  display: block;
  text-align: center;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
}

.social_tag li a:hover {
  border: 1px solid #c78665;
  background: #c78665;
  color: #fff;
}

.about_hm2 {
  top: 0;
  left: -5%;
}

.about_hm3 {
  bottom: 0;
  right: -5%;
}

.about_hm4 {
  bottom: 40%;
  right: -5%;
}

/*********************about_h_end****************/

/*********************attend****************/
.attend_1m {
  padding: 30px 50px;
  border-radius: 20px;
  box-shadow: 0 0 10px #faab21;
}

.attend_1m .form-control {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.attend_1m .form-select {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.attend_1l {
  padding-top: 150px;
}

/*********************attend_end****************/

/*********************bride****************/

#bride .about_h1l {
  width: 75%;
  margin-top: 12%;
  margin-left: 12%;
}

/*********************bride_end****************/

@media screen and (max-width: 767px) {
  .carousel-caption {
    padding: 30px 15px 70px 15px;
    position: static !important;
    width: 100%;
    background: #333 !important;
  }

  .carousel-caption1 {
    left: 0%;
  }

  .carousel-caption2 {
    left: 0%;
  }

  .center_home .carousel-indicators {
    bottom: 15px;
  }

  .carousel-control-prev {
    display: none;
  }

  .carousel-control-next {
    display: none;
  }

  .center_home p {
    text-align: left;
    font-size: 14px;
  }

  .center_home br {
    display: none;
  }

  .center_home .font_60 {
    font-size: 32px;
  }

  .center_home .button {
    padding: 10px 15px;
  }

  .about_hm2 {
    display: none;
  }

  .about_hm3 {
    display: none;
  }

  .about_hm4 {
    display: none;
  }

  .about_h1r {
    text-align: center !important;
  }

  .about_h1r p {
    text-align: left;
  }

  .about_h1l {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .attend_1l {
    padding-top: 0;
  }

  .attend_1m {
    padding: 20px 15px;
    border-radius: 0;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .bride_1i {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .attend_1l {
    display: none;
  }

  .bride_1i2n h1 {
    font-size: 36px;
  }

  .bride_1i2n h6 {
    font-size: 24px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .carousel-caption {
    bottom: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .center_home img {
    min-height: 800px;
  }

  .center_home .font_60 {
    font-size: 36px;
  }

  .about_hm2 img {
    width: 100px;
    height: 100px;
  }

  .about_hm3 img {
    width: 100px;
    height: 100px;
  }

  .about_hm4 img {
    width: 100px;
    height: 100px;
  }

  .about_hm2 {
    left: 0;
  }

  .about_hm4 {
    right: 0;
  }

  .about_hm3 {
    right: 0;
  }

  .attend_1m {
    padding: 20px 15px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .center_home img {
    min-height: 800px;
  }

  .about_hm2 img {
    width: 130px;
    height: 130px;
  }

  .about_hm3 img {
    width: 130px;
    height: 130px;
  }

  .about_hm4 img {
    width: 130px;
    height: 130px;
  }

  .about_hm2 {
    left: 0;
  }

  .about_hm4 {
    right: 0;
  }

  .about_hm3 {
    right: 0;
  }
}

@media (min-width: 1201px) and (max-width: 1280px) {
  .about_hm2 {
    left: 0;
  }

  .about_hm4 {
    right: 0;
  }

  .about_hm3 {
    right: 0;
  }

  .about_hm2 img {
    width: 130px;
    height: 130px;
  }

  .about_hm3 img {
    width: 130px;
    height: 130px;
  }

  .about_hm4 img {
    width: 130px;
    height: 130px;
  }
}

@media (min-width: 1400px) and (max-width: 2000px) {
  .about_hm2 {
    left: 0;
  }

  .about_hm4 {
    right: 0;
  }

  .about_hm3 {
    right: 0;
  }
}

.search-row {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-row .form-label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.search-row .form-select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  color: #000;
}

.search-row .btn-primary {
  padding: 8px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 16px;
  background-color: #d81d2a;
  border-color: #d81d2a;
}

.search-row .col-md-3 {
  display: flex;
  flex-direction: column;
}

.facts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: stretch;
  background-color: #e6004c;
}

.fact {
  flex: 1 1 160px;
  background: transparent;
  padding: 30px 20px;
  border: 1px dashed #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgb(255 255 255);
  text-align: center;
}

.value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.label {
  font-size: 14px;
  color: #f1f1f1;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .facts {
    flex-direction: column;
  }
}

.form-wrapper {
  background: #ffffff;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 40px;
  margin-bottom: 40px;
}

h3 {
  background: #d81d2a;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

input.form-control,
select.form-select,
textarea.form-control {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  transition: 0.3s ease;
}

input.form-control:focus,
select.form-select:focus,
textarea.form-control:focus {
  border-color: #d81d2a;
  box-shadow: 0 0 8px rgba(255, 107, 129, 0.4);
}

label.form-label {
  font-weight: 600;
  margin-bottom: 5px;
}

button.btn-primary {
  background: #ff4757;
  border: none;
  padding: 6px 36px;
  border-radius: 50px;
  font-size: 16px;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

button.btn-primary:hover {
  background: #e84118;
  box-shadow: 0 8px 20px rgba(232, 65, 24, 0.5);
}

.form-check-label {
  font-weight: 500;
}

.form-check-input:checked {
  background-color: #ff4757;
  border-color: #ff4757;
}

textarea {
  resize: none;
}

login-card {
  margin-top: 60px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.login-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-right {
  padding: 40px;
  background: #ffffff;
}
.login-right h3 {
  font-weight: 700;
  margin-bottom: 25px;
}
.form-control {
  border-radius: 10px;
  padding: 10px;
}
.btn-login {
  background: #d81d2a;
  border-radius: 50px;
  padding: 10px;
  color: #fff;
  width: 100%;
  border: none;
  font-size: 18px;
}
.btn-login:hover {
  background: #faab21;
}

.msm-contact-box {
  max-width: 650px;
  margin: 50px auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-left: 6px solid #1976d2;
}

.msm-heading {
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 25px;
  font-size: 28px;
  text-align: left;
}

.msm-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.msm-input,
.msm-select,
.msm-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccd1d7;
  font-size: 15px;
  margin-bottom: 18px;
  background: #fff;
}

.msm-input:focus,
.msm-select:focus,
.msm-textarea:focus {
  border-color: #1976d2;
  outline: none;
}

.msm-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #1976d2;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.msm-btn:hover {
  background: #0f4fa8;
}

.horizontal-search {
  width: 100%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0px 10px #ee0b42;
  justify-content: center;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.search-item label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

.search-input {
  width: 180px;
  padding: 10px;
  border: 2px solid #d81d2af2;
  border-radius: 10px;
  outline: none;
  font-size: 15px;
  background: #fff;
}

.search-input:focus {
  border-color: #d81d2af2;
  box-shadow: 0 0 8px rgba(255, 0, 72, 0.4);
}

.age-row {
  display: flex;
  gap: 10px;
}

.search-btn {
  padding: 12px 25px;
  background: #d81d2af2;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.search-btn:hover {
  background: #e6004c;
  box-shadow: 0 5px 10px rgba(255, 0, 72, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .search-input {
    width: 100%;
  }
  .horizontal-search {
    flex-direction: column;
  }
  .search-btn {
    width: 100%;
  }
}
.container-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.507);
  margin: 30px auto;
  max-width: 1000px;
}
.progressbar {
  display: flex;
  margin-bottom: 30px;
  counter-reset: step;
  padding-left: 0;
}
.progressbar li {
  list-style: none;
  width: 100%;
  text-align: center;
  position: relative;
  font-weight: bold;
  color: #777;
}
.progressbar li.active {
  color: #007bff;
}
.progressbar li::before {
  counter-increment: step;
  content: counter(step);
  width: 35px;
  height: 35px;
  line-height: 35px;
  border: 2px solid #aaa;
  display: block;
  text-align: center;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: white;
}
.progressbar li.active::before {
  border-color: #007bff;
  color: #007bff;
}
.progressbar li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ccc;
  top: 17px;
  left: -50%;
  z-index: -1;
}
.progressbar li:first-child::after {
  display: none;
}
.progressbar li.active::after {
  background: #007bff;
}
.step {
  display: none;
}
.step.active {
  display: block;
}

.search-heading {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

.profile-card {
  border: 1px solid #e5e5e5;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-left {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f3f3;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.blur-photo img {
  filter: blur(8px);
}
.profile-info {
  font-family: Arial, sans-serif;
}
.pid {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.info-line {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 3px;
}

.view-btn {
  background: #d81d2ae0;
  border-radius: 20px;
  padding: 8px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Wrapper controls cropper size */
.cropper-wrapper {
  width: 100%;
  height: 100%;
  max-height: 550px;
}

/* Image must scale */
#sample_image {
  max-width: 100%;
  max-height: 100%;
}

/* FORCE cropper to respect container */
.cropper-container {
  max-width: 100% !important;
  max-height: 550px !important;
}
