/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
     * gradient color
     */

  --gradient: linear-gradient(90deg,
      #ECD5D8 0%,
      #684346 100%);

  /**
     * typography
     */

  --ff-roboto: "Roboto", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 4rem;
  --fs-2: 3.6rem;
  --fs-3: 3.2rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.6rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /**
     * spacing
     */

  --section-padding: 120px;

  /**
     * shadow
     */

  --shadow-1: 4px 4px 15px hsla(0, 0%, 0%, 0.1);
  --shadow-2: 0 10px 15px hsla(0, 0%, 0%, 0.1);
  --shadow-3: 0px 20px 60px hsla(0, 0%, 0%, 0.08);
  --shadow-4: 0px 10px 30px #ecd5d8e3;
  --shadow-5: 0px 2px 60px 0px hsla(0, 0%, 0%, 0.1);

  /**
     * border radius
     */

  --radius-6: 6px;
  --radius-4: 4px;

  /**
     * transition
     */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
    #RESET
  \*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  color: hsl(0, 0%, 47%);
  font-family: var(--ff-roboto);
  font-size: 1.5rem;
  overflow-y: scroll;
  /* Ensure vertical scroll is always visible */
}

/*-----------------------------------*\
    #REUSED STYLE
  \*-----------------------------------*/

.container {
  padding-inline: 25px;
}

.section {
  padding-block: var(--section-padding);
}

.section-subtitle {
  color: #ff7897;
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.2;
}

.h1 {
  color: #ff7897;
  font-size: var(--fs-2);
}

.h2,
.h3 {
  color: #ff7897;
}

.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-5);
}

.btn {
  background-image: linear-gradient(var(--deg, 90deg),
      #ffe4f8 0%,
      #ff7897 100%);
  color: white;
  font-size: var(--fs-7);
  text-transform: uppercase;
  padding: 20px 30px;
  text-align: center;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-4);
}

.btn:is(:hover, :focus) {
  --deg: -90deg;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

.card-text,
.section-text {
  line-height: 1.7;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: hsl(0, 0%, 84%);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/

.header-top,
.header-bottom .btn {
  display: none;
}

.header-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
}

.header-bottom.active {
  position: fixed;
  top: -81px;
  background-color: white;
  box-shadow: var(--shadow-2);
  animation: slideIn 0.5s var(--cubic-out) forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

.header-bottom>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  color: #ff7897;
  font-family: var(--ff-poppins);
  font-size: 3.4rem;
  font-weight: var(--fw-800);
}

.nav-toggle-btn {
  color: #975875;
  font-size: 30px;
  border: 1px solid #975875;
  padding: 5px;
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
  display: none;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
  display: block;
}

.navbar {
  position: absolute;
  top: calc(100% + 5px);
  left: 25px;
  right: 25px;
  background-color: white;
  padding-inline: 0;
  box-shadow: var(--shadow-1);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  visibility: visible;
  max-height: 244px;
  transition-duration: 0.5s;
}

.navbar-list>li:not(:last-child) {
  border-block-end: 1px solid hsla(0, 0%, 85%, 0.5);
}

.navbar-link {
  color: #975875;
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 15px;
}

/*-----------------------------------*\
    #HERO
  \*-----------------------------------*/

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block-end: calc(var(--section-padding) / 2);
}

.hero-content {
  margin-block-end: 50px;
}

.hero-title {
  margin-block: 15px 30px;
}

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;
}

.btn .btn-section-hero {
  width: 100%;
}

/*-----------------------------------*\
    #SERVICE
  \*-----------------------------------*/

.service-banner {
  display: none;
}

.service {
  padding-block-end: 0;
}

.service .section-title {
  margin-block-end: 50px;
}

.service-list {
  display: grid;
  gap: 15px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 100%;
  border: 1px solid hsl(0, 0%, 84%);
  border-radius: var(--radius-4);
  padding: 30px;
}

.service-card .card-icon {
  width: 50px;
  flex-shrink: 0;
}

.service-card .card-title {
  margin-block-end: 8px;
}

.service .toggle {
  margin-top: 2rem;
  color: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service .toggle-btn {
  margin: 0 1rem;
}

.service .checkbox {
  display: none;
}

.service .sub {
  background: linear-gradient(135deg,
      hsl(309, 100%, 96%) 0%,
      #ff7897 100%);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* height: 25px;
    width: 50px; */
  height: 1.6rem;
  width: 3.3rem;
  border-radius: 1.6rem;
  padding: 0.3rem;
}

.service .circle {
  background-color: #fff;
  height: 1.4rem;
  width: 1.4rem;
  border-radius: 50%;
}

.service .checkbox:checked+.sub {
  justify-content: flex-end;
}

.service .cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.service .card {
  background: white;
  color: hsl(325, 15%, 62%);
  border-radius: 0.8rem;
}

.service .cards .card.active {
  color: #fff;
  display: flex;
  align-items: center;
  transform: scale(1.1);
  z-index: 1;
}

.service ul {
  margin: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.service ul li {
  list-style-type: none;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1rem 0;
}

.service ul li.price {
  font-size: 3rem;
  color: hsl(232, 13%, 33%);
  padding-bottom: 2rem;
}

.service .card.active .price {
  color: #fff;
}

.service .pack {
  font-size: 1.1rem;
}

/*-----------------------------------*\
    #ABOUT
  \*-----------------------------------*/

.about {
  padding-block-end: 0;
}

.about-banner {
  margin-block-end: 50px;
}

.about .section-text-1 {
  margin-block: 25px 15px;
}

.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;
}

/*-----------------------------------*\
    #client
  \*-----------------------------------*/

.client .section-title {
  margin-block-end: 50px;
}

.client-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;
}

.client-card {
  padding: 30px;
  border: 1px solid hsl(0, 0%, 84%);
  border-radius: var(--radius-4);
  text-align: left;
  height: 100%;
}

.client-card .showcase-rating {
  display: flex;
  color: #f5e1e7;
  margin-bottom: 10px;
}

.client-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);
}

.client-card:is(:hover, :focus-within) .card-title {
  color: #975875;
}

.client-card .card-subtitle {
  margin-block: 10px 15px;
}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar {
  height: 10px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 84%);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: #975875;
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button {
  width: calc(25% - 30px);
}


/*-----------------------------------*\
    #CTA
  \*-----------------------------------*/

.cta {
  background-color: #F8F1F4;
}

.cta-banner {
  margin-block-end: 50px;
}

.cta .section-subtitle {
  text-transform: capitalize;
}

.cta .section-title {
  color: #975875;
  font-size: var(--fs-3);
  margin-block-end: 30px;
}

.cta .btn {
  max-width: max-content;
}

/*-----------------------------------*\
    #GALLERY
  \*-----------------------------------*/

.gallery .section-title {
  margin-block-end: 50px;
}

.gallery-list {
  display: grid;
  gap: 30px;
}

.gallery-card {
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-5);
}

.gallery-card .card-banner {
  position: relative;
  border-radius: var(--radius-4);
  overflow: hidden;
}

.gallery-card .card-banner img {
  transition: var(--transition);
}

.gallery-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.1);
}

.gallery-card .card-badge {
  background-color: #975875;
  color: white;
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);
}

.gallery-card .card-content {
  padding: 30px;
}

.gallery-card .card-title {
  transition: var(--transition);
}

.gallery-card .card-title:is(:hover, :focus) {
  color: #975875;
}

.gallery-card .card-text {
  margin-block: 15px;
}

.gallery-card .card-link {
  position: relative;
  color: #975875;
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);
}

.gallery-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #975875;
  transition: var(--transition);
}

.gallery-card .card-link:is(:hover, :focus) {
  color: #f5e1e7;
}

.gallery-card .card-link:is(:hover, :focus)::after {
  background-color: #f5e1e7;
}

/*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/

.footer-top {
  background-color: #F8F1F4;
  color: #975875;
}

.footer-top .container {
  display: grid;
  gap: 30px;
}

.footer-brand .logo {
  color: #ff7897;
}

.footer-text {
  line-height: 1.6;
  margin-block: 15px;
}

.footer-list-title {
  color: #ff7897;
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-300);
  margin-block-end: 10px;
}

.footer-list-title:is(:hover, :focus) {
  color: black;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);
}

.footer-link ion-icon {
  color: #975875;
  --ionicon-stroke-width: 50px;
}

.footer-link:is(:hover, :focus) {
  color: black;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-item:not(:first-child) {
  margin-block-start: 20px;
}

.footer-bottom {
  background-color: #F8F1F4;
  padding-block: 50px;
  text-align: center;
}

.copyright {
  color: black;
  line-height: 1.6;
  margin-block-end: 25px;
}

.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer .social-link {
  padding: 11px;
  background-color: hsla(0, 0%, 100%, 0);
  color: black;
  font-size: 18px;
  border-radius: 50%;
}

.footer .social-link:is(:hover, :focus) {
  background-image: var(--gradient);
}

/*-----------------------------------*\
    #BACK TO TOP
  \*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: #ff7897;
  font-size: 18px;
  color: white;
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}

/*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/
@media (max-width: 400px) {
  .hero-banner {
    display: none;
  }
}

/**
   * responsive for larger than 575px screen
   */

@media (min-width: 575px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-1: 4.2rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /**
     * gallery
     */

  .gallery-card .h3 {
    --fs-5: 2.6rem;
  }

  /**
     * FOOTER
     */

  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }
}

/**
   * responsive for larger than 768px screen
   */

@media (min-width: 768px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 4.8rem;
  }

  /**
     * RESET
     */

  body {
    font-size: 1.6rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 750px;
  }

  .section-subtitle {
    --fs-6: 2.2rem;
  }

  /**
     * HERO
     */

  .hero {
    overflow: hidden;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    align-items: center;
    gap: 100px;
  }

  .hero-content {
    margin-block-end: 0;
  }

  .hero-form {
    position: relative;
  }

  .hero-form .email-field {
    margin-block-end: 0;
    padding-inline-end: 190px;
  }

  .hero-form .btn {
    width: auto;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
  }

  .hero-banner {
    margin-inline-end: -60px;
  }

  /**
     * SERVICE
     */

  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  /**
     * client
     */

  .scrollbar-item {
    min-width: calc(50% - 15px);
  }

  /**
     * CTA
     */

  .cta {
    padding-block: 0;
  }

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .cta-banner {
    margin-block-end: 0;
  }

  .cta-content {
    padding-block: 60px;
  }

  /**
     * GALLERY
     */

  .gallery-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
     * FOOTER
     */

  .footer-bottom {
    padding-block: 30px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }

  /**
     * BACK TO TOP
     */

  .back-top-btn {
    bottom: 70px;
    right: 50px;
  }
}

/**
   * responsive for larger than 992px screen
   */

@media (min-width: 992px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 6rem;
    --fs-1: 4.6rem;
    --fs-3: 4.6rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 980px;
  }

  /**
     * HEADER
     */

  .header-top {
    display: block;
    background-color: #f5e1e7;
    color: #975875;
    padding-block: 20px;
  }

  .header-top :is(.container, .social-list),
  .contact-list,
  .contact-item {
    display: flex;
    align-items: center;
  }

  .header-top .container {
    justify-content: space-between;
  }

  .contact-list {
    gap: 20px;
  }

  .contact-item {
    gap: 5px;
  }

  .contact-item ion-icon {
    color: #975875;
    --ionicon-stroke-width: 40px;
  }


  .contact-link {
    font-size: 1.5rem;
  }

  .contact-link:is(:hover, :focus) {
    color: #6d4851;
  }

  .header-top .social-list {
    gap: 15px;
  }

  .header-top .social-link {
    font-size: var(--fs-6);
    transition: var(--transition);
  }

  .header-top .social-link:is(:hover, :focus) {
    color: #6d4851;
  }

  .header-bottom {
    top: 58px;
    padding-block: 20px;
  }

  .header-bottom.active {
    top: -95px;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;
    align-items: center;
  }

  .navbar-list>li:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    color: #975875;
    font-family: var(--ff-poppins);
    text-transform: capitalize;
    transition: var(--transition);
  }

  .navbar-link:is(:hover, :focus) {
    color: #7e676c;
  }

  .header-bottom .btn {
    display: block;
    padding: 15px 20px;
  }

  /**
     * SERVICE
     */

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service .card {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 5;
    align-self: center;
  }

  /**
     * ABOUT
     */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-block-end: 0;
  }

  /**
     * client
     */

  .scrollbar-item {
    min-width: calc(33.33% - 20px);
  }

  /**
     * CTA
     */

  .cta-content {
    padding-block: 80px;
  }

  /**
     * GALLERY
     */

  .gallery-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /**
     * FOOTER
     */

  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr;
  }
}

/**
   * responsive for larger than 1200px screen
   */

@media (min-width: 1200px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 8rem;
    --fs-1: 5.5rem;
    --fs-3: 4.8rem;
  }

  /**
     * REUSED STYLE
     */

  .container {
    max-width: 1180px;
  }

  /**
     * HEADER
     */

  .contact-list {
    gap: 30px;
  }

  .header-bottom .btn {
    padding: 18px 30px;
  }

  .header-bottom>.container {
    gap: 40px;
  }

  .navbar-list {
    gap: 15px;
  }

  /**
     * ABOUT
     */

  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }

  /**
     * client
     */

  .client {
    padding-block-end: 180px;
  }

  .scrollbar-item {
    min-width: calc(25% - 22.5px);
  }

  .has-scrollbar {
    padding-block-end: 20px;
    margin-block-end: 20px;
  }

  /**
     * CTA
     */

  .cta .container {
    align-items: center;
  }

  .cta-banner {
    margin-block-start: -120px;
  }
}