/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;600;800&display=swap");

:root {
  --header-height: 5rem;
  --main-color: #e4c4ba;
  --first-color: #75492b;
  --second-color: #c5bf9e;
  --white-color: #fff;
  --black-color: #151515;

  --font-cursive: "Great Vibes", cursive;
  --font-body: "Montserrat", sans-serif;

  --big-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.813rem;
}

/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  outline: none;
  border: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-color);
  font-size: var(--normal-font-size);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Buttons */
.btn {
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--second-color);
  color: var(--white-color);
  border: 1px solid var(--first-color);
  border-radius: 50px;
  font-size: var(--normal-font-size);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--first-color);
}

.btn-outline {
  width: 280px;
  background-color: transparent;
  color: var(--first-color);
  padding: 5px 10px 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18%;
  height: 100%;
  background-color: var(--first-color);
  border: 1px solid var(--first-color);
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
}

.btn-outline i {
  margin-right: 1.5rem;
  font-size: var(--h3-font-size);
  color: var(--white-color);
  z-index: 10;
}

.btn-outline:hover::before {
  width: 100%;
  z-index: -1;
}

.btn-outline:hover {
  color: var(--first-color);
  z-index: 10;
}

.services-button {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
a {
  text-decoration: none;
  color: var(--black-color);
}

a:hover {
  color: var(--black-color);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 10000;
  transition: all 0.4s ease;
}
.scroll-header {
  background-color: var(--white-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.nav-menu .nav-list {
  display: flex;
}
.nav-menu li {
  margin-right: 2rem;
}
.nav-link {
  font-size: var(--normal-font-size);
  color: var(--black-color);
  font-weight: bold;
  text-transform: capitalize;
  position: relative;
  transition: all 0.4s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--first-color);
  transition: all 0.4s ease-in-out;
}
.nav-link:hover::before {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--first-color);
}
.nav-toggle {
  font-size: var(--h1-font-size);
  padding: 5px 5px 0;
  border: 2px solid transparent;
  cursor: pointer;
  z-index: 100;
  display: none;
}
.nav-toggle:hover {
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.logo {
  width: 100%;
  height: 100%;
  position: relative;
  bottom: 15px;
  right: 16px;
}

.logo a {
  cursor: pointer;
}
/* Start Home Section */
.home {
  width: 100%;
  height: 100vh;
  background-color: var(--main-color);
  border-radius: 0 0 300px 0;
}
.home .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.home .home-img img {
  max-width: 100%;
  height: 100%;
}
.home .home-content {
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.home-content h2 {
  font-family: var(--font-cursive);
  font-size: 2.5rem;
  line-height: 3.5rem;
  letter-spacing: 4px;
  color: var(--first-color);
  margin-bottom: 1.5rem;
}
.home-content p {
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 2px;
  color: var(--black-color);
  margin-bottom: 1.5rem;
}

/* End Home Section */

/* Start About Section */
.about {
  width: 100%;
  padding: 7rem 0;
  background-image: url(img/arabesque-left-bottom.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: -1;
}
.about .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.section-title {
  margin: 0 auto;
  text-align: center;
}
.section-title h1 {
  font-family: var(--font-cursive);
  font-size: var(--big-font-size);
  font-weight: 400;
  line-height: 3rem;
  color: var(--first-color);
}
.section-title span {
  font-weight: 300;
  font-size: var(--h2-font-size);
  line-height: 1.5rem;
  color: var(--black-color);
}
.about-detail {
  width: 100%;
  padding: 3rem;
}
.about-detail-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  border: 6px solid var(--first-color);
  border-radius: 30px;
  padding: 2rem;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.about-img img {
  width: 100%;
  border-radius: 30px;
  filter: drop-shadow(16px 16px 16px rgba(0, 0, 0, 0.25));
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.about-description {
  position: relative;
  padding: 0.5rem;
  margin-top: 40px;
}
.about-description::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 110%;
  top: -10%;
  left: 0;
  background-color: var(--main-color);
  border-radius: 30px;
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.25);
  z-index: -1;
}
.about-description p {
  font-weight: 400;
  line-height: 2rem;
  color: var(--black-color);
}

/* End About Section */
/* Start Services Section */
.services {
  width: 100%;
  padding: 7rem 0;
  background-image: url(img/arabesque-left-top.svg);
  background-repeat: no-repeat;
  background-position: top left;
  z-index: -1;
}
.services-content {
  display: flex;
  flex-direction: column; /* Add this line */
  align-items: center;     /* Center items like the button */
}
.services-content-description {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.services-content-description .box {
  padding: 20px;
}
.services-content-description .box .inner img {
  width: 90px;
  margin-bottom: 1rem;
}
.services-content-description .box .inner {
  font-size: var(--h3-font-size);
  font-weight: 800;
  text-transform: capitalize;
  color: var(--first-color);
  padding: 10px;
  position: relative;
}
.services-content-description .box .inner::before,
.services-content-description .box .inner::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  transition: all 0.8s ease;
}
.services-content-description .box .inner::before {
  bottom: 0;
  left: 0;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}
.services-content-description .box .inner::after {
  top: 0;
  right: 0;
  border-top: 3px solid transparent;
  border-right: 3px solid transparent;
}
.services-content-description .box:hover .inner::before,
.services-content-description .box:hover .inner::after {
  width: 100%;
  height: 100%;
  border-color: var(--first-color);
}

.services button {
  margin: 0 auto;
  color: var(--black-color);
}
/* End Services Section */

/* Start Gallery Section */
.gallery {
  width: 100%;
  padding: 7rem 0;
  position: relative;
}
.gallery::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 60%;
  top: 20%;
  left: 0;
  background-color: var(--main-color);
  z-index: -1;
}
.gallery-list-img {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem auto;
  position: relative;
}
.gallery-img img {
  margin: 0.5rem;
  filter: drop-shadow(16px 16px 16px rgba(0, 0, 0, 0.2));
}
.gallery-img:hover img {
  transform: scale(1.1);
}
.gallery-content button {
  margin: 0 auto;
  color: var(--black-color);
}
/* End Gallery Section */
/* Start Testimonials Section */

.testimonials {
  padding: 7rem 0;
  background-color: var(--main-color);
  border-radius: 300px 0;
}
.testimonials-content {
  padding: 2rem;
}
.testimonials-card {
  width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testimonials-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
  position: relative;
}
.testimonials-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 30px;
  background-color: var(--second-color);
}
.testimonials-img img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  transition: all 0.8s ease;
  z-index: 100;
}
.testimonials-item:hover .testimonials-img img {
  transform: translateX(180px) rotate(360deg);
}
.testimonials-box {
  position: relative;
  padding: 30px;
  z-index: 10;
}
.testimonials-name {
  margin-bottom: 1rem;
  margin-left: 0.5rem;
  text-align: center;
}
.testimonials-name h1 {
  font-weight: 400;
  font-size: var(--h2-font-size);
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}
.testimonials-name i {
  color: var(--first-color);
  font-size: var(--h3-font-size);
}
.testimonials-description p {
  line-height: 1.5rem;
  margin-top: 2rem;
}
/* End Testimonials Section */

/* Start Contact CSS */

.contactUs {
  position: relative;
  width: 100%;
  margin-top: 75px ;
  padding: 40px 100px;
  background-color: var(--white-color);
}

.contactUs .title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.contactUs .title h2 {
  color: var(--white-color);
  font-weight: 500;
}

.box-contact {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas:
    "form info"
    "form map";
  grid-gap: 20px;
  margin-top: 20px;
}

.form {
  grid-area: form;
}

.info {
  grid-area: info;
}

.map {
  grid-area: map;
}

.contact {
  padding: 40px;
  background: var(--second-color);
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.contact h3 {
  color: #0e3959;
  font-weight: 500;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.formBox {
  position: relative;
  width: 100%;
}

.formBox .row50 {
  display: flex;
  gap: 20px;
}

.inputBox {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 50%;
}

.formBox .row100 .inputBox {
  color: black;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
}
.inputBox input {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid #333;
}

.inputBox textarea {
  padding: 10px;
  font-size: 1.1em;
  outline: none;
  border: 1px solid #333;
  resize: none;
  min-height: 220px;
  margin-bottom: 10px;
}

.inputBox input[type="submit"] {
  background: #ff578b;
  color: #fff;
  border: none;
  font-size: 1.1em;
  max-width: 120px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 15px;
}

.info {
  color: #0e3959;
}

.info h3 {
  color: black;
}

.info .infoBox div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.info .infoBox div span {
  min-width: 40px;
  height: 40px;
  color: #fff;
  background: #18b7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  border-radius: 50%;
  margin-right: 15px;
  margin-bottom: 15px;
}

.info .infoBox div p {
  color: black;
  font-size: 1.1em;
}

.info .infoBox div a {
  color: black;
  text-decoration: none;
  font-size: 1.1em;
}

.sci {
  margin-top: 40px;
  display: flex;
}

.sci li {
  list-style: none;
  margin-right: 15px;
}

.sci li a {
  color: var(--black-color);
  font-size: 2em;
  color: var(--black-color);
}

.sci li a:hover {
  color: var(--first-color);
}

.map {
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 100%;
}


.success-message{
  margin-top: 120px;
  text-align: center;
}

.success-message a {
  font-weight: 800;
  color: var(--first-color);
}

.success-message a:hover{
  cursor: pointer;
  color: var(--second-color);

}

/* End Contact CSS */

/* Start Footer Section */

.footer-list {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
  padding: 7rem 0;
  border-bottom: 7px solid var(--first-color);


}



.footer .copy {
  text-align: center;
  padding: 1rem 0;
}
.footer .copy p {
  font-weight: bold;
  line-height: 1.5rem;
}
.footer .copy span {
  font-size: var(--small-font-size);
  line-height: 1rem;
}

.footer-success{
  bottom: 0;
  position: absolute;
  width: 100%;
}
/* End Footer Section */


[data-aos] {
  transition-property: transform, opacity;
  transition-timing-function: ease-out;
}

@media (max-width: 920px) {
  .nav-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background-color: var(--main-color);
    font-size: var(--h2-font-size);
    text-align: center;
    text-transform: capitalize;
    padding-top: var(--header-height);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
  }
  .show-nav {
    width: 60%;
  }
  .nav-menu .nav-list {
    display: block;
  }
  .nav-menu li {
    padding: 15px 0;
  }
  .nav-link {
    font-size: var(--h3-font-size);
  }
  .nav-toggle {
    display: block;
  }
  .home .home-img img {
    display: none;
  }
  .home .home-content {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .home-content h1 {
    font-size: var(--big-font-size);
  }
  .home-content p {
    padding: 0 2rem;
  }
  .about-detail-content {
    grid-template-columns: unset;
  }
  .services-content-description {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-card {
    width: 820px;
    margin-top: 3rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-item:hover .testimonials-img img {
    transform: translateX(300px) rotate(360deg);
  }
  .footer-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .contactUs {
    padding: 20px;
  }
  .box-contact {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "form"
      "info"
      "map";
  }
  .map {
    min-height: 300px;
    padding: 0;
  }

  .formBox .row50 {
    display: flex;
    gap: 0;
    flex-direction: column;
  }
  .inputBox {
    width: 100%;
  }
  .contact {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .services-content-description {
    grid-template-columns: unset;
  }
  .testimonials-card {
    width: 300px;
    margin-top: 3rem;
    grid-template-columns: unset;
  }
  .testimonials-item:hover .testimonials-img img {
    transform: translateX(220px) rotate(360deg);
  }
  .footer-list {
    grid-template-columns: unset;
  }
}


