/*=============== GOOGLE FONTS - Insert link for typography ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Syne:wght@400..800&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
      Change favorite color:

      Default (Green): hsl(110, 75%, 60%)
      Blue: hsl(220, 80%, 60%) - Pink: hsl(300, 80%, 65%)
      Purple: hsl(255, 80%, 65%) - Cyan: hsl(180, 60%, 60%)
      Orange: hsl(15, 80%, 65%) - Red: hsl(358, 80%, 55%)

      For more colors visit: https://htmlcolorcodes.com/
      -> Choose any color 
      -> Copy the color mode (HSL)
  */
  --first-color: #C8AD7F;
  --gradient-color: linear-gradient(90deg, #C8AD7F 0%,
      #bed4ec 40%,
      #C8AD7F 100%);
  --white-color: #FEFED0;
  --black-color: #1A3D5E;
  --text-color: #FEFED0;
  --body-color: #1A3D5E;
  --container-color: #285480;
  --border-color: #3C6693;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Syne", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media (width >=1150px) {
  :root {
    --biggest-font-size: 5rem;
    --bigger-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: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button,
textarea,
label {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  border: none;
  outline: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--bigger-font-size);
  color: var(--white-color);
  margin-bottom: 2rem;
}

.section__title span {
  color: var(--first-color);
}

.main {
  overflow: hidden;
}

/*=============== BLOB ===============*/
.blob-small,
.blob-big {
  background-color: var(--first-color);
  border-radius: 50%;
  position: absolute;
  z-index: -1;
}

.blob-small {
  width: 100px;
  height: 100px;
  filter: blur(50px);

}

.blob-big {
  width: 150px;
  height: 150px;
  filter: blur(100px);

}

/*=============== CUSTOM CURSOR ===============*/


/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--white-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

.nav__toggle {
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices <> */
@media (width <=1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100%;
    background-color: rgba(26, 61, 94, 0.85);
    backdrop-filter: blur(24px);
    padding: 6rem 2rem 2rem 3rem;
    z-index: var(--z-fixed);
    transition: right 0.4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--first-color);
  border-radius: 50%;
  top: 0;
  left: -1rem;
  bottom: 0;
  margin-block: auto;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav__contact {
  display: inline-flex;
  background-color: var(--first-color);
  color: var(--black-color);
  padding: 1rem 2rem;
  border-radius: 4rem;
  font-weight: var(--font-semi-bold);
  transition: box-shadow 0.4s;
}

.nav__contact:hover {
  box-shadow: 0 8px 24px rgba(200, 173, 127, 0.3);

}

.nav__close {
  position: absolute;
  color: var(--white-color);
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change header styles */
.scroll-header::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsla(237, 13%, 36%, 0.4);
  backdrop-filter: blur(24px);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */

.active-link::after{
  opacity: 1;
}
/* Navigation for mobile devices <> */


/* Show menu */


/* Change header styles */


/* Active link */


/*=============== HOME SECTION ===============*/
.home {
  position: relative;
}

.home .blob-small:nth-child(1) {
  top: -2rem;
  left: -2rem;
}

.home .blob-small:nth-child(2) {
  top: 11rem;
  right: -4rem;

}

.home__container {
  padding-block: 2.5rem 3rem;
  row-gap: 7rem;
}

.home__data {
  text-align: center;
  color: var(--white-color);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 0.5 rem;
}

.home__title span {
  color: #C8AD7F;
}

.home__images {
  position: relative;
  justify-self: center;
  margin-right: 0.5rem;
}


.home__box-1,
.home__box-2,
.home__box-3 {
  width: 210px;
  height: 250px;
  border-radius: 1.5rem;
}

.home__box-1 {
  background-color: #C8AD7F;
  left: 0;
  top: 0;
}

.home__box-2 {
  background-color: hsl(39, 25%, 32%);
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  rotate: 5deg;
}

.home__box-3 {
  background-color: #FEFED0;
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  rotate: 10deg;
}

.home__img {
  position: absolute;
  width: 190px;
  bottom: 2.5rem;
  right: -1.25rem;
  mask-image: linear-gradient(to bottom,
      #FEFED0 70%,
      transparent 100%);
}

.home__circle {
  position: absolute;
  right: -2rem;
  bottom: -3.5rem;
  width: 100px;
  height: 100px;
  border: 20px solid hsla(36, 58%, 19%, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;

}

.home__circle::after {
  content: '';
  width: 100px;
  height: 100px;
  position: absolute;
  mask-image: radial-gradient(circle, transparent 30px, #000 0);
  backdrop-filter: blur(10px);
  background-color: #7b94af;
  border-radius: 50%;
}

.home__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background-color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 10;
}


.home__text {
  z-index: 10;
  font: var(--font-semi-bold) var(--smaller-font-size) var(--second-font);
  position: absolute;
  width: 100px;
  height: 100px;
  animation: rotate-text 8s linear infinite;

}

.home__text span {
  position: absolute;
  transform-origin: 0 46px;
  left: 50px;
  top: 5px;
}

.home__images .blob-big {
  position: absolute;
  top: -1.5rem;
  left: 10;
  right: 0;
  justify-self: center;
}


/* Circular text animation */
@keyframes rotate-text {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*=============== BUTTON ===============*/
.button {
  background: var(--gradient-color);
  color: var(--black-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  border-radius: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}


.button i {
  font-weight: initial;
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.button:hover i {
  transform: translateX(0.5rem);
}

/*=============== ABOUT SECTION ===============*/
.about__container {
  color: white;
  text-align: center;
}

.about__title {
  font-size: var(--h1-font-size);

}

.about__title span {
  color: #C8AD7F;
}

.about__description {
  margin-bottom: 1rem;
}

.about__button {
  width: 100%;
}

/*=============== WORK SECTION ===============*/
.work__card {
  position: relative;
  background-color: #7b94af;
  padding: 1rem 1rem 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.work__link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  z-index: 5;

}

.work__data {
  z-index: 5;
}

.work__img {
  border-radius: 1.5rem;
  transition: transform 0.4s;
}

.work__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.work__arrow {

  width: 48px;
  height: 48px;
  background: var(--gradient-color);
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;

}

.work__number {
  display: block;
  font: var(--font-semi-bold) var(--biggest-font-size) var(--second-font);
  margin-bottom: 1rem;
}

.work__name {
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.work__card:hover .work__img {
  transform: scale(1.1)
}

.work__card:hover .work__arrow {
  opacity: 1;

}

.work__card .blob-big {
  top: 2rem;
  right: -2rem;
  z-index: 1;
}



.work__number,
.work__name,
.work__description {
  color: #000;
}

/* Swiper class */

.work__swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 4rem;
}

.work .swiper-pagination-bullets {
  bottom: 0;

}

.work .swiper-pagination-bullet {
  background-color: var(--first-color);
  transition: opacity 0.4s;
}

/*=============== SERVICES SECTION ===============*/
.services__container {
  row-gap: 2rem;
}

.services__card {
  border-bottom: 5px solid var(--container-color);
  padding-bottom: 1.5rem;
  overflow: hidden;
}

.services__button {
  width: 100%;
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  cursor: pointer;
}

.services__icon {
  color: var(--first-color);
  font-size: 2rem;
}

.services__name {
  font-size: var(--h2-font-size);
  text-align: initial;
}

.services__arrow {
  width: 32px;
  height: 32px;
  background-color: var(--container-color);
  color: #FEFED0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: auto;

}

.services__arrow i {
  transition: rotate 0.4s;

}

.services__description {
  margin-block: 1rem 2rem;
}


.services__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.services__items {
  border: 2px solid var(--first-color);
  border-radius: 4rem;
  padding: 0.375rem 0.5rem;
  color: var(--white-color);
  font: var(--font-semi-bold) var(--h3-font-size) var(--second-font);
}

.services__data {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height0.4s, opacity 0.4s;
}

/* Hide services info */
.services-open .services__data {
  max-height: 500px;
  opacity: 1;
}

/* Rotate icon */
.services-open .services__arrow i {
  rotate: -180deg;
}

/*=============== SKILLS SECTION ===============*/


.skills__description {
  margin: 0 1rem 3rem;
  text-align: center;
}

.skills__card {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem 1rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  overflow: hidden;

}

.skills__profession {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  justify-content: center;
  z-index: 5;
}

.skills__icon {
  font-size: 2rem;

}

.skills__title {
  font-size: var(--h2-font-size);

}

.skills__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  z-index: 5;

}

.skills__item {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: default;
  transition: filter 0.4s;
}

.skills__item i {
  font-size: 1.25rem;
}

.skills__item:hover .skills__name {
  color: #285480;
  text-shadow: #000 0 0 12px;

}

/*=============== TESTIMONIALS SECTION ===============*/


/* Infinite scroll animation */


/*=============== CONTACT SECTION ===============*/
.contact__container {
  row-gap: 4rem;
}

.contact__form {
  position: relative;
  row-gap: 1rem;
}

.contact__group {
  position: relative;

}

.contact__input {
  width: 100%;
  background: #C8AD7F;
  padding: 1.25rem;
  border-radius: 4rem;
  color: var(--white-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

.contact__label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  pointer-events: none;
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  transition: opacity 0.4s;
}

.contact__input:focus~ .contact__label,
.contact__input:valid~ .contact__label{
  opacity: 0;
 }
 
.contact__input:-webkit-autofill{
  transition: background-color 6000s, color 6000s;
}

.contact__area{
  height: 10rem;
  border-radius: 1.5rem;
  resize:none;
}

.contact__button{
  margin-top: 1rem;
  cursor: pointer;
}


.contact__message{
  position: absolute;
  bottom: -2rem;
  color:var(--white-color);
  font-size: var(--small-font-size);
}

.contact__content{
  row-gap:1rem;
}

.contact__link{
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact__info{
  display: flex;
  column-gap: 0.5rem;
  align-items: center;

}

.contact__icon{
  color: #FEFED0;
  font-size: 1.5rem;
}

.contact__title{
  font-size: var(--normal-font-size);
  margin-bottom: 0.25rem;
}

.contact__address{
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  font-style: initial;
}

.contact__arrow{
  width: 32px;height: 32px;
  background-color: var(--border-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white-color);
  transition: background-color 0.4s, color 0.4s;


}


.contact__link:hover .contact__arrow{
  background-color: var(--first-color);
color: var(--black-color);

}
/*=============== FOOTER ===============*/
.footer{
  position: relative;
  padding-block: 5rem 2rem;
  overflow: hidden;
}

.footer__container{
  row-gap: 2rem;
  
}

.footer__title{
  font-size: var(--h2-font-size);
  text-align: center;
}

.footer__content,
.footer__links{
  display: flex;
}

.footer__content{
  flex-direction: column;
  row-gap: 2rem;
}


.footer__links{
  justify-content: center;
  column-gap: 2rem;
}


.footer__link{
  color: #bed4ec;
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  transition: color 0.4s;
}

.footer__Link{
  color: var(--first-color);
}

.footer .blob-big{
  width: 280px;
  height: 280px;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  margin-inline: auto;
}
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--hue), 6%, 12%);
}

::-webkit-scrollbar-thumb{
  border-radius: 0.5rem;
  background-color: hsl(30, 10%, 51%);
}

::-webkit-scrollbar-thumb:hover{
  border-radius: 0.5rem;
  background-color: hsl(var(--hue), 6%, 24%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: 3rem;
  color:#1A3D5E;
  background-color: antiquewhite; 
  border-radius: 100%;
  backdrop-filter: blur(8px);
  display: inline-flex;
  padding: 6px;
  font-size: large;
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}


.scrollup:hover{
  transform: translateY(-0.5rem);
}

/* Show Scroll Up */


/*=============== BREAKPOINTS ===============*/
/* For medium devices <> */
@media (width >=540px) {
  .nav__menu {
    width: 50%;
  }

  .home__container,
  .about__container,
  .services__container,
  .skills__container,
  .contact__container,
  .footer__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .work__card {
    width: 350px;
  }

  .skills__description {
    width: 500px;
    margin-inline: auto;
  }
}

/* For large devices <> */
@media (width >=1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }

  .section__title {
    margin-bottom: 3rem;
  }

  .blob-small {
    width: 150px;
    height: 150px;
    filter: blur(100px);
  }

  .blob-big {
    width: 250px;
    height: 250px;
    filter: blur(150px);
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    align-items: center;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 4rem;
  }

  .home__container {

    grid-template-columns: 800px;
  }

  .home__subtitle {
    font-size: var(--h2-font-size);
    margin-bottom: 2rem;
  }

  .home__name {
    margin-bottom: 1rem;
  }

  .home__box-1,
  .home__box-2,
  .home__box-3 {
    width: 250px;
    height: 300px;
  }

  .home__img {
    width: 230px;
  }

  .home__cirlce {
    right: -3rem;
    bottom: -1.5rem;
  }

  .home__image .blob-big {
    top: -8rem;
  }

  .home .blob-small:nth-child(1) {
    top: -3rem;
    left: -3rem;
  }

  .home .blob-small:nth-child(2) {
    top: 21rem;

  }

  .about__container {
    grid-template-columns: 580px 380px;
    justify-content: space-between;
    align-items: center;
    text-align: initial;

  }

  .about__description {
    font-size: var(--h3-font-size);
    margin-bottom: 2rem;
  }

  .about__button {
    width: initial;
  }

  .work__container {
    max-width: 1280px;

  }

  .work__card {
    width: 440px;
    border-radius: 3rem;
    padding: 1.5rem 1.5rem 4rem;
  }

  .work__img {
    border-radius: 2rem;
  }

  .work__number {
    font-size: var(--bigger-font-size);

  }

  .work__blob-big {
    right: -6rem;
  }

  .services__container {
    grid-template-columns: 690px;
    row-gap: 3rem;

  }

  .services__card {
    padding-bottom: 2rem;
  }

  .services__button {
    column-gap: 3rem;
  }

  .services__icon {
    font-size: 2.5rem;
  }

  .services__name {
    font-size: var(--h1-font-size);
  }

  .services__desccription,
  .services__list {
    padding-left: 5.5rem;
  }

  .skills__description {
    width: 700px;

  }

  .skills__container {
    grid-template-columns: 700px;
  }

  .skills__card {
    padding: 3.5rem 2rem;
    flex-direction: row;
    column-gap: 6rem;

  }

  .skills__icon {
    font-size: 3rem;
  }

  .skills__item i {
    font-size: 20px;
  }

  .skills__title {
    font-size: var(--h1-font-size);
  }

  .skills__name {
    font-size: (var(--normal-font-size));
    text-align: center;
  }

  .contact__container{
    grid-template-columns: 450px 380px;
    align-items: center;
    column-gap: 10rem;
    padding-bottom: 3rem;

  }

  .contact__input{
    padding-block: 1.5rem;
  }

  .contact__label{
    top: 1.5rem;
  }

  .contact__area{
    height: 14rem;
  }

  .contact__content{
    row-gap: 2rem;
  }

  .footer{
    padding-block: 0;
  }

  .footer__container{
    grid-template-columns: 600px max-content;
    justify-content: space-between;
    align-items: center;
    min-height: 16rem;
  }

  .footer__title{
    text-align: initial;
    margin: 0;
  }
}


/* For 2K resolutions <> */


/* Custom cursor is hidden for mobile devices */