/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

figure {
  margin: 0;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
  margin-bottom: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  margin-bottom: 1rem;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

span.wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

/* dsfffffffffffffffffffffffff */

/* 4444444444444444444444 */

.header-main {
  background: url("../images/header-img2.svg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-size: 100%;
  background-position: top center;
  z-index: 1;
}

.header-main .nav-container .logo-center .menu-image-title {
  display: none;
}
body:not(.home) .common-header .nav-container > ul li.logo-center {
  display: none;
}

section.home-banner {
  margin-top: 1vw;
}

.header-main .nav-container ul {
  display: flex;
  justify-content: center;
  padding: 3.5vw 0 0;
  gap: 1rem 3rem;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.header-main .nav-container .logo-center {
  padding-top: 1rem;
  left: -2rem;
  position: relative;
  margin: 0 1rem;
}

.header-main .nav-container .logo-center .menu-image {
  max-width: 18.3rem;
  width: 100%;
}

.header-main .nav-container ul > li a {
  color: var(--bs-brown);
}
.home header.common-header {
  display: none;
}

.split-box {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem;
}

.split-section .left-box {
  background: url("../images/wooden-bg-1.jpg") center/cover no-repeat;
}

.split-section .right-box {
  background: url("../images/wooden-bg-2.jpg") center/cover no-repeat;
}

/* .split-section .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.3);
    } */

.split-section .content {
  position: relative;
  z-index: 2;
  max-width: 31.65rem;
}

.butterfly-wrap {
  position: relative;
}

.butterfly-wrap:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17.25rem;
  height: 15rem;
  background: url("../images/butterfly-img.svg") center/contain no-repeat;
  animation: fly 4s ease-in-out infinite;
  background-size: 100%;
}

/* ✨ Animation */
@keyframes fly {
  0% {
    transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) translate(20px, -30px) rotate(10deg);
  }
  50% {
    transform: translate(-50%, -50%) translate(-20px, -60px) rotate(-10deg);
  }
  75% {
    transform: translate(-50%, -50%) translate(15px, -30px) rotate(5deg);
  }
  100% {
    transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
  }
}

/*  */

.slider-wrapper {
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.progress-slider-section .slide figure img {
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/0.9;
}

.slider {
  overflow: hidden; /* viewport */
}

.slider-track {
  display: flex;
  gap: 2.75rem;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 calc((100% - (2.75rem * 3)) / 4);
}
.progress-bar-wrapper {
  max-width: 51rem;
  margin-inline: auto;
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.progress-bar-wrapper .progress-bar {
  height: 6px;
  position: relative;
  width: calc(100% - 7rem);
  overflow: hidden;
}
.progress-bar-wrapper .progress-bar:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bs-secondary);
  transform: translateY(-50%);
}
.progress-bar-wrapper button.nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  padding: 0;
  background: transparent;
  border: solid 2px var(--bs-secondary);
}
.progress-bar-wrapper button.nav img {
  max-width: 1.1rem;
}
.progress-bar-wrapper .nav.prev img {
  transform: scale(-1);
}

.progress-bar-wrapper .progress {
  position: absolute;
  left: 0;
  top: -1px;
  width: 7.5rem;
  height: 6px;
  background: var(--bs-secondary);
  transition: transform 0.3s ease;
}

/* ≤767px → 3 items */
@media (max-width: 767px) {
  .slide {
    flex: 0 0 calc((100% - (2.75rem * 2)) / 3);
  }
}

/* ≤575px → 2 items */
@media (max-width: 575px) {
  .slide {
    flex: 0 0 calc((100% - (2.75rem * 1)) / 2);
  }
}

.testimonial-section {
  background-color: #fbf7ef;
  position: relative;
}

.testimonial-img img {
  max-width: 320px;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6.4rem;
  width: 17.5rem;
  background: url("../images/flowers-transparent-bg-1.png") no-repeat;
  background-size: contain;
  aspect-ratio: 1/1.5;
}
.testimonial-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5.7rem;
  width: 22.05rem;
  background: url("../images/flowers-transparent-bg-2.png") no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  background-position: bottom;
}
.testimonial-section .row {
  max-width: 48rem;
  margin-inline: auto;
  position: relative;
}

/* Start Footer  */
.newsletter {
  position: relative;
  margin-top: -2rem;
  z-index: 11;
}
.newsletter .input-group input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bs-light);
  border-radius: 0;
  padding: 0;
  color: var(--bs-primary);
  padding-right: 3rem;
}

.newsletter button {
  padding: 11px 0;
  border: 0;
  left: -1.8rem;
  bottom: 0.8rem;
}

.newsletter form.wpcf7-form .input-group {
    align-items: flex-start;
}

.newsletter form.wpcf7-form .input-group p:first-child {
  width: calc(100% - 1.5rem);
}

.newsletter form.wpcf7-form .input-group .btn-primary:hover {
  background: transparent;
}
.btn:focus-visible {
    background: transparent;
    box-shadow: none;
}
.common-footer .newsletter .col {
  min-width: 5rem;
  flex: inherit;
}
#menu-footer-menu-main {
  text-transform: uppercase;
}
footer .footer-menu-wrap ul li:hover a {
  border-color: var(--bs-light);
}

footer .footer-menu-wrap ul li a {
  border-bottom: 2px solid transparent;
}

/* ABout  */

.body-main .container {
  max-width: 856px;
  margin-inline: auto;
}

.common-header {
  max-width: 21.2rem;
  background: var(--bs-light);
  padding: 3rem 3rem;
  width: 100%;
  position: relative;
}

.common-header .inner-wrap {
  position: sticky;
  top: 3rem;
}

.body-main {
  width: calc(100% - 21.2rem);
}
.body-wrap {
  display: flex;
  flex-wrap: wrap;
}

.common-header .logo-wrap {
  max-width: 12.8rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.common-header .nav-container > ul {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: 15px;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
}

.common-header .nav-container > ul > li > a {
  border-bottom: 2px solid transparent;
}

.common-header .nav-container > ul > li:hover > a {
  border-color: var(--bs-success);
}
.common-header .inner-wrap:before {
  content: "";
  position: fixed;
  left: -3rem;
  top: auto;
  bottom: 0;
  width: 19.6rem;
  background: url("../images/common-menu-bg.svg") no-repeat;
  background-size: contain;
  aspect-ratio: 1/0.7;
  background-position: bottom left;
  z-index: -1;
}

.common-banner {
  min-height: 19.7rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.about-banner .about-butterfly img {
  max-width: 13rem;
}
.common-banner {
  min-height: 19.7rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.common-banner .heading-wrap {
  z-index: 1;
}
.about-banner .about-butterfly {
  position: absolute;
  animation: fly 4s ease-in-out infinite;
  margin-inline: auto;
  left: 50%;
  top: 50%;
}

.common-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.common-footer .newsletter {
  margin-top: 4rem !important;
}

/*  */
.team-section-main {
  position: relative;
  z-index: 99;
}
.team-section-main figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.team-section-main .overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(192, 183, 167, 0.83);
  display: grid;
  place-content: center;
  cursor: pointer;
  opacity: 0;
}

.team-section-main .overlay .box-wrap {
  padding: 1rem;
}

.team-section-main .team-member:hover .overlay {
  opacity: 1;
}
.team-section-main .custom-team-row {
  max-width: 33rem;
  margin-inline: auto;
}

.ab-footer-bg {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -1.5rem;
  position: relative;
  z-index: 9;
  margin-top: -12.5rem;
}
.ab-footer-bg img {
  max-width: 22rem;
}

/* Next page  */
.photographer-section-main .block-box-main {
  background: rgba(235, 227, 209, 0.41);
}
.photographer-section-main .social_list {
  margin-bottom: 1.25rem;
  margin-left: 1.6rem;
}

.photographer-section-main .social_list li a {
  display: flex;
  gap: 0.7rem;
}

.photographer-section-main .social_list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  word-break: break-all;
}

.photographer-section-main .bottom-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/*===== Start space =====*/

.custom-list {
  list-style-position: inside;
  text-align: center;
  padding: 0;
  margin-left: 0;
}
.custom-list li:not(:last-child) {
  margin-bottom: 0.8rem;
}

/* next page  ========================= */

.wedding-gallery-main .slider .slide {
  display: grid;
  gap: 1.2rem;
  flex: 0 0 calc((100% - (1.8rem * 3)) / 4);
}

.wedding-gallery-main .slider-track {
  gap: 1.8rem;
}

.alphabetic-tabs .nav-tabs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 0;
}


.alphabetic-tabs .nav-tabs .nav-link {
  color: var(--bs-success);
  font-family: "TAN-BRYDONE";
  font-size: 0.9rem;
  font-style: italic;
  padding: 0.6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
}

.alphabetic-tabs .nav-tabs .nav-link.active,
.alphabetic-tabs .nav-tabs .nav-link:hover {
  border-color: currentColor;
}

.alphabetic-tabs {
  width: 100%;
}

.alphabetic-tabs nav {
  margin-bottom: 2.2rem;
}

.alphabetic-tabs .tab-pane .common-box {
  background: rgba(235, 227, 209, 0.41);
  padding: 0.85rem 1.35rem;
  display: inline-block;
  margin-bottom: 1.8em;
  width: 100%;
}

.alphabetic-tabs .tab-pane .social_list {
  margin-bottom: 1.25rem;
  margin-left: 1.2rem;
}

.alphabetic-tabs .tab-pane .social_list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.alphabetic-tabs .tab-pane .social_list ul a {
  display: flex;
  gap: 0.7rem;
  word-break: break-all;
}

.alphabetic-tabs .tab-pane .bottom-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.alphabetic-tabs .tab-pane .custom-row {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  gap: 1.8em;
}

.alphabetic-tabs .tab-pane .custom-row.two-items .column {
    display: block;
}
.slider-wrapper .slide .column {
  position: relative;
}

.slider-wrapper .slide .column .overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--bs-success);
  display: grid;
  place-content: center;
  cursor: pointer;
  opacity: 0;
  text-align: center;
}
.slider-wrapper .slide .column.active .overlay {
  opacity: 1;
}
.slider-wrapper .slide .column:hover .overlay {
  opacity: 1;
}
.slider-wrapper .slide .column .overlay .box-wrap {
  display: block;
  width: 100%;
  padding: 7px 8px;
}

.slider-wrapper .slide .column .overlay .img-arrow {
  max-width: 25px;
  margin-inline: auto;
  bottom: -1.5rem;
  position: relative;
}
