/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap");

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

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

         For more colors visit: https://htmlcolorcodes.com/
         -> Choose any color 
         -> Copy the color mode (HSL)
  */
  --hue: 255;
  --first-color: hsl(var(--hue), 60%, 64%);
  --first-color-alt: hsl(var(--hue), 80%, 56%);
  --first-color-alt-2: hsl(var(--hue), 60%, 56%);
  --first-color-light: hsl(var(--hue), 60%, 74%);
  --title-color: hsl(240, 8%, 95%);
  --text-color: hsl(240, 8%, 70%);
  --text-color-light: hsl(240, 8%, 50%);
  --body-color: hsl(240, 100%, 2%);
  --container-color: hsl(240, 8%, 6%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Unbounded", 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 screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3rem;
    --bigger-font-size: 2rem;
    --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,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

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

button {
  outline: none;
  border: none;
}

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

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: 1.5rem;
}

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

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

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 3rem;
}

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

.main {
  overflow: hidden;
}

/*=============== BLOB ===============*/
/* Blob animate */


/* Blob */


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


/* Hide the custom cursor */


/*=============== HEADER & NAV ===============*/
header.header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: rgba(6, 6, 12, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

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

.nav__toggle,
.nav__close {
  display: none;
  background: none;
  color: var(--title-color);
  cursor: pointer;
}

.nav__toggle i,
.nav__close i {
  font-size: 1.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-size: var(--small-font-size);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

/* Active link */

/*=============== HOME ===============*/
.home {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.home__container {
  align-items: center;
  justify-content: center;
}

.home__data {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}

.home__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.home__title {
  font-size: var(--biggest-font-size);
}

.home__role {
  font-size: var(--bigger-font-size);
  color: var(--first-color);
}

.home__description {
  max-width: 32rem;
  line-height: 1.7;
}

.home__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color:hsl(0, 0%, 100%);
  text-decoration: underline;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
  color: #fff;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
  background: linear-gradient(135deg, var(--first-color-alt), var(--first-color-alt-2));
}

.button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--title-color);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/*=============== ABOUT ===============*/
.about__container {
  align-items: center;
}

.about__data {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.about__description {
  line-height: 1.7;
}

/*=============== PROJECTS ===============*/
.projects__container {
  margin-top: 2rem;
  padding-bottom: 3rem;
}

.projects-swiper {
  overflow: hidden;
}

.projects__card {
  background-color: var(--container-color);
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.projects__img {
  border-radius: 0.75rem;
  object-fit: cover;
}

.projects__title {
  font-size: var(--h3-font-size);
}

.projects__description {
  font-size: var(--small-font-size);
  line-height: 1.7;
}

.projects__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

.projects__card {
  cursor: pointer;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--first-color);
}

.swiper-pagination-bullet {
  background-color: var(--text-color-light);
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
  opacity: 1;
}

/*=============== LIGHTBOX ===============*/
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: calc(var(--z-fixed) + 10);
}

.lightbox--active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  position: relative;
  max-width: min(900px, 90vw);
  max-height: 80vh;
  padding: 1.5rem;
  background-color: rgba(10, 10, 20, 0.96);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.lightbox__img {
  max-height: 60vh;
  width: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
}

.lightbox__caption {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--title-color);
  cursor: pointer;
}

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

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--title-color);
  cursor: pointer;
}

.lightbox__nav--prev {
  left: 0.5rem;
}

.lightbox__nav--next {
  right: 0.5rem;
}

.lightbox__nav i {
  font-size: 1.5rem;
}

body.body--blur main,
body.body--blur header,
body.body--blur footer {
  filter: blur(6px);
}

/* Swiper class */

/*=============== WORK ===============*/
.work__container {
  max-width: 900px;
}

.work__grid {
  margin-top: 1.5rem;
}

.work__item {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.work__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.work__description {
  font-size: var(--small-font-size);
  line-height: 1.7;
}


/* Show & hide sections */


/* Active tab */


/*=============== SERVICES ===============*/


/* Hide services info */


/* Rotate icon */


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


/* Infinite scroll animation */


/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 2.5rem;
  max-width: 960px;
}

.contact__description {
  line-height: 1.7;
  max-width: 30rem;
}

.contact__grid {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.contact__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

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

.contact__title {
  font-size: var(--h3-font-size);
}

.contact__text {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.contact__link {
  margin-top: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--first-color-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

/* Make a single last card stretch across the row on multi-column layouts */
@media screen and (min-width: 768px) {
  .contact__grid > .contact__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/*=============== FOOTER ===============*/

.footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__copy {
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/


/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 767px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    padding: 5rem 1.5rem 2.5rem;
    background-color: rgba(6, 6, 12, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .nav__menu.show-menu {
    transform: translateX(0);
  }

  .nav__close {
    display: inline-flex;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1.5rem;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .home__container {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

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

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

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

/* For medium devices */
@media screen and (min-width: 768px) and (max-width: 1150px) {
  .projects__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .projects__container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* For 2K resolutions (2048 x 1152, 2048 x 1536) */


/* Custom cursor is hidden for mobile devices */
