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

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poppins:wght@200;300;400;500;600&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* --first-hue: 207; */
  --first-hue: 200;
  --sat: 90%;
  --lig: 62%;
  /* --second-hue: 219; */
  --second-hue: 219;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 56%); /* -4% w originalnym purple bylo 71, do blue bylo 67*/
  --first-color-light: hsl(var(--first-hue), var(--sat), 80%); /* jasniejsza wersja */
  --first-color-dark: hsl(var(--first-hue), var(--sat), 40%); /* ciemniejsza wersja */
  --title-color: hsl(var(--second-hue), 15%, 25%);
  /* --text-color: hsl(var(--second-hue), 8%, 35%); */
  --text-color: #1e1e1e;
  --text-color-light: hsl(var(--second-hue), 4%, 55%);
  --body-color: hsl(var(--second-hue), 100%, 99%);
  --container-color: #fff;
  --background-color: #f8f8f8;
  --semitransparent: #f8f8f8;
  --cat-color: #ebbea1;
  --rec-color: #00e8d0;
  --eng-color: #e5243f;
  --glo-color: #f7aa2b;
  --gradient-fioletowy: #AA96F9; 
  /* --container-color: #bfbdbd;
  --background-color: #bfbdbd;
  --semitransparent: #bfbdbd; */

  --shadow-small-org: 0 5px 15px rgba(0, 0, 0, .05); /*box-shadow oryginalny*/
  --shadow-small: 0 5px 15px rgba(0, 0, 0, .15); /*box-shadow*/
  /*box-shadow*/
  /* --shadow-color: 5px 5px 5px 15px var(--first-color-light);  */

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif; 
  --icon-big-size: 2rem;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --tiny-font-size: .625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

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

/* // <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 400 to 700 */

.dancing-script-1 {
  font-family: "Dancing Script", cursive;
  font-weight: 400;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 20px;
  height: 64px;
  width: 64px;
  background-color: var(--first-color-light);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
  justify-content: center;
  align-items: center;
  place-content:center;
}

.cursor-default {
  cursor: default;
}

.unselectable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard syntax */
}

#scrollToTopBtn img {
  width: 30px; /* Adjust as needed */
}

#scrollToTopBtn.show {
  display: block;
}

.color-options {
  /* border: 2px solid white; */
  /* position: absolute; */
  /* left: 320px; */
  /* top: 55%; */
  margin-top: 2rem;
  display: flex;
  /* flex-direction: column; */
}

.color-options label {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 12px;
  cursor: pointer;
}

.color-options input[type="radio"] {
  display: none;
}

.color-options label::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: hsl(var(--color-hue), 70%, 50%);
  box-shadow: 0 0 0 2px transparent;
}

.color-options input[type="radio"]:checked + label::before {
  box-shadow: 0 0 0 2px white;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: var(--header-height) 0 0 0;
  /* background-color: var(--body-color); */
  background-color: var(--background-color);
  color: var(--text-color);
  transition: .4s; /* for light mode animation */
}
h1, h2, h3, h4 {
  color: var(--title-color);
  /* font-weight: var(--font-semibold); */
}


ul {
  list-style: none;
}

.my-role li{
  line-height: 2.5rem;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

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


/*=============== REUSABLE CSS CLASSES ===============*/
.main {
  overflow: hidden;
}

.section {
  padding: 5rem 0 2rem;
}
.section-top {
  padding: 2rem 0 2rem;
}
.section-top3 {
  padding: 4rem 0 2rem;
}

.section__title {
  /* font-size: var(--h1-font-size); */
  font-size: var(--biggest-font-size);
  font-weight: 800;
  color: var(--first-color-light);
  text-align: left;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.section__subtitle {
  font-size: var(--h1-font-size);
  color: var(--first-color-light);
  /* color: var(--title-color); */
  font-weight: 800;
  text-align: left;
  margin: 6.5rem 0 1.5rem 0;
}

.section__subtitle-article {
  font-size: var(--h1-font-size);
  color: var(--text-color);
  font-weight: 800;
  text-align: left;
  margin: .5rem 0 1.5rem 0;
}

.cat-color{
  /* color:rgba(235, 190, 161, 1); */
  color: var(--cat-color);
}
.glo-color{
  color: var(--glo-color);
}
.eng-color{
  color: var(--eng-color);
}
.rec-color{
  color: var(--rec-color);
}

.linear-gradient {
  background: linear-gradient(to top,#AA96F9, var( --first-color), var( --background-color)60%) !important;
  }
.linear-gradient-cat {
  background: linear-gradient(to top, var( --cat-color), var( --background-color)60%) !important;
  }  
.linear-gradient-glo {
  background: linear-gradient(to top, var( --glo-color), var( --background-color)60%) !important;
  }
.linear-gradient-eng {
  background: linear-gradient(to top, var( --eng-color), var( --background-color)60%) !important;
  }  
.linear-gradient-rec {
  background: linear-gradient(to top, var( --rec-color), var( --background-color)60%) !important;
  }


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

.section__height {
  min-height: 100vh;
}
.section__height-90{
  min-height: 50vh;
}
.section__height-30{
  min-height: 30vh;
}
.section__height-65{
  min-height: 65vh;
}
.title-color{
  font-size: var(--normal-font-size);
  line-height: 1.1rem;
  color: var(--title-color);
}

.text-link{
  /* text-decoration: underline; */
  color: var(--first-color) !important;
}
.text-link:hover{
  color: var(--first-color)!important;
  text-decoration: underline var(--first-color);
}
.text-link:active, .text-link:visited{
  color: var(--text-color);
}

.text-link-cat{
  /* text-decoration: underline; */
  color: var(--cat-color) !important;
}
.text-link-cat:hover{
  text-decoration: underline var(--cat-color);
  color: var(--cat-color) !important;
}

.text-link-glo{
  color: var(--glo-color) !important;
}
.text-link-glo:hover{
  text-decoration: underline var(--glo-color);
  color: var(--glo-color) !important;
}

.text-link-eng{
  color: var(--eng-color) !important;
}
.text-link-eng:hover{
  text-decoration: underline var(--eng-color);
  color: var(--eng-color) !important;
}

.text-link-rec{
  color: var(--rec-color) !important;
}
.text-link-rec:hover{
  text-decoration: underline var(--rec-color);
  color: var(--rec-color) !important;
}

.text-bold{
  font-weight: 600;
}
.mt-1{
  margin-top: 1rem;
}
.mt-20{
  margin-top: 2rem;
}
.mb-30{
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}
.justify-left{
  margin-left: 16px;
  justify-content: left !important;
}
.justify-right{
  margin-right: 16px;
  justify-content: right !important;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

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

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
  /* padding-right: 5px; */
}

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

.nav__img {
  width: 32px;
  border-radius: 50%;
}

.nav__logo {
  color: var(--title-color);
  font-weight: 600;
}
.nav__logo:hover{
  color: var(--first-color-alt);
}

@media screen and (max-width: 650px) { 
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    /* background-color: hsla(var(--hue), 32%, 90%, .8);  */
    /*GLASS*/
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    backdrop-filter: blur(10px);
    /* border-top: 1px solid rgb(233, 233, 233); */
    transition: .4s;
    /* background: #fff; */
    box-shadow: var(--shadow-small);
  }

  .card-shadow-bg{
    background: rgba( 255, 255, 255, 0.8 );
    box-shadow: 0 8px 32px 0 rgba(116, 118, 141, 0.37);
    backdrop-filter: blur( 9px );
    -webkit-backdrop-filter: blur( 9px );
  }

  .section__title, .section__subtitle {
    text-align: center;
  }

  .services__container{
    grid-template-columns: repeat(1, 1fr) !important;
    /* gap: 1rem; */
    /* padding: 1rem 0; */
  }
}

.nav__list, 
.nav__link {
  display: flex;
  margin-right: 5px;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
  width: 40px;
  height: 40px;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: var(--tiny-font-size);
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color-alt);
  transition: .3s;
}


/* Change background header */
.scroll-header {
  box-shadow: var(--shadow-small);
}



/* HOME SECTION */
.center__text
{
  /* align-items: center;
  justify-content: center; */
  text-align: center !important;
}
.center__everything
{
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.section__color
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 350px;
  margin-top: 40px;
}
.section__color .color
{
  position: absolute;
  filter: blur(150px);
  z-index: -10;
}
.section__color .color:nth-child(1)
{
  top: 10px;
  width: 60px;
  height: 600px;
  background: #00d2ff;
}
.section__color .color:nth-child(2)
{
  top: 20px;
  left: 0px;
  width: 50px;
  height: 500px;
  background: #36daff;
}
.section__color .color:nth-child(3)
{
  bottom: -300px;
  right: -30px;
  width: 100px;
  height: 400px;
  background: #00d2ff;
}
.url-color {
 color: var(--text-color);
}
.home-color-gradient{
  background: linear-gradient(to bottom,#AA96F9, var( --first-color) 60%, var( --background-color)) !important;
  /* background-size: 100% 100%; */
}
.home__buttons{
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero__container{
  color: #fff;
}

.hero__grid {
  /* background: linear-gradient(to bottom, #00A5E3, #F1F8FE); */
  margin-top: 50px;
  display: grid;
  grid-template-columns: 22.5% 55% 22.5%;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: .5rem;
  margin-bottom: 2rem;
  /* position: relative; */
}

.hero{
  z-index: 10;
  padding: 45px 20px 25px 20px;
  color: var(--text-color);
  backdrop-filter: blur(5px);
  /* box-shadow: 0 25px 45px rgba(0, 0, 0, .1); */
  /* box-shadow: var(--shadow-small); */
  border: 1px solid rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  margin: auto;
}
.hero__image-cursor{
  position: relative;
  top: +16px !important;
  /* height: 500px; */
  height: auto;
  width: auto;
  /* z-index: 50; */
}
.hero__image{
  position: relative;
  /* top: -80px !important; */
  /* height: 500px; */
  height: auto;
  width: auto;
  /* z-index: 50; */
}
.hero__image-small{
  position: absolute;
  height: auto;
  width: 20%;
  /* z-index: 100; */
}

.pipe {
  position: absolute;
  top: 42%;
  left: 60px;
  width: 2px; /* Adjust thickness of the pipe */
  height: 42px; /* Adjust height of the pipe */
  background-color: var(--background-color);
  /* animation: pulsate 1s infinite alternate; */
  pointer-events: none; /* Disable interaction */
}

.pulsate {
  animation: pulsateAnimation 1s infinite;
}

@keyframes pulsateAnimation {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

@keyframes shimmerAnimation {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.anchor-point.grabbing {
  cursor: grabbing;
}

/* .hero__image.dragging {
  cursor: grabbing;
} */

/* #portfolio{
  z-index: 10;
} */

.hero__title{
  font-size: var(--biggest-font-size);
  line-height: var(--biggest-font-size);
  color: var(--container-color);
  text-align: left;
  margin-top: 1rem;
}
.hero__titlee{
  font-size: var(--icon-big-size);
  line-height: var(--icon-big-size);
  color: var(--text-color);
  text-align: left;
  margin: .5rem 0;
}

.text-color{
  color: var(--text-color);
}
.text-color-light{
  color: var(--text-color-light);
}

.hero__subtitle{
  font-size: var(--h1-font-size);
  font-weight: 200;
  margin-bottom: .75rem;
  display: block;
  color: var(--container-color);
}
.hero__description{
  color: var(--container-color);
  margin-top: 1rem;
}


.box
{
  /* margin-top: 60px; */
  /* overflow: hidden; */
  height: fit-content;
  position: relative;
}
.box .square
{
  position: absolute;
  backdrop-filter: blur(5px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, .1);
  border: 1px solid rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, 0.128);
  border-radius: 50px;
  /* border-radius: 10px; */
  /* animation: animate 10s linear infinite; */
  /* animation: animate 30s linear infinite; */
  animation-delay: calc(-1s * var(--i));
  /* icon positioning */
  display: flex;
  justify-content: center;
  align-items: center;
  
}
@keyframes animate
{
  0%, 100%
  {
      transform: translateY(-30px);
  }
  50%
  {
      transform: translateY(100px);
  }
}
.box .square:nth-child(1)
{
  top: -50px;
  left: 70px;
  width: 80px;
  height: 80px;
}
.box .square:nth-child(2)
{
  top: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
  z-index: 2;
}
.box .square:nth-child(3)
{
  bottom: 40px;
  right: 15px;
  width: 60px;
  height: 60px;
}
.box .square:nth-child(4)
{
  top: -30px;
  right: 85px;
  width: 90px;
  height: 90px;
}
.box .square:nth-child(5)
{
  top: 50px;
  bottom: 10px;
  right: 280px;
  width: 80px;
  height: 80px;
}
.box .square:nth-child(6)
{
  top: 180px;
  right: 180px;
  width: 80px;
  height: 80px;
}
.box .square:nth-child(7)
{
  top: 25px;
  left: 10px;
  width: 70px;
  height: 70px;
}
.upward__icon {
  color: var(--background-color);
  font-size: var(--icon-big-size);
  display: flex;
  justify-content: center;
  align-items: center;
}
.square__icon{
  color: var(--background-color);
  font-size: var(--icon-big-size);
}
#pen, #cog, #wand, #pencil{
  font-size: var(--icon-big-size);
}

#bulb{
  font-size: 3.6rem;
}

@media screen and (max-width: 852px){
  .container{
      margin-left: 1.5rem;
      margin-right: 1.5rem;
  }
  .hero__grid {
      /* grid-template-columns: 100% ; */
      grid-template-columns: repeat(1, 1fr);
  }
  #bulb{
    font-size: 2.6rem;
  }
  #code, #desktop{
    font-size: var(--icon-big-size);
  }
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: .4s;
  border: 2px solid var(--first-color);
}

.button:hover{
  background-color: var(--first-color-alt);
  color: var(--body-color);
  border: 2px solid var(--first-color-alt);
}

.button--ghost{
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
  background: rgba(255, 255, 255, 0.8);
}

/* ==============PORTFOLIO============= */

.external{
  background-color: transparent;
}

/*=============== WORK ===============*/

.padding-top15p{
  padding-top: 25%;
}

.work__container {
  position: relative;
  grid-template-columns:  50% 50% !important;
}

.work__container-article {
  grid-template-columns:  repeat(3, 1fr);
}
.cover-image {
  position: absolute;
  top: 60px;
  left: 0;
  width: auto;
  height: 450;
  object-fit: cover;
  z-index: 0;
}

.work__grid {
  display: grid;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.work__item{
  cursor: pointer;
  color: var(--title-color);
  padding: .25rem .75rem;
  font-weight: var(--font-medium);
  border-radius: .5rem;
}

.work__card{
  box-shadow: var(--shadow-small);
  padding: 3rem 1.5rem 1.5rem;
  border-radius: .75rem;
  text-align: left;
  display: flex;
  column-gap: .5rem;
  justify-content: center;
  background-color: var(--container-color);
}

.work__bg-img-rec{
  background-image: url("../img/bg-rec-1.png");
  background-repeat: no-repeat;
  background-position: bottom;
}

.work__bg-img-cat{
  background-image: url("../img/bg-cat-1.png");
  background-repeat: no-repeat;
  background-position: bottom;
}

.work__bg-img-eng{
  background-image: url("../img/bg-eng-1.png");
  background-repeat: no-repeat;
  background-position: bottom;
}

.work__bg-img-glo{
  background-image: url("../img/bg-glow-1.png");
  background-repeat: no-repeat;
  background-position: bottom;
}

.work__group{
  padding-top: 0;
}

.work__img{
  position: absolute;
  border-radius: 1rem;
  margin-bottom: .75rem;
  height: auto;
}
.work__img-article{
  position: absolute;
  border-radius: 1rem;
  margin-bottom: .75rem;
  height: auto;
}

.work__im{
  height: 200px;
  width: auto;
  display: block;
  margin: auto;
  z-index: 9999;
}
.work__im-article{
  height: auto;
  width: 100%;
  display: block;
  margin: auto;
  z-index: 9999;
}

.work__svg-container {
  border-radius: 1rem;
  margin-bottom: 1rem;
  height: 48px;
  display: flex;
  justify-content: flex-start;
}

.work__svg-icon {
  /* padding-top: 10px; */
  height: 48px;
  width: auto;
}

.work__svg-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: -1;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.bg-white{
  background-color: var(--container-color);
  z-index: -2;
  border-radius: 1rem;
}


.catalogue__svg-bg {
  position: absolute;
  top: 90px;
  left: 50%; 
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.showcase-top {
  display: block;
  max-height: 426px;
  margin-left: auto;
  margin-right: auto;
}


.work__details {
  position: relative;
  top: 1.25rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}

.work__details i {
  transition: opacity 0.3s ease 0s;
}

.work__card:hover .work__details {
  visibility: visible;
  opacity: 1;
}

.work__card:hover .work__details i {
  opacity: 1;
}

.work__button{
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
  padding-top: 1rem;
  margin-bottom: 20px;
  z-index: 999;
}

.work__button:hover .work__icon{
  z-index: 1;
  transform: translateX(.25rem);
}

.work__icon{
  z-index: 999;
  font-size: 1rem;
  transition: .3s;
}

/*=============== ABOUT ===============*/
.about__container{
  /* row-gap: 2.5rem;
  margin-bottom: 2.5rem; */

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.section-about{
  background-color: var(--background-color);
  
}

.about__img{
  width: 220px;
  border-radius: 1.5rem;
  justify-self: center;
}


.about__image {
  position: relative;
  width: fit-content; /* Ensures the container only takes the width of its contents */
}

.about__photo_image img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-circles {
  position: relative;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  margin-right: 20px;
  /* z-index: 2; */
}

.circles {
  position: relative;
  z-index: 1;
}

.photo-circles-container {
  display: flex;
}

.text-container {
  flex-grow: 1;
}

.shimmer {
  animation: shimmerAnimation 2.5s infinite linear;
  background: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 0.6) 70%, transparent 90%);
  background-size: 200% auto;
  border-radius: 1rem;
  /* padding: 4px !important; */
}

.resize-anchor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background-color: var(--first-color);
  border-radius: 1rem;
  padding: 6px;
  cursor: nwse-resize; /* Cursor style for indicating resizing */
  z-index: 3;
}

.resize-anchor img {
  width: 100%;
  height: 100%;
}

.shimmer-rotate {
  animation: shimmerAnimation 2.5s infinite linear;
  background: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 0.6) 70%, transparent 90%);
  background-size: 200% auto;
  border-radius: 1rem;
  padding: 2px !important;
}
.anchor-point {
  z-index: 100;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background-color: var(--first-color-light);
  border-radius: 1rem;
  padding: 4px;
  cursor: grab;
}

.about__data{
  /* text-align: center; */
  border-bottom-left-radius: .75rem;
  margin-bottom: 3rem;
}

.about__info{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: .75rem;
  /* background: #fff; */
}
.about__ul{
  margin-bottom: .5rem;
  list-style-type: circle;
  list-style-position: inside;
}
.linia{
  background: var(--text-color);
  /* background: var(--first-color); */
}

.about-padding{
 padding-top: 1rem;
}
.a_padding_bottom{
  padding-bottom: 1.5rem;
}
.shadow__bottom{
  /* box-shadow: var(--shadow-small); */
  background: #fff;
  border-radius: .75rem;
  padding: 1.75rem .5rem;
}
.about-padding-10{
  padding-top: 1.25rem;
  margin-top: .75rem;
 }
.about__box{
  /* background-color: var(--container-color); */
  padding: 0 ;
}

.about__icon{
  font-size: 2.25rem;
  color: var(--first-color-light);
  margin-bottom: .5rem;
  margin-right: .75rem;
}

.about__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}
.about__subtitle{
  font-size: var(--h4-font-size);
  line-height: 14px;
  font-weight: 400;
}
.about__sub{
  font-size: var(--tiny-font-size);
}
.about__description{
  text-align: left;
  margin-bottom: .5rem;
}
.about__edu{
  display: flex;
  gap: 10px;
  /* justify-content: space-between; */
  justify-content: center;
}

.a-left{
  text-align: left;
}
.a-right{
  text-align: right;
}
.a_padding-r{
  padding-right: .75rem;
}
.a_padding-l{
    padding-left: .75rem;
}

.about__grup{
  border-radius: 1rem;
}

/*=============== Qualification ===============*/
.qualification__tabs{
  display:flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.qualification__button{
  margin: 0 40px;
}

.qualification__data{
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__subtitle{
  margin-bottom: 0;
  font-size: var(--small-font-size);
  font-weight: 600;
}

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

.qualification__rounder{
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color-light);
  border-radius: 50%;
}

.qualification__line{
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color-light);
  transform: translate(6px, -7px);
}


/*=============== SKILLS ===============*/
.skills__container{
  row-gap: 2rem;
  padding-top: 1rem;
}

.skills__content{
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.skills__title{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.skills__box{
  display: flex;
  justify-content: center;
  column-gap: 2.5rem;
}

.skills__group{
  display: grid;
  align-content: flex-start;
  row-gap: 1rem;
}

.skills__data{
  display: flex;
  column-gap: .5rem;
}

.skills .bx-badge-check{
  font-size: 1rem;
  color: var(--first-color);
}

.skills__name{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  line-height: 18px;
}

.skills__level{
  font-size: var(--tiny-font-size);
}

.tools__description{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.tools__description2{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.pb-40{
  padding-bottom: 3rem;
}
.mb-30{
  margin-bottom: 3rem;
}
.mt-40{
  margin-top: 4rem;
}


/* my skills */
.skills-name{
  display: flex;
  padding: .15rem .5rem;
  margin: .25rem .5rem 0 0;
  /* border: var(--first-color) solid 1px; */
  border-radius: 1rem;
  /* cursor: pointer; */
  border: 1px solid rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
  background: rgba(255, 255, 255, .2);
  align-items: center;
}
.skills-name img{
  height: 35px;
  width: auto;
}
.skills-text{
  align-content: center;
  margin-left: .5rem;
}
.skills-icon{
  filter: grayscale(100%) contrast(0%) brightness(80%) sepia(50%) hue-rotate(180deg) saturate(0%);
}
.skills-name:hover .skills-icon,
.skills-name:hover .skills-text:hover + .skills-icon {
    filter: none;
}


/*=============== SERVICES ===============*/
.services__container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.design-container{
  padding: 0.5rem 0;
}

.services__design-image{
  position: relative;
  height: 200px;
}

.services__list .active .services__modal-info {
  color: var(--first-color); /* Change the color of the text */

}.services__list .services__modal-info {
  transition: .5s;
}

.services__card{
  /* background-color: var(--container-color); */
  padding: 2rem 1.5rem 0 1.5rem;
  border-radius: 1rem;
  /* box-shadow: var(--shadow-small); */
}

.services__title{
  font-size: var(--h2-font-size);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.services__button{
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
  cursor: pointer;
}
.pad-b1rem{
  padding-bottom: 1rem;
}
.services__button:hover .services__icon{
  transform: translate(.25rem);
}

.services__icon{
  font-size: 1rem;
  transition: .4s;
}

/* Services modal */
.services__modal{
  position: fixed;
  inset: 0;
  background-color: hsla(var(--second-hue), 28%, 16%, .7);
  padding: 2rem 1rem;
  display: grid;
  place-items: center; /*to ładnie centruje zawartosc po srodku ekranu*/
  visibility: hidden;
  opacity: 0;
  transition: .4s;
  z-index: var(--z-modal);
}

.services__modal-content{
  position: relative;
  background-color: var(--body-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
}

.services__modal-title,
.services__modal-description{
  text-align: center;
  max-width: 500px;
}

.services__modal-title{
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.services__modal-description{
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.services__modal-list{
  display: grid;
  row-gap: .75rem;
}

.services__modal-item{
  display: flex;
  align-items: flex-start;
  column-gap: .5rem;
  padding: 0.25rem;
  transition: .4s;
}

.services__modal-item-wa{
  display: flex;
  align-items: flex-start;
  column-gap: .5rem;
  padding: 0.25rem;
  transition: .4s;
}

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

.services__label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 0.85rem;

  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: .5rem;
  box-shadow: var(--shadow-small-org);
  min-width: 280px;
  min-height: 160px;
  font-style: italic;
  font-weight: 300;
  color: var(--first-color-dark);
}

.services__image {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 90px;
  height: auto;
}

.services__webanalytics_image {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem;
  width: 90px;
  height: auto;
}

.services__modal-item:hover {
  cursor: pointer;
  /* background-color: hsl(var(--first-hue), var(--sat), 95%); */
  box-shadow: var(--shadow-small);
  border-radius: 1rem;
  /* max-width: 220px; */
}

.cursor-auto {
  cursor: auto !important;
}

.services__modal-icon{
  font-size: 1rem;
  color: var(--first-color);
  visibility: hidden;
}
.active .services__modal-icon {
  font-size: 1rem;
  color: var(--first-color);
  visibility: visible;
}

.services__modal-icon1{
  font-size: 1rem;
  /* color: var(--first-color); */
}

.services__modal-info{
  font-size: var(--small-font-size);
}

.services__modal-close{
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

/*Active modal*/
.active-modal{
  opacity: 1;
  visibility: visible;
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 3rem;
  padding-bottom: 3rem;
}

.contact__title{
  text-align: left;
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.contact__info{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 3rem;
  gap: 1rem;
  margin-bottom: 3rem;
}
.work__container-article{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 3rem;
  gap: 1rem;
  margin-bottom: 3rem;
}

.card-shadow-bg{
  background: rgba( 255, 255, 255, 0.8 );
  box-shadow: 0 8px 32px 0 rgba(116, 118, 141, 0.37);
  backdrop-filter: blur( 9px );
  -webkit-backdrop-filter: blur( 9px );
}

.card-shadow-bg2{
  background: rgba( 255, 255, 255, 0.8 );
  box-shadow: 0 8px 24px 0 rgba(102, 105, 144, 0.37);
  backdrop-filter: blur( 9px );
  -webkit-backdrop-filter: blur( 9px );
}

.contact__card{
  /* background-color: var(--container-color); */
  /* background-color: #fdfdfd; */

  /* box-shadow: var(--shadow-small); */
  
  padding: 3rem 1.5rem 1.5rem;
  /* padding: 1rem; */
  border-radius: .75rem;
  text-align: left;

  display: flex;
  column-gap: .5rem;
}

.contact__card-icon{
  font-size: 4.5rem;
  color: var(--first-color);
  /* color: var(--title-color); */
  margin-bottom: .25rem;
}

.contact__card-title,
.contact__card-data{
  font-size: var(--small-font-size);
}

.contact__card-title{
  font-weight: var(--font-medium);
  padding-top: .5rem
}

.contact__card-data{
  display: block;
  margin-bottom: .75rem;
}

.contact__button{
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: left;
  column-gap: .25rem;
}

.contact__button:hover .contact__button-icon{
  transform: translateX(.25rem);
}

.contact__button-icon{
  font-size: 1rem;
  transition: .4s;
}


/*=============== FOOTER ===============*/
.footer{
  /* background-color: var(--first-color); */
  background-color: var( --gradient-fioletowy) ;
}

.bg-cat{
  background-color: var(--cat-color) !important;
}
.bg-glo{
  background-color: var(--glo-color) !important;
}
.bg-eng{
  background-color: var(--eng-color) !important;
}
.bg-rec{
  background-color: var(--rec-color) !important;
}

.footer__container{
  padding: 1rem 0 6rem;
}

.footer__title,
.footer__link{
  color: var(--body-color);
}

.footer__title{
  text-align: center;
  margin-bottom: 2rem;
}

.footer__list{
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__social{
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.footer__social-link{
  background-color: var(--body-color);
  color: var(--first-color);
  padding: .25rem;
  border-radius: .25rem;
  font-size: 2rem;
  display: inline-flex;
}

.footer__copy{
  display: block;
  /* margin-top: 1rem; */
  /* margin-top: 4.5rem; */
  color: var(--container-color);
  text-align: center;
  font-size: var(--smaller-font-size);
}


.footer__p{
  display: block;
  margin-top: 1rem;
  color: var(--container-color);
  text-align: center;
  font-size: 16px;
}

/*=============== ENGAGE ===============*/
.showcase{
  display: block;
  max-height: 426px;
  margin-left: auto;
  margin-right: auto;
}
.en-list{
  padding-top: .75rem;
  list-style: circle;
  list-style-position: inside;
}
.eng-img{
  display: block;
  margin-right: auto;
  margin-left: auto;
  float: left;
  height: 100px;
}
.eng-img-goal{
  display: block;
  margin-right: auto;
  margin-left: auto;
  float: left;
  height: 70px;
}
.persona-img{
  display: block;
  margin-right: auto;
  margin-left: auto;
  border-radius: .75rem;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.ul-insight{
  padding-top: .75rem;
  list-style: disc;
  list-style-position: inside;
}
.ul-insight li{
  line-height: 2rem;
}
.ol-insight{
  padding-top: .75rem;
  padding-left: 1rem;
  list-style-position: inside;
}
.ol-insight li{
  line-height: 2rem;
}
.mock-up-img{
  display: block;
  margin-right: auto;
  margin-left: auto;
  border-radius: 1rem;
}

.engage__top{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
.overview{
  text-align: justify;
}
.my-role-cat{
  border-radius: 0;
  padding: 2rem 1.5rem;
  background-color: var(--background-color);
  border-left: .5rem solid var(--cat-color);
  margin-bottom: 2rem;
}

.my-role-glo{
  border-radius: 0;
  padding: 2rem 1.5rem;
  background-color: var(--background-color);
  border-left: .5rem solid var(--glo-color);
  margin-bottom: 2rem;
}

.my-role-eng{
  border-radius: 0;
  padding: 2rem 1.5rem;
  background-color: var(--background-color);
  border-left: .5rem solid var(--eng-color);
  margin-bottom: 2rem;
}

.my-role-rec{
  border-radius: 0;
  padding: 2rem 1.5rem;
  background-color: var(--background-color);
  border-left: .5rem solid var(--rec-color);
  margin-bottom: 2rem;
}

.my-role-grey{
  box-shadow: var(--shadow-small);
  border-radius: 20px;
  padding: 3rem 1.5rem;
  text-align: left;
}
.my-role_subtitle{
 font-size: var(--h2-font-size);
 color: var(--text-color);
 font-weight: 500;
}
.engage__1to3{
  display: grid;
  grid-template-columns: 1.25fr 3fr;
  gap: 1.5rem;
}
.engage__bottom-margin{
 margin-bottom: 3rem;
}
.goal{
  font-weight: 500;
  font-size: var(--h2-font-size);
}
.position{
  position: relative;
}
.eng-img-arrow-tl{
  position: absolute;
  left: -35px;
  top: -15px;
  /* float: right; */
  transform: rotate(-30deg);
}
.engage__3to3{
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.25fr;
  gap: 4rem;
}
.big-text{
  font-size: var(--h2-font-size);
}
.small-text{
  font-size: var(--smaller-font-size);
  line-height: var(--smaller-font-size);
  padding-top: .5rem;
  font-weight: 400;
}
.font-w-500{
  font-weight: 600;
}

.font-w-300{
  font-weight: 300;
}


.eng-h3{
  font-size: var(--h2-font-size);
  padding: 2rem 0 0 0;
}
.eng-h4{
  font-size: var(--normal-font-size);
  padding: 2rem 0 0 0;
}
/* ========== GLOW =========== */
.testimonial{
 padding: 30px 0;
}

.testimonial__card, .testimonial__card-shadow{
  background-color: var(--container-color);
  padding: 1.25rem 1rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial__img{
  width: 465px;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.testimonial__name{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
}
.testimonial__name-c{
  text-align: center;
  margin-top: .75rem;
}
.testimonial__card-shadow{
  box-shadow: var(--shadow-small);
}

.testimonial__description{
  font-size: var(--small-font-size);
}

/* Swiper class */
.swiper-pagination-bullet{
  background-color: var(--text-color-light);
}

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

.glow__1to1{
  display: grid;
  grid-template-columns: 1.25fr 1.25fr;
  gap: 4rem;
  margin-top: 3rem;
}
.glow-img{
  width: 380px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
}
.text-normal{
  font-size: var(--normal-font-size);
  font-weight: 400;
}


/* ==========CATALOGUE =========== */
.wireframe-img{
  width: 400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  cursor: zoom-in;
}
.wireframe-img-nc{
  width: 400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.picture-label{
  text-align: center;
  margin-top: .5rem;
  font-style: italic;
  font-size: var(--small-font-size);
}



/* ==========PREVIUOUS NEXT =========== */

.prev-next{
  display: flex;
  justify-content: space-between;
}
.next__button{
  width: max-content;
  color: var(--first-color);
  font-size: var(--h3-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.next__button:hover .next__icon{
  transform: translateX(.25rem);
}
.next__button:hover .prev__icon{
  transform: translateX(-.25rem);
}

.next__icon, .prev__icon{
  font-size: 2rem;
  transition: .4s;
}

/*=============== MEDIA QUERIES ===============*/


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

@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 4rem;
    --icon-big-size: 2.25rem;
    --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;
  }
  .container{
    margin-left: auto;
    margin-right: auto;
  }
  .grid-columns-2 {
    grid-template-columns:  repeat(2, 1fr) !important;
  }
  .section{
    /* padding: 6.5rem 0 1rem; */
    padding: 2rem 0 1rem;
  }
  .section__title{
    margin-bottom: 3.5rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: var(--first-color);
  }

  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--first-color);
    /* border-radius: 50%; */
  }
  
  .about__container{
    /* grid-template-columns: auto auto; */
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    /* column-gap: 3rem; */
  }
  .about__img{
    width: 350px;
  }
  .about__data{
    text-align: initial;
  }
  .about__info{
    justify-content: initial;
  }
  .about__box{
    /* text-align: center; */
    /* padding: 1rem 1.25rem; */
    padding: 0;
    /* padding: 0 .5rem .75rem .5rem; */
  }
  .about__description{
    padding: 0;
    text-align: left;
  }
  .a-left{
    text-align: left;
  }
  .a-right{
    text-align: right;
  }
  .a_padding-r{
  padding-right: .75rem;
  }
  .a_padding-l{
    padding-left: .75rem;
  }
  /* .about__subtitle{
    font-size: var(--smaller-font-size);
    line-height: 12px;
    min-width: 45px;
  } */
  .about-padding{
    padding-top: .75rem;
   }
   .a_padding_bottom{
     padding-bottom: .75rem;
   }
   .about-padding-10{
     padding-top: 1.25rem;
     margin-top: .75rem;
    }

  .skills__container{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }

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

  .services__card{
    position: relative;
    /* padding: 5rem 2rem 1.5rem; */
    /* box-shadow: var(--shadow-small); */
  }

  .contact__info{
    grid-template-columns: repeat(2, 1fr);
  }
 
  .work__container-article{
    grid-template-columns: repeat(3, 1fr);
  }
  .work__card{
    box-shadow: var(--shadow-small);
    padding: 3rem 1.5rem 1.5rem;
    border-radius: .75rem;
    text-align: left;
    display: flex;
    column-gap: .5rem;
    justify-content: center;
  }
  .work__img{
    position: relative;
    padding: 2rem 1.5rem;
    display: grid;
    justify-content: center;
    z-index: 1;
  }
  .work__img-article{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    /* width: 300px; */
    height: 140px;
    text-align: center;
  }
  .work__title{
    margin-bottom: .1rem;
    font-size: var(--h2-font-size);
    /* font-weight: var(--font-medium); */
    font-weight: 600;
  }
  .left-minus-5-percent{
    position: relative;
    left: -5%;
  }
  .work__im{
    position: relative;
    height: 180px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .work__im-article{
    position: relative;
    bottom: 0;
    height: auto;
    width: auto;
    display: block;
    margin: auto;
    z-index: 9999;
    transition: transform 0.3s ease;
  }
  .work__card:hover .work__im,
  .work__card:hover .work__im-article {
    transform: scale(1.1); /* Scale the image on hover */
  }
  .engage__top{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}


/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
  .card-shadow-bg2{
    background: rgba( 255, 255, 255, 0.8 );
    box-shadow: 0 8px 24px 0 rgba(102, 105, 144, 0.37);
    backdrop-filter: blur( 9px );
    -webkit-backdrop-filter: blur( 9px );
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
  .work__container{
    justify-content: center;
  }
  /* .grid-columns-2 {
    grid-template-columns:  repeat(2, 1fr) !important;
  } */
  .card-shadow-bg{
    background: rgba( 255, 255, 255, 0.0 );
    box-shadow: 0 0 0 0 rgba(151, 4, 68, 0.37);
    backdrop-filter: blur( 0px );
    -webkit-backdrop-filter: blur( 0px );
  }
}

@media screen and (min-width: 767px) and (max-width: 992px) {
  body {
    margin: 0;
  }
  .section {
    padding: 2rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: var(--first-color);
  }

  .card-shadow-bg{
    background: rgba( 255, 255, 255, 0.0 );
    box-shadow: 0 0 0 0 rgba(151, 4, 68, 0.37);
    backdrop-filter: blur( 0px );
    -webkit-backdrop-filter: blur( 0px );
  }
  .about-padding{
    padding-top: inherit;
   }
  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--first-color);
    /* border-radius: 50%; */
  }

  /* Minimalist design */
  /* .active-link::before{
      bottom: -.75rem;
  } */

  .contact__info{
    grid-template-columns: repeat(2, 1fr);
  }
  .work__container{
    grid-template-columns: repeat(1, 1fr);
  }
  
  .work__container-article{
    grid-template-columns: repeat(2, 1fr);
  }

  .work__details {
    position: relative;
    top: 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
  }
  
  .work__details i {
    transition: opacity 0.3s ease 0s;
  }
  
  .work__card:hover .work__details {
    visibility: visible;
    opacity: 1;
  }
  
  .work__card:hover .work__details i {
    opacity: 1;
  }
  
  .work__card{
    box-shadow: var(--shadow-small);
    padding: 3rem 1.5rem 1.5rem;
    border-radius: .75rem;
    text-align: left;
    display: flex;
    column-gap: .5rem;
    justify-content: center;
  }
  .work__img{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 300px;
    height: 180px;
    text-align: center;
  }
  .work__img-article{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 300px;
    height: 140px;
    text-align: center;
  }
  .work__title{
    margin-bottom: .1rem;
    font-size: var(--h2-font-size);
    /* font-weight: var(--font-medium); */
    font-weight: 600;
  }
  .left-minus-5-percent{
    position: relative;
    left: 10%;
  }
  .work__im{
    position: relative;
    height: 160px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .work__im-article{
    position: relative;
    height: 160px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .work__card:hover .work__im,
  .work__card:hover .work__im-article {
    transform: scale(1.1); /* Scale the image on hover */
  }
}

@media screen and (min-width: 530px) and (max-width: 767px) {
  .work__container{
    grid-template-columns: repeat(1, 1fr);
  }

  .work__details {
    position: relative;
    visibility: visible;
    top: 1.25rem;
    opacity: 1;
  }

  .work__card{
    box-shadow: var(--shadow-small);
    padding: 3rem 1.5rem 1.5rem;
    border-radius: .75rem;
    text-align: left;
    display: flex;
    column-gap: .5rem;
    justify-content: center;
  }
  .work__img{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 450px;
    height: 180px;
    text-align: center;
  }
  .work__img-article{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 450px;
    height: 140px;
    text-align: center;
  }
  .work__title{
    margin-bottom: .1rem;
    font-size: var(--h2-font-size);
    /* font-weight: var(--font-medium); */
    font-weight: 600;
  }
  .title-color {
    width: calc(100%);
    text-align: left;
  }
  .left-minus-5-percent{
    position: relative;
    left: 20%;
  }
  .work__im{
    position: relative;
    height: 150px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .work__im-article{
    position: relative;
    height: 150px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .box .square:nth-child(1)
  {
    top: 0px;
    left: 0px;
    width: 80px;
    height: 80px;
  }
  .box .square:nth-child(2)
  {
    top: 0px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 2;
  }
  .box .square:nth-child(3)
  {
    bottom: 30px;
    right: 45px;
    width: 60px;
    height: 60px;
  }

  
}

/* on mobile */
@media screen and (max-width: 530px) {
  .display-none{
    display: none !important;
  }
  .work__container{
    grid-template-columns: repeat(1, 1fr);
  }
  .work__grid{
    display: inherit;
  }
  .work__group{
    padding-top: 30px;
  }
  .work__card{
    box-shadow: var(--shadow-small);
    padding: 1.5rem 1.5rem;
    border-radius: .75rem;
    text-align: left;
    display: flex;
    column-gap: .5rem;
    justify-content: center;
  }
  .work__details {
    position: relative;
    visibility: visible;
    top: 1.25rem;
    opacity: 1;
  }
  .work__img{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 310px;
    height: 180px;
    text-align: center;
  }
  .work__img-article{
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    width: 310px;
    height: 180px;
    text-align: center;
  }
  .work__title{
    margin-bottom: .1rem;
    font-size: var(--h2-font-size);
    /* font-weight: var(--font-medium); */
    font-weight: 600;
  }
  .left-minus-5-percent{
    position: relative;
    left: 10%;
  }
  .work__im{
    position: relative;
    height: 150px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }
  .work__im-article{
    position: relative;
    height: 150px;
    bottom: -10%;
    width: auto;
    display: block;
    margin: auto;
    z-index: 999;
    transition: transform 0.3s ease; /* Add transition for smooth animation */
    max-width: 100%;
  }

  .work__container-article{
    gap: 2rem;
    margin-bottom: 3rem;
    margin-left: .5rem;
    margin-right: .5rem;
  }

  .about__container{
    margin: auto;
  }
  .engage__1to3{
    display: grid;
    grid-template-columns: 1.25fr;
    gap: 1.5rem;
  }
  .engage__3to3{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .glow__1to1{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ol-insight li{
    line-height: normal;
  }

  .hero__grid{
    margin-top: 0px;
  }

  .section__height-90{
    min-height: 50vh;
  }

  .qualification__button{
    margin: 0 .5rem;
  }

  .about__container{
    grid-template-columns: repeat(1, 1fr);
  }

  .qualification__data{
    grid-template-columns: 1fr max-content 1fr;
    column-gap: .5rem;
  }

  .catalogue__svg-bg {
    left: 50%;
    transition: .3s;
  }
  .hero__container{
    margin: 0 1rem;
  }
}

@media screen and (max-width: 764px){
  .about__container{
    grid-template-columns: repeat(1, 1fr);
  }

  .container{
    margin-left: .5rem;
    margin-right: .5rem;
  }
}

/* Modal for larger image on click */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: auto;
  max-height: auto;
  padding: 10px;
  box-sizing: border-box;
}

.modal-content img {
  width: auto;
  max-width: 98vw;
  max-height: 98vh;
  display: block;
  margin: 0 auto;
}

.close {
  width: 64px;
  height: 64px;
  position: absolute;
  top: -7px;
  right: -44px;
  padding: 10px;
  cursor: pointer;
  z-index: 10000;
  color: black;
}

