@import url("https://fonts.googleapis.com/css2?family=Sacramento&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Marcellus", serif;
}
.weddings {
  background: url("/images/BG-2.jpg");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: color;
  background-color: #ffffff5e;
}
.weddingHeading {
  width: 80%;
  margin: auto;
  text-align: center;
  margin-bottom: 50px;
}
.weddingHeading h2 {
  margin-bottom: 10px;
  color: #970849;
  font-size: 36px;
}
.weddingHeading p {
  color: #555;
}

.rsvp-trust-section {
  display: flex;
}
.rsvpimage {
  width: 60%;
}
.rsvpimage img {
  width: 100%;
  display: block;
  margin: auto;
  margin-top: 150px;
}
.rsvpBox {
  width: 35%;
}
.rsvp-trust-card {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 150px;
  box-shadow: rgba(83, 0, 64, 0.3) 0px 4px 6px -1px,
    rgba(83, 0, 64, 0.26) 0px 2px 4px -1px;
}

.start-planning .form-container {
  background-size: cover;
  background-position: center;
}
.formHeading {
  margin-bottom: 20px;
  text-align: center;
}
.formHeading span {
  display: block;
  color: #970849;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.error {
  color: red !important;
}

.formHeading p {
  color: #555;
}
.start-planning #weddingForm {
  border-radius: 20px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff8c;
  box-shadow: rgba(83, 0, 64, 0.3) 0px 4px 6px -1px,
    rgba(83, 0, 64, 0.26) 0px 2px 4px -1px;
}

.weddingInputField {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 1rem;
}

.weddingInputField .inputFild {
  display: flex;
  flex-direction: column;
}

.weddingInputField .inputFild span {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #530040;
}

.start-planning .form-content p {
  color: #530040;
  font-size: 1rem;
}

.start-planning label {
  display: block;
  color: #530040;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.start-planning select,
.start-planning input[type="text"],
.start-planning input[type="email"],
.start-planning input[type="tel"],
.start-planning input[type="number"],
.start-planning input[type="date"],
.start-planning textarea {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 20px;
  background-color: #ffffffcf;
  color: #970849;
  font-weight: 400;
  font-size: 1.1rem;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  box-sizing: border-box;
}
.start-planning input[type="date"] {
  font-size: 0.9rem;
}
.start-planning select {
  width: 150px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 10px;
  box-shadow: rgba(83, 0, 64, 0.3) 0px 4px 6px -1px,
    rgba(83, 0, 64, 0.26) 0px 2px 4px -1px;
  border-radius: 20px;
  background-color: #970849;
  color: #fff;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

.start-planning ::placeholder {
  color: #530040b4;
  font-size: 0.9rem;
}

.start-planning .date-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.datebox {
  width: 100%;
}
.start-planning .date-container label {
  margin-right: 10px;
  font-weight: 500;
}

.start-planning button {
  width: 150px;
  text-align: center;
  padding: 10px 15px;
  background-color: #970849;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px auto 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.start-planning button:hover {
  background-color: #640631;
  color: #fff;
}

.alert {
  text-align: center;
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
}

.alert.success {
  background-color: #4caf50;
  color: white;
  font-size: 1rem;
}

.alert.error {
  background-color: #f44336;
  color: white;
}

/* ✅ Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .weddingInputField {
    grid-template-columns: 1fr;
  }

  .start-planning #weddingForm {
    border-radius: 15px;
    padding: 15px;
  }

  .start-planning select {
    width: 100%;
    background-position: right 15px center;
  }

  .start-planning .date-container {
    display: block;
    gap: 0;
  }

  .start-planning .date-container .datebox {
    margin-bottom: 1rem;
    width: 100%;
  }

  .start-planning button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
  .start-planning select,
  .start-planning input[type="text"],
  .start-planning input[type="email"],
  .start-planning input[type="tel"],
  .start-planning input[type="number"],
  .start-planning textarea {
    padding: 8px;
  }
  .start-planning input[type="date"] {
    padding: 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .start-planning .form-content {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .weddingInputField {
    gap: 10px;
  }

  .start-planning button {
    font-size: 0.95rem;
    padding: 10px;
  }
}

.weddingSectionContainer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

.weddingimage {
  flex: 1;
  max-width: 55%;
  overflow: hidden;
}

.couple-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.countdown-container {
  flex: 1;
  max-width: 45%;
  border-radius: 12px;
}

.countdown-container h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #970849;
  font-weight: 700;
  line-height: 1.2;
}

.wedding-subheading {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
}

.callnowlink {
  display: inline-block;
  padding: 14px 30px;
  background: #970849;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.callnowlink:hover {
  background: #6e0535;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.weddingAboutcontainer {
  text-align: center;
  margin: auto;
  padding: 20px 50px;
}

.weddingAboutstory {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 40%;
}
.image-container img {
  width: 100%;
}
.text-box {
  width: 38%;
  padding: 0 30px;
  border-radius: 12px;
  text-align: left;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.text-box ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.text-box ul li {
  position: relative;
  margin-bottom: 15px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #777;
}
.text-box ul li b {
  color: #970849;
}

.wedding-packages-container {
  padding: 50px;
}

.wedding-packages {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wedding-packages .content {
  width: 45%;
}
.wedding-packages ul {
  padding: 0;
  margin-bottom: 30px;
}

.wedding-packages ul li {
  font-size: 16px;
  color: #777;
  margin-bottom: 12px;
  list-style: none;
}
.wedding-packages ul li b {
  color: #970849;
}
.wedding-packages .btn {
  display: block;
  padding: 12px 30px;
  background: #970849; /* gold button */
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  margin: auto;
  margin-right: 0;
}

.wedding-packages .btn:hover {
  background: #740637;
  transform: translateY(-2px);
}

.wedding-packages .imagebox {
  width: 50%;
  margin: auto;
  margin-right: 0;
}

.wedding-packages .imagebox img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.weddingGallery {
  margin: 30px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  margin: 0 auto;
  padding: 0 100px;
}

.wedgalleryitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.wedgalleryitem:nth-child(3n) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Testimonials Grid Container */
.testimonialsContainer {
  padding: 20px 50px;
}
.testimonialsContainer h2 {
  text-align: center;
}
.testimonialsContainer p {
  text-align: center;
  color: #555;
  margin-top: 10px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  margin-top: 70px;
}
.TestimonialSliderBox {
  display: none;
}
.card1 {
  grid-column: 1 / 3;
  grid-row: 1;
}
.card2 {
  grid-column: 3 / 4;
  grid-row: 1;
}
.card3 {
  grid-column: 4 / 5;
  grid-row: 1;
}
.card4 {
  grid-column: 5 / 7;
  grid-row: 1;
}
.card5 {
  grid-column: 1 / 2;
  grid-row: 2;
  margin-top: 30px;
}
.card6 {
  grid-column: 2 / 3;
  grid-row: 2;
  margin-top: 30px;
}
.card7 {
  grid-column: 3 / 5;
  grid-row: 2;
  margin-top: 30px;
}
.card8 {
  grid-column: 5 / 6;
  grid-row: 2;
  margin-top: 30px;
}
.card9 {
  grid-column: 6 / 7;
  grid-row: 2;
  margin-top: 30px;
}

/* Testimonial Card Base Styling */
.testimonial-card {
  position: relative;
  min-height: 200px;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.253);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
}
.testimonial-card2 {
  position: relative;
  height: 280px;
  padding: 15px;
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
}
.testimonialTextBox {
  margin-top: 20px;
}
.card1 .testimonial-card {
  background-color: #fff9f5;
  border: 1px solid #ffab91;
}
.card2 .testimonial-card {
  background-color: #f0f7ff;
  border: 1px dashed #90caf9;
}
.card3 .testimonial-card {
  background-color: #e8f5e9;
  border: 1px solid #66bb6a;
}
.card4 .testimonial-card {
  background-color: #fffde7;
  border: 1px dotted #ffeb3b;
}
.card5 .testimonial-card {
  background-color: #fce4ec;
  border: 1px solid #f48fb1;
}
.card6 .testimonial-card {
  background-color: #ede7f6;
  border: 1px solid #9575cd;
}
.card7 .testimonial-card {
  background-color: #e1f5fe;
  border: 1px dashed #4fc3f7;
}
.card8 .testimonial-card {
  background-color: #f3e5f5;
  border: 1px solid #ce93d8;
}
.card9 .testimonial-card {
  background-color: #fbe9e7;
  border: 1px solid #ff8a65;
}
.testimonials-grid .profile-img-wrapper {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background-color: #ddd;
}
.TestimonialSliderBox .profile-img-wrapper2 {
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background-color: #ddd;
  width: 100px;
  margin: auto;
}

.testimonials-grid .card1 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}
.testimonials-grid .card2 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonials-grid .card3 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  right: 20px;
}
.testimonials-grid .card4 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonials-grid .card5 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}
.testimonials-grid .card6 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonials-grid .card7 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}
.testimonials-grid .card8 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.testimonials-grid .card9 .profile-img-wrapper {
  width: 60px;
  height: 60px;
  top: -30px;
  right: 20px;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stars {
  font-size: 1.1em;
  color: #ffd700;
  margin: 8px 0;
}
.TestimonialSliderBox .stars2 {
  font-size: 1.1em;
  color: #ffd700;
  margin: auto;
  text-align: center;
}
.testimonial-text {
  font-style: italic;
  color: #777;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.4;
}
.TestimonialSliderBox .testimonial-text2 {
  font-style: italic;
  color: #777;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.testimonial-name {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.85em;
  color: #777;
}
.testimonial-name2 {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 4px;
  text-align: center;
  color: #970849;
}

.testimonial-role2 {
  font-size: 0.85em;
  color: #740637;
  text-align: center;
}

/* Responsive Layout */
@media (max-width: 1200px) {
  .rsvpimage {
    width: 55%;
  }
  .rsvpBox {
    width: 40%;
  }
  .rsvpimage img {
    margin-top: 200px;
  }
  .testimonials-grid {
    padding: 20px;
    gap: 10px;
  }
}

@media (max-width: 1200px) {
  .rsvpimage img {
    margin-top: 250px;
  }
}

@media (max-width: 1150px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .text-box ul li {
    margin-bottom: 5px;
  }
  .TestimonialSliderBox {
    display: block;
  }
  .testimonials-grid {
    display: none;
  }
}
@media (max-width: 1000px) {
  .rsvp-trust-section {
    display: block;
  }
  .rsvpimage {
    width: 100%;
    padding-top: 80px;
  }
  .rsvpBox {
    width: 100%;
  }
  .rsvp-trust-card {
    width: 70%;
    margin: auto;
  }
  .rsvpimage img {
    margin-top: 0px;
  }
}
@media (max-width: 950px) {
  .text-box ul li {
    margin-bottom: 0px;
  }
  .image-container img {
    height: 400px;
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  .weddingHeading {
    width: 100%;
    margin-bottom: 20px;
  }
  .rsvpimage {
    padding-top: 40px;
  }
  .weddingSectionContainer {
    display: block;
    padding: 0;
    min-height: 90vh;
  }
  .countdown-container {
    max-width: 90%;
    width: 90%;
    padding-top: 40px;
    margin: auto;
    text-align: center;
  }
  .weddingimage {
    max-width: 90%;
    width: 90%;
    margin: auto;
  }
  .weddingGallery {
    margin: 20px;
  }
  .gallery {
    padding: 0px;
  }
  .weddingAboutcontainer {
    padding: 20px;
  }
  .weddingAboutstory {
    display: block;
  }
  .text-box {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .text-box ul li {
    font-size: 0.9rem;
  }
  .image-container {
    width: 80%;
    padding: 0;
    margin-top: 20px;
  }
  .image-container img {
    height: auto;
    object-fit: cover;
  }
  .wedding-packages-container {
    padding: 20px;
  }
  .wedding-packages {
    display: flex;
    flex-direction: column-reverse;
    padding: 0px;
  }
  .wedding-packages .content {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .wedding-packages .btn {
    margin-bottom: 20px;
  }

  .wedding-packages .imagebox {
    width: 100%;
  }
  .testimonialsContainer {
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .testimonial-card2 {
    padding: 0px;
    margin: 0px;
    border-radius: none;
    box-shadow: none;
    background-color: transparent;
  }
  .testimonial-text2 {
    font-size: 0.9rem !important;
  }
}
@media (max-width: 550px) {
  .rsvp-trust-card {
    width: 85%;
  }
  .weddingSectionContainer {
    min-height: 75vh;
  }
  .countdown-container {
    padding-top: 60px;
  }
  .countdown-container h1 {
    font-size: 28px;
  }
  .weddingHeading h2 {
    font-size: 24px;
  }
  .weddingHeading p {
    font-size: 0.9rem;
  }
  .text-box ul li {
    margin-bottom: 0px;
    font-size: 0.9rem;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 7px;
  }

  .wedding-packages .content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .wedding-packages .content ul li {
    font-size: 0.9rem;
  }
  .wedding-packages .btn {
    margin-bottom: 20px;
    padding: 7px 10px;
    font-size: 0.9rem;
    font-weight: 500;
  }
}
