/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2025 CSP Interior
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --oxford-blue_60: hsla(224, 34%, 13%, 0.6);
  --blue-pigment: hsl(200, 100%, 26%);
  --oxford-blue: hsl(224, 34%, 13%);
  --maximum-red: hsl(0, 72%, 51%);
  --eerie-black: hsl(0, 0%, 9%);
  --mint-cream: hsl(146, 41%, 97%);
  --cadet-gray: hsl(215, 20%, 65%);
  --light-gray: hsl(216, 12%, 84%);
  --carcoal_20: hsla(214, 19%, 29%, 0.2);
  --carcoal_15: hsla(214, 19%, 29%, 0.15);
  --carcoal_10: hsla(214, 19%, 29%, 0.10);
  --sea-blue: hsl(224, 100%, 60%);
  --gainsboro: hsl(220, 13%, 91%);
  --white_70: hsla(0, 0%, 100%, 0.7);
  --gunmetal: hsl(215, 28%, 17%);
  --manatee: hsl(218, 11%, 65%);
  --mango: hsl(43, 96%, 56%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-spartan: 'League Spartan', sans-serif;

  --fs-1: clamp(2.4rem, 2.5vw, 3.2rem);
  --fs-2: 2.4rem;
  --fs-3: clamp(1.5rem, 2.5vw, 2rem);
  --fs-4: 1.8rem;
  --fs-5: 1.7rem;

  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 5px;

  /**
   * shadow
   */

  --shadow-1: 0 1px 2px hsla(0, 0%, 0%, 0.2);
  --shadow-2: 0 10px 15px -5px var(--carcoal_20);
  --shadow-3: 0 10px 25px -3px var(--carcoal_20);
  --shadow-4: 0 0 3px var(--carcoal_15);
  --shadow-5: 0 20px 25px -5px var(--carcoal_10),
    0 10px 10px -5px var(--carcoal_10);

  /**
   * border radius
   */

  --radius-16: 16px;
  --radius-12: 12px;
  --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,
label,
input,
select,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
select,
button {
  background: none;
  border: none;
  font: inherit;
}

input,
select {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-spartan);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  font-size: var(--fs-5);
  color: var(--cadet-gray);
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.btn {
  background-color: var(--blue-pigment);
  color: var(--white);
  font-weight: var(--fw-500);
  max-width: max-content;
  padding: var(--padding, 12px 28px);
}

.btn:is(:hover, :focus) {
  background-color: var(--sea-blue);
}

.btn-secondary {
  border-radius: 50px;
}

.btn-primary {
  border-radius: var(--radius-6);
}

h1 {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--blue-pigment);
  margin-top: 1rem;
}

h3 {
  color: var(--oxford-blue);
  line-height: 2;
}

h2 {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  color: var(--blue-pigment);
  line-height: 3rem;
}

h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  margin-top: 1.5rem;
}

.section {
  padding-block: var(--section-padding);
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--gainsboro);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title {
  color: var(--oxford-blue);
}

.section-text {
  line-height: 1.6;
}

.section__title {
  text-align: center;
}

.section__desc {
  font-size: var(--fs-3);
  color: var(--oxford-blue);
  line-height: 2rem;
  margin-top: 1rem;
  text-align: justify;
  padding-left: 0;
  padding-right: 0;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  line-height: 2.5rem;
}

@media (min-width: 768px) {
  .section__desc {
    text-align: center;
    padding-left: 3rem;
    padding-right: 3rem;
    line-height: 3rem;
  }
}

section[id] {
  scroll-margin-top: 100px;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
}

.header.active {
  box-shadow: var(--shadow-1);
}

.header>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 30%;
}

@media screen and (min-width: 767px) {
  .logo img {
    width: 20%;
  }
}

.nav-toggle-btn {
  font-size: 35px;
  color: var(--oxford-blue);
}

.nav-toggle-btn ion-icon {
  --ionicon-stroke-width: 30px;
}

.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;
}

.header .btn {
  margin-inline-start: auto;
}

.navbar {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  max-height: 260px;
  visibility: visible;
  box-shadow: var(--shadow-1);
  transition-duration: 0.5s;
}

.navbar-list {
  margin-block: 10px;
  opacity: 0;
  transition: var(--transition);
}

.navbar.active .navbar-list {
  opacity: 1;
}

.navbar-link {
  color: var(--oxford-blue);
  font-weight: var(--fw-500);
  letter-spacing: 1px;
  padding: 12px 25px;
  font-size: var(--fs-3);
}

.navbar-link:is(:hover, :focus) {
  color: var(--sea-blue);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.article {
  position: relative;
}

.hero {
  padding-block-start: 80px;
}

.slider {
  width: clamp(300px, 90vw, 1300px);
  max-width: 90vw;
  height: clamp(300px, 50vw, 650px);
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 4vw, 5rem);
  margin-top: 2rem;
}

.slider .list {
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}

.slider .list img {
  width: clamp(300px, 90vw, 1300px);
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}

.slider .buttons {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.slider .buttons button {
  width: clamp(30px, 5vw, 50px);
  height: clamp(30px, 5vw, 50px);
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}

.slider .dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.slider .dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}

.slider .dots li.active {
  width: 30px;
}

@media screen and (max-width: 320px) {
  .slider {
    width: 300px;
    height: 300px;
    border-radius: 2rem;
  }

  .slider .buttons {
    top: 80%;
  }

  .slider .buttons button {
    width: 30px;
    height: 30px;
  }
}

@media screen and (min-width: 559px) and (max-width: 766px) {
  .slider .buttons {
    top: 100%;
  }
}



/*-----------------------------------*\
  #Animate Section
\*-----------------------------------*/

.alasan-wrap {
  padding-block: clamp(1rem, 5vw, 3rem);
  width: 100%;
}

.alasan-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1rem;
  width: 90%;
  margin: auto;
}

/* LEFT */
.left .sub-title {
  text-transform: uppercase;
  color: var(--oxford-blue);
  font-weight: 500;
  margin-bottom: .5rem;
}

.left .title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.left .desc {
  margin-bottom: 2rem;
  line-height: 1.3;
  color: var(--oxford-blue);
  font-family: var(--ff-spartan);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-box h2 {
  color: var(--oxford-blue);
  font-size: 2.5rem;
  font-weight: 600;
}

.stat-box h3 {
  margin-top: .3rem;
  font-weight: 500;
}

/* RIGHT BOX */
.right {
  background: var(--blue-pigment);
  border-radius: 2rem;
  padding: 3rem 1rem;
  color: var(--sea-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.big-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.big-number {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #fff;
}

.big-text {
  font-size: 1.8rem;
  color: #fff;
}

@media (min-width: 559px) and (max-width: 766px) {
  .alasan-grid {
    grid-template-columns: 1fr;
  }

  .right {
    margin-top: 2rem;
  }
}

/* HP */
@media (max-width: 558px) {
  .alasan-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .right {
    margin-top: 2rem;
  }
}

@media (min-width: 767px) {
  .alasan-grid {
    max-width: 1200px;
    grid-template-columns: 7fr 5fr;
    margin: 0 auto;
  }

  .left .title {
    font-size: 2.6rem;
  }

  .stat-box h2 {
    font-size: 2.8rem;
  }

  .right {
    padding: 3rem 2rem;
    /* biar kotak kanan lebih besar */
  }

  .big-number {
    font-size: 4rem;
  }

  .big-text {
    font-size: 1.9rem;
  }
}



/*-----------------------------------*\
  #CTA 1
\*-----------------------------------*/
.cta-1 {
  background-color: rgb(215, 218, 250);
}

.cta-wa {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 0.7em 3.3em 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  box-shadow: 6px 6px 12px #c5c5c5,
    -6px -6px 12px #ffffff;
  margin-bottom: 1.5rem;
}

.cta-wa>svg {
  height: 30px;
  position: absolute;
  padding: 0px 5px;
  margin-top: -4px;
}

.cta-wa:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5,
    inset -4px -4px 12px #ffffff;
}

.cta-wa:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.cta-wa:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: #009087;
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.cta-wa:hover {
  color: #ffffff;
  border: 1px solid #009087;
}

.cta-wa:hover:before {
  top: -35%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.cta-wa:hover:after {
  top: -45%;
  background-color: #009087;
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/*-----------------------------------*\
  #Profil
\*-----------------------------------*/
.profil {
  padding: 4rem 0;
}

.profil .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: nowrap;
}

.profil__content {
  text-align: left;
}

.profil__desc {
  text-align: justify;
  font-size: var(--fs3);
  color: var(--oxford-blue);
  line-height: 2.5rem;
  margin-top: 2rem;
}

/* kolom kiri (gambar) */
.profil__image img {
  width: 100%;
  max-width: 450px;
  border-radius: 1.5rem;
}

/* kolom kanan */
.profil__content {
  flex: 1;
}

/* mobile */
@media (max-width: 767px) {
  .profil .container {
    flex-direction: column;
    text-align: center;
  }

  .profil__image img {
    max-width: 100%;
  }
}

/*-----------------------------------*\
  #Fleet
\*-----------------------------------*/
.logos-wrapper {
  display: flex;
}

.logos {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}

.logos::before,
.logos::after {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(55px, 10vw, 200px);
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(241, 241, 241));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(241, 241, 241));
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 25s slide infinite linear;
}

.logos-slide img {
  display: inline-block;
  height: 50px;
  margin: 0 40px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/*-----------------------------------*\
  #CTA 2
\*-----------------------------------*/
.cta-2 {
  background-color: #ffc8c8;
}

/*-----------------------------------*\
  #Portofolio
\*-----------------------------------*/
.portofolio {
  margin-top: 2rem;
}

.portofolio-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.portofolio-card {
  position: relative;
  width: 300px;
  background: linear-gradient(rgb(255, 255, 255) 0%,
      rgb(234, 234, 234) 100%);
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05) 0px 4px 2px 0px,
    rgba(0, 0, 0, 0.09) 0px 2px 2px 0px,
    rgba(0, 0, 0, 0.1) 0px 1px 1px 0px;
  ;
  border-radius: 2rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  margin-inline: 5px;
  margin-block: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

.portofolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05) 0px 4px 2px 0px,
    rgba(0, 0, 0, 0.09) 0px 2px 2px 0px,
    rgba(0, 0, 0, 0.1) 0px 1px 1px 0px;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(to right, rgba(169, 3, 41, 1) 0%, rgba(196, 72, 72, 1) 44%, rgba(170, 34, 56, 1) 100%);
  color: #fff;
  padding: 8px 20px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  z-index: 1;
}

.tilt {
  overflow: hidden
}

.portofolio-img {
  height: 300px;
  overflow: hidden;
}

.portofolio-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
}

.portofolio-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #181818;
  margin: 0 0 15px;
  letter-spacing: -.5px;
  text-align: justify;
  line-height: 2.1rem;
}

.portofolio-description {
  font-size: 1.5rem;
  font-weight: 500;
  color: #313131;
  line-height: 1.4;
  margin-bottom: 12px;
  text-align: justify;
}

.portofolio-button {
  text-align: center;
}

.portofolio-button button {
  width: 100%;
  display: inline-block;
  color: #fff;
  background-color: #005985;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
}

.portofolio-button button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/*-----------------------------------*\
  #Proses Order
\*-----------------------------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.col-md-6 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
}

.my-2 {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.d-flex {
  display: flex;
  gap: 2rem;
}

.align-items-center {
  align-items: center;
}

.icon-how {
  max-width: 50px;
  flex: 0 0 50px;
}

.w-100 {
  width: 100%;
}

.pl-4 {
  padding-left: 8rem;
}

.vdf-26 {
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vdf-26 span {
  font-weight: 700;
}

.mb-0 {
  margin-bottom: 0;
}

.text-dark {
  color: #000;
}

.text-justify {
  text-align: left;
}

.vdf-16 {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 2rem;
}

/*-----------------------------------*\
  #Bento Grid
\*-----------------------------------*/
.wrapper {
  width: min(calc(100% - 4rem), 920px);
  margin: 2rem auto;

  display: grid;
  gap: 1rem;
  grid-auto-rows: 200px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "box-1"
    "box-2"
    "box-3"
    "box-4"
    "box-5"
    "box-6"
  ;

}

@media (min-width: 460px) {
  .wrapper {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "box-1        box-1"
      "box-2          box-2"
      "box-2          box-2"

      "box-3           box-3"
      "box-3           box-3"

      "box-4          box-4"
      "box-4          box-4"
      "box-5       box-6"
    ;

  }
}

@media (min-width: 600px) {
  .wrapper {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 400px 200px 200px;
    grid-template-areas:
      "box-1        box-1       box-1     box-1"
      "box-2          box-2         box-3        box-3"
      "box-4          box-4         box-5    box-5"
      "box-4          box-4         box-6     box-6"
    ;

  }
}

.wrapper>* {
  grid-area: var(--grid-area);
  position: relative;
  color: black;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.wrapper>.pengganti::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0 0 0 / .25), transparent 25%);
}

.wrapper>*:hover>img {
  scale: 1.2;
}

.wrapper>*>p {
  position: absolute;
  /*max-width: 12ch;*/
  text-wrap: balance;
  top: .75rem;
  left: .75rem;
  font-size: .9rem;
  z-index: 2;

}

.wrapper>*>p.align-right {
  left: auto;
  right: .75rem;
  text-align: right;
}

.wrapper img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  transition: scale 1000ms ease-in-out;
}

.box-5 {
  position: relative;
  overflow: hidden;
}

.box-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/images/box-5.jpg);
  background-size: cover;
  background-position: center;
  transition: transform 1000ms ease-in-out;
  transform-origin: center;
}

.box-5:hover::before {
  transform: scale(1.2);
}

.bento-social {
  position: relative;
  text-align: center;
  color: #fff;
  font-size: var(--fs-2);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.bento-social .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bento-social .social-icon li a {
  display: inline-flex;
  font-size: 3.5rem;
  color: #b0d5e8;
  cursor: pointer;
  transition: transform 0.25s ease;
  margin: 0 8px;
}

.bento-social .social-icon li a:hover {
  transform: translateY(-3px);
}

.bento-description {
  font-size: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  color: #b0d5e8;
  font-weight: 500;
}




.box-6 {
  position: relative;
  overflow: hidden;
}

.box-6::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/images/box-6.jpg);
  background-size: cover;
  background-position: center;
  transition: transform 1000ms ease-in-out;
  transform-origin: center;
}

.box-6:hover::before {
  transform: scale(1.2);
}


.bento-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 2rem;
  transition: transform 1000ms ease-in-out;
}

.bento-buttons button {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #000;
  border: none;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.bento-buttons button:hover {
  transform: translateY(-3px);
  opacity: 0.7;
}

.bento-buttons button ion-icon {
  color: #000;
  font-size: 5rem;
}

.button-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.prev-text,
.next-text {
  color: #fff;
  font-weight: 500;
  position: relative;
}

.prev-text {
  text-align: right;
}

/*-----------------------------------*\
  #About
\*-----------------------------------*/
.about-wrapper {
  display: grid;
  margin-block: 2rem;
  gap: 2rem;
}

.about-card {
  width: 100%;
  background: linear-gradient(rgb(255, 255, 255) 0%,
            rgb(234, 234, 234) 100%);;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.05) 0px 4px 2px 0px,
        rgba(0, 0, 0, 0.09) 0px 2px 2px 0px,
        rgba(0, 0, 0, 0.1) 0px 1px 1px 0px;;
  border-radius: 2rem;
  padding: .8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in-out;
}

.about-card:hover {
  box-shadow: inset 5px 5px 20px rgba(0, 0, 0, 0.3);
}

.about-card span {
  display: inline-block;
  padding: 15px 15px;
  font-size: 3rem;
  color: var(--blue-pigment);
  background-color: #b0d5e8;
  opacity: .8;
  border-radius: 100%;
  margin-top: 1rem;
}

.about-card h3 {
  max-width: 150px;
  margin-inline: auto;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-pigment);
}

@media (min-width: 768px) {
  .about-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-----------------------------------*\
  #Footer
\*-----------------------------------*/

footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

footer .social-icon,
footer .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

footer .social-icon li,
footer .menu li {
  list-style: none;
}

footer .social-icon li a {
  font-size: clamp(1.5em, 5vw, 2em);
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

footer .social-icon li a:hover {
  transform: translateY(-8px);
}

footer .menu li a {
  font-size: clamp(0.9em, 5vw, 1.55em);
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  line-height: 2rem;
}

footer .menu li a:hover {
  opacity: 1;
  color: #b9ebff;
}

footer p {
  color: #fff;
  text-align: center;
  margin-block: 15px;
  line-height: 2.5rem;
}

footer p a {
  display: inline;
}

footer p a:hover {
  color: #b9ebff;
}

footer .wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #fff url(/assets/images/wave.png);
  background-size: 400px 20px;
  opacity: .8;
}

footer .wave#wave1 {
  animation: animatewave 6s infinite linear;
}

@keyframes animatewave {
  0% {
    background-position-x: 400px;
  }

  100% {
    background-position-x: 0;
  }
}

footer .wave#wave2 {
  animation: animatewave 3s infinite linear;
}



/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--blue-pigment);
  color: var(--white);
  font-size: 14px;
  padding: 12px;
  border-radius: 50px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 4;
}

.back-top-btn.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-10px);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 640px screen
 */

@media (min-width: 640px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero .container {
    max-width: unset;
  }

  .hero-form-wrapper {
    max-width: 600px;
    margin-inline: auto;
    background-color: unset;
  }

  .hero .form-tab,
  .hero-form {
    background-color: var(--white);
  }

  .hero .form-tab {
    max-width: max-content;
    border-top-left-radius: var(--radius-16);
    border-top-right-radius: var(--radius-16);
  }

  .hero-form {
    border-top-right-radius: var(--radius-16);
  }



  /** 
   * NEWSLETTER
   */

  .newsletter {
    width: calc(100% - 130px);
  }



  /**
   * FOOTER
   */

  .footer {
    padding-block-start: 130px;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 3rem;

  }



  /**
   * REUSED STYLE
   */

  .container,
  .hero-form-wrapper {
    max-width: 700px;
  }

  .section-text {
    max-width: 55ch;
    margin-inline: auto;
  }
}


/**
   * HERO
   */

.hero-content {
  text-align: left;
  padding-inline: calc(50% - 350px);
}

.hero-title {
  margin-inline: 0;
}

.hero-text {
  max-width: 50ch;
}

.hero-form {
  grid-template-columns: 1fr 1fr;
}



/**
   * ABOUT
   */

.about .container {
  grid-template-columns: 0.7fr 1fr;
  align-items: center;
  gap: 30px;
}

.about-banner {
  margin-block-end: 0;
}

















/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.8rem;

    /**
     * spacing
     */

    --section-padding: 40px;

  }



  /**
   * REUSED STYLE
   */

  .container,
  .hero-form-wrapper {
    max-width: 900px;
  }



  /**
   * HEADER
   */

  .header>.container {
    gap: 30px;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    margin-block: 0;
    opacity: 1;
    display: flex;
  }

  .navbar-link {
    padding-inline: 20px;
  }

  .header .btn {
    margin-inline-start: 0;
  }



  /**
   * HERO
   */

  .hero-content {
    padding-inline: calc(50% - 450px);
  }

  .hero-form {
    grid-template-columns: repeat(4, 1fr);
  }
}