* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
img {
  width: 100%;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.overflow-container {
  overflow: hidden;
}
.animate-on-scroll {
  opacity: 0;
}
.animate-on-scroll.slide-up {
  transform: translateY(50px);
}
.animate-on-scroll.slide-left {
  transform: translateX(-50px);
}
.animate-on-scroll.slide-right {
  transform: translateX(50px);
}
.animate-on-scroll.zoom-in {
  transform: scale(0.9);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: var(--scroll-delay, 0s);
}

/* slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  perspective: 1500px;
}
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
  transform: rotateY(-30deg) scale(0.8);
  backface-visibility: hidden;
  transition: all 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-item-1 {
  background-image: url("../images/slider-1.jpeg");
}
.slide-item-2 {
  background-image: url("../images/slider-2.jpeg");
}
.slide-item-3 {
  background-image: url("../images/slider-3.jpeg");
}
.slide-item.active {
  opacity: 1;
  z-index: 1;
  transform: rotateY(0) scale(1);
}
.slider-content {
  position: absolute;
  top: 40%;
  left: 50%;
  color: #212121;
  z-index: 2;
  -webkit-text-stroke: 0.8px black;
}
.slider-content p:first-of-type {
  font-size: 50px;
  letter-spacing: 0.75px;
  line-height: 78px;
  font-family: "Glacial Indifference regular";
}
.slider-content h1 {
  font-size: 71px;
  letter-spacing: 1.06px;
  line-height: 78px;
  font-family: "Glacial Indifference bold";
}
.slider-content p:last-of-type {
  font-size: 24px;
  line-height: 64px;
  font-family: "Glacial Indifference regular";
  margin-bottom: 20px;
}
.slider-section-title {
  position: absolute;
  top: 10px;
  right: 60px;
  z-index: 2;
  -webkit-text-stroke: 0.8px black;
}
.slider-section-title .number {
  font-size: 158px;
  letter-spacing: 4.75px;
  color: #1c1c1c;
  opacity: 0.5;
  position: relative;
  font-family: "Poppins extrabold";
}
.slider-section-title .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 43px;
  letter-spacing: 1.3px;
  color: #373737;
  font-family: "Poppins extrabold";
  white-space: nowrap;
}
.slider-stats {
  position: absolute;
  bottom: 30px;
  right: 80px;
  z-index: 2;
  max-width: 340px;
  width: 100%;
  -webkit-text-stroke: 0.8px black;
}
.slider-stats p {
  font-size: 24px;
  line-height: 32px;
  color: #212121;
  font-family: "Montserrat bold";
}
.slider-stats span {
  color: #e93656;
}
.slider-stats .progress-line {
  margin-top: 15px;
  height: 6px;
  background-color: #e93656;
  border-radius: 10px;
}
.slider-social-links {
  display: flex;
  gap: 20px;
}
.slider-social-links i {
  font-size: 30px;
  transition: all 0.3s ease-in-out;
  -webkit-text-stroke: 0.5px black;
}
.slider-social-links a:hover i {
  opacity: 0.8;
  transform: scale(1.1);
}
.slider-social-facebook i {
  color: #1877f2;
}
.slider-social-instagram i {
  color: #e1306c;
}
.slider-social-linkedin i {
  color: #0a66c2;
}
.slider-social-github i {
  color: #181717;
}

/* about me */
.aboutme-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 65px;
  align-items: center;
  margin-top: 100px;
}
.aboutme-text {
  text-align: right;
}
.aboutme-text h2 {
  font-size: 40px;
  color: #222222;
  font-family: "Glacial Indifference bold";
}
.aboutme-text h3 {
  font-size: 14px;
  color: #daae19;
  margin-top: 6px;
  margin-bottom: 33px;
  font-family: "Muli";
}
.aboutme-text p {
  font-size: 15px;
  letter-spacing: 0.45px;
  line-height: 26px;
  color: #555555;
  margin-bottom: 60px;
  font-family: "Muli regular";
}
.aboutme-text button {
  background-color: #e93656;
  border: none;
  padding: 15px 50px;
  color: #ffffff;
  cursor: pointer;
  font-family: "Glacial Indifference bold";
  transition: all 0.3s ease-in-out;
}
.aboutme-text button:hover {
  background-color: #131a36;
  transform: scale(1.05);
  color: #e93656;
}
.about-me-pfp img {
  max-width: 430px;
  width: 100%;
  height: 603px;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.about-me-pfp:hover img {
  transform: scale(1.05);
}
.aboutme-socials {
  display: flex;
  margin-top: 60px;
  gap: 5px;
}
.aboutme-socials a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  transition: all 0.5s ease-in-out;
}
.aboutme-socials a:hover {
  background-color: #15263e;
  transform: scale(1.1);
}
.aboutme-socials i {
  font-size: 20px;
  color: #6f6d6d;
}
.aboutme-socials a:hover i {
  color: rgb(255, 255, 255);
}
.skill p {
  margin-bottom: 15px;
  color: #555555;
  font-size: 20px;
  font-family: "Glacial Indifference bold";
}
.skill span {
  color: #e93656;
}
.progress-bar {
  background-color: #f0f0f0;
  height: 9px;
  max-width: 300px;
  margin-bottom: 30px;
}
.progress {
  background-color: #e93656;
  height: 100%;
  width: 0;
  transition: width 3s ease-in-out;
}
.contact-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}
.contact-dialog {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;
  width: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: showup 0.5s ease-out;
}
.dialog-content {
  padding: 30px;
}
.dialog-content h2 {
  font-size: 30px;
  color: #222222;
  text-align: center;
  font-family: "Glacial Indifference bold";
}
.dialog-content p {
  margin-top: 15px;
  margin-bottom: 20px;
  color: #5b5a5a;
  text-align: center;
  font-family: "Glacial Indifference regular";
}
.dialog-content input,
.dialog-content textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #ebe9e9;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
  font-family: "Muli regular";
}
.dialog-content input:focus,
.dialog-content textarea:focus {
  border-color: #e93656;
  box-shadow: 0 0 5px rgba(233, 54, 86, 0.3);
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #e93656;
  color: #ffffff;
  font-size: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.close-btn:hover {
  background-color: #131a36;
  color: #e93656;
}
.submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #e93656;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-family: "Glacial Indifference regular";
}
.submit-btn:hover {
  background-color: #131a36;
  color: #e93656;
}

.contact-section {
  background-color: #131a36;
}
.contact-content {
  display: flex;
  align-items: center;
  margin-top: 100px;
}
.slider-arrow,
.contact-nav-dots {
  display: none;
}
.contact-slider-window {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.contact-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 60px;
}
.contact-items-container img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.number-section,
.address-section,
.email-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 29px;
  flex-basis: 320px;
}
.icon-wrapper {
  width: 90px;
  height: 90px;
  border: 2px dashed #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s ease-in-out;
  flex-shrink: 0;
}
.icon-wrapper:hover {
  background-color: #e93656;
  border: none;
  transform: rotate(360deg) scale(1.1);
}
.contact-section h2 {
  color: #ffffff;
  padding-bottom: 15px;
  font-size: 25px;
  letter-spacing: 0.75px;
  line-height: 30px;
  font-family: "Glacial Indifference bold";
}
.contact-section a {
  color: #dfdfdf;
  font-size: 14px;
  letter-spacing: 0.42px;
  line-height: 24px;
  font-family: "Muli";
  transition: color 0.3s ease-in-out;
}
.contact-section a:hover {
  color: #e93656;
}

/* services */
.card-wrapper {
  transition: none;
  min-width: 285px;
}
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 10px;
  margin-top: 180px;
  margin-bottom: 160px;
}
.service-card {
  position: relative;
  height: 360px;
  background-color: #fafafa;
  border: 1px solid #dfdfdf;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease-in-out;
}
.service-card:hover,
.service-card.is-active {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: #15263e;
}
.service-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.4s ease, opacity 0.4s ease, height 0.3s ease 0.1s,
    margin-bottom 0.3s ease 0.1s;
}
.service-card:hover img,
.service-card.is-active img {
  transform: scale(1.2) rotate(10deg);
  opacity: 0;
  height: 0;
  margin-bottom: 0;
}
.service-card h3 {
  font-size: 22px;
  letter-spacing: 0.44px;
  line-height: 28px;
  color: #222222;
  font-family: "Glacial Indifference bold";
  transition: all 0.3s ease;
}
.service-card:hover h3,
.service-card.is-active h3 {
  color: #ffffff;
}
.service-card p {
  color: #ececec;
  line-height: 26px;
  letter-spacing: 0.42px;
  padding: 0 30px;
  font-family: "Muli light";
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}
.service-card:hover p,
.service-card.is-active p {
  height: 100px;
  opacity: 1;
  margin-top: 15px;
}

/* second slider */
.slider {
  padding: 150px;
  background-image: url("../images/clip.jpg");
  background-position: center;
  background-size: cover;
}
.slider-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.author-text {
  flex-basis: 45%;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.45px;
  color: #ffffff;
  font-family: "Roboto light";
  text-align: right;
}
.author-section {
  flex-basis: 35%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
.author-photo-container {
  padding: 10px;
  border: 2px dashed #ffffff;
  border-radius: 50%;
}
.author-photo-container img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}
.author-info img {
  height: 26px;
  width: 39px;
  object-fit: cover;
  margin-bottom: 25px;
}
.author-info .profession {
  font-size: 13px;
  letter-spacing: 0.52px;
  line-height: 30px;
  color: #e93656;
  font-family: "Roboto regular";
}
.author-info .name {
  font-size: 28px;
  letter-spacing: 0.84px;
  color: #ffffff;
  font-family: "Glacial Indifference bold";
}
.slider-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.nav-btn {
  width: 13px;
  height: 13px;
  background-color: transparent;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.5s ease;
}
.nav-btn.active {
  background-color: #e93656;
  border-color: #e93656;
}

/* projects */
.projects-section h2 {
  margin-top: 140px;
  margin-bottom: 60px;
  font-size: 70px;
  line-height: 36px;
  color: #2e2e2e;
  font-family: "Glacial Indifference bold";
  text-align: center;
}
.projects-container {
  display: flex;
}
.projects-container .projects-menu {
  width: 240px;
  padding: 30px;
  background-color: #15263e;
  align-self: flex-start;
}
.projects-menu li {
  font-size: 20px;
  line-height: 44px;
  cursor: pointer;
  color: #ffffff;
  font-family: "Glacial Indifference bold";
  position: relative;
}
.projects-menu li.active {
  color: #e93656;
}
.projects-menu li.active span {
  position: relative;
  z-index: 1;
  background-color: #15263e;
  padding-right: 15px;
}
.projects-menu li.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: -40px;
  height: 3px;
  background-color: #e93656;
  z-index: 0;
  transform: translateY(-50%);
}
.projects-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-left: 40px;
}
.project .project-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.project {
  position: relative;
  overflow: hidden;
  height: 350px;
}
.project.hidden {
  pointer-events: none;
  display: none;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.overlay .heart-icon-wrapper {
  border: 2px solid #e93656;
  border-radius: 50%;
  padding: 18px;
  margin-bottom: 20px;
}
.overlay .heart-icon-wrapper img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}
.overlay h3 {
  font-size: 23px;
  line-height: 44px;
  color: #ffffff;
  font-family: "Glacial Indifference bold";
}
.overlay p {
  font-size: 11px;
  letter-spacing: 0.33px;
  color: #dddddd;
  font-family: "Muli";
}
.project:hover .overlay {
  opacity: 1;
}

/* articles */
.articles-section > h3 {
  font-size: 13px;
  color: #2ed279;
  line-height: 36px;
  margin-bottom: 5px;
  margin-top: 150px;
  text-align: center;
  font-family: "Glacial Indifference bold";
}
.articles-section h2 {
  font-size: 70px;
  color: #2e2e2e;
  margin-bottom: 80px;
  text-align: center;
  font-family: "Glacial Indifference bold";
}
.articles {
  display: flex;
}
.articles:nth-child(odd) {
  margin-left: 100px;
}
.articles:nth-child(even) {
  margin-right: 100px;
}
.articles .content {
  background: #fafafa;
  padding: 20px;
  width: 50%;
}
.articles-image {
  width: 95px;
  height: 95px;
  object-fit: cover;
  margin-top: 80px;
  margin-bottom: 30px;
}
.articles h4 {
  font-size: 14px;
  color: #888888;
  letter-spacing: 1.12px;
  line-height: 16.8px;
  margin-bottom: 5px;
  font-family: "Muli";
  text-align: left;
}
.articles h3 {
  font-size: 40px;
  color: #161616;
  line-height: 44px;
  margin-bottom: 28px;
  text-align: left;
  font-family: "Glacial Indifference bold";
}
.articles p,
.articles .read-more {
  max-width: 570px;
  font-size: 16px;
  color: #494949;
  line-height: 30px;
  letter-spacing: 0.48px;
  font-family: "Muli";
}
.read-more {
  display: inline-block;
  position: relative;
  margin-bottom: 100px;
  margin-top: 10px;
  transition: transform 0.3s ease-in-out;
}
.read-more::after {
  content: "→";
  position: absolute;
  opacity: 0;
  top: 0;
  left: 100%;
  margin-left: 20px;
  transform: translateX(-20px);
  transition: all 0.3s ease-in-out;
}
.read-more:hover {
  transform: translateX(-5px);
}
.read-more:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.articles .year {
  background-color: #15263e;
  color: #e93656;
  writing-mode: sideways-lr;
  text-align: center;
  padding: 30px;
  font-size: 30px;
  letter-spacing: 0.9px;
  line-height: 43px;
  font-family: "Glacial Indifference bold";
}
.articles .article-image {
  width: 50%;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.articles:nth-of-type(even) {
  flex-direction: row-reverse;
}
.articles:nth-of-type(even) p,
.articles:nth-of-type(even) h3,
.articles:nth-of-type(even) h4,
.articles:nth-of-type(even) .articles-image,
.articles:nth-of-type(even) .read-more {
  margin-left: 150px;
}

/* rosa team */
.rosa-team h3 {
  font-size: 14px;
  color: #2ed279;
  line-height: 36px;
  font-family: "Glacial Indifference bold";
  margin-top: 100px;
  margin-bottom: 10px;
  text-align: center;
}
.rosa-team h2 {
  font-size: 70px;
  color: #262526;
  line-height: 36px;
  font-family: "Glacial Indifference bold";
  margin-bottom: 100px;
  text-align: center;
}
.partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
  margin-bottom: 150px;
}
.partner-item {
  position: relative;
  width: 130px;
  height: 110px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.partner-item:hover {
  transform: scale(1.1);
}
.partner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}
.partner-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  min-height: 190px;
  border: 4px solid #e93656;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.partner-hover:hover {
  opacity: 1;
}
.partner-item:hover img {
  opacity: 0;
}
.partner-hover h4 {
  font-family: "Poppins semibold";
  color: #161616;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.32px;
}
.partner-hover p {
  font-family: "Roboto light";
  color: #626262;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.39px;
}

/* contact form*/
.contact-form {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/map.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: darken;
  padding: 100px 0;
}
.contact-form h2 {
  font-size: 45px;
  letter-spacing: 1.35px;
  line-height: 54px;
  color: #ffffff;
  font-family: "Jaapokki";
  text-align: center;
}
.contact-form h3 {
  margin-top: 12px;
  margin-bottom: 45px;
  font-size: 17px;
  letter-spacing: 0.51px;
  line-height: 28px;
  color: #eeeeee;
  font-family: "Roboto light";
  text-align: center;
}
.form-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px;
  font-size: 10px;
  letter-spacing: 0.4px;
  border: 2px solid transparent;
  outline: none;
  font-family: "Poppins semibold";
}
textarea {
  height: 110px;
  resize: none;
}
.form-group {
  flex: 1;
  min-width: 250px;
}
.submit-button {
  padding: 16px 46px;
  border: 2px solid #e93656;
  background-color: transparent;
  color: #e93656;
  font-size: 12px;
  letter-spacing: 0.96px;
  font-family: "Glacial Indifference bold";
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: all 0.4s ease-in-out;
}
.submit-button:hover {
  background-color: #d40248;
  color: white;
}
.form-group .message {
  display: block;
  font-size: 12px;
  font-family: "Muli";
  padding-left: 5px;
  height: 15px;
  margin-top: 2px;
  margin-bottom: 10px;
}
.form-group.error input,
.form-group.error textarea {
  border-color: #e94b6b;
}
.form-group.error .message {
  color: #e94b6b;
}
.form-group.success input,
.form-group.success textarea {
  border-color: #2ed279;
}
.form-group.success .message {
  color: #2ed279;
}
.form-group.success .message::before {
  content: "✔ ";
  color: #2ed279;
}
.form-group.error .message::before {
  content: "✖ ";
  color: #e94b6b;
}
.success-dialog {
  width: 90%;
  max-width: 420px;
  background-color: #15263e;
  color: #ffffff;
  border: 1px solid #2ed279;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: showup 0.5s ease-out;
}
.success-dialog .dialog-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: #24b666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-dialog .dialog-icon svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
}
.success-dialog h2 {
  font-family: "Glacial Indifference bold";
  font-size: 28px;
  margin-bottom: 10px;
}
.success-dialog p {
  font-family: "Muli";
  color: #dfdfdf;
  font-size: 16px;
  line-height: 1.5;
}
.success-dialog .closebtn {
  padding: 12px 40px;
  margin-top: 30px;
  font-size: 16px;
  background-color: #e93656;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Glacial Indifference bold";
  transition: background-color 0.5s ease;
}
.success-dialog .closebtn:hover {
  background-color: #24b666;
}
.success-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

/* roca */
.roca h2 {
  font-size: 55px;
  letter-spacing: 1.66px;
  line-height: 76px;
  color: #ffffff;
  font-family: "Poppins extrabold";
  padding-bottom: 22px;
  text-align: center;
}
.roca h2 > span {
  color: #e93656;
}
.roca p {
  font-size: 17px;
  letter-spacing: 0.9px;
  line-height: 27px;
  color: #a5a5a5;
  font-family: "Roboto regular";
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.roca-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.roca-socials i {
  font-size: 25px;
  color: #28bdd4;
  transition: all 0.2s ease-in-out;
}
.roca-socials a:hover i {
  opacity: 0.8;
  transform: scale(1.1);
}
.footer-main {
  background-color: #282828;
  padding-top: 110px;
  padding-bottom: 55px;
}
.footer-bottom {
  background-color: #171717;
  padding: 30px 0;
}
.footer-bottom p {
  font-size: 15px;
  line-height: 24px;
  color: #a0a8b7;
  font-family: "Muli";
}
.footer-bottom span {
  color: #ffffff;
}

@media (max-width: 768px) {
  /* slider */
  .slider-content p:first-of-type {
    font-size: 30px;
    line-height: 40px;
  }
  .slider-content h1 {
    font-size: 33px;
    line-height: 30px;
  }
  .slider-content p:last-of-type {
    line-height: 35px;
    margin-top: 10px;
  }
  .slider-section-title .number {
    font-size: 80px;
  }
  .slider-section-title .label {
    font-size: 25px;
  }
  .slider-stats {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 300px;
    text-align: center;
  }
  .slider-stats p {
    font-size: 18px;
    line-height: 1.2;
  }
  .slider-social-links i {
    font-size: 25px;
  }
  .slider-social-links {
    gap: 15px;
  }

  /* about me */
  .aboutme-section {
    gap: 30px;
    margin-top: 50px;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .about-me-pfp {
    order: 1;
  }
  .about-me-pfp img {
    max-height: 350px;
  }
  .aboutme-text {
    order: 2;
    text-align: center;
  }
  .skills-section {
    order: 3;
    width: 100%;
  }
  .aboutme-text h2 {
    font-size: 30px;
  }
  .aboutme-text h3 {
    margin-bottom: 20px;
  }
  .aboutme-text p {
    margin-bottom: 30px;
  }
  .aboutme-socials {
    margin-top: 50px;
    justify-content: center;
  }
  .skill p {
    font-size: 18px;
  }
  .progress-bar {
    max-width: 100%;
  }
  .contact-content {
    height: 300px;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    padding: 0;
    margin-top: 60px;
  }
  .contact-slider-window {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .contact-items-container {
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 0;
  }
  .number-section,
  .address-section,
  .email-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    flex: 0 0 100%;
    padding: 0 20px;
  }
  .slider-arrow {
    display: grid;
    grid-row: 1 / 2;
    z-index: 10;
    width: 44px;
    height: 44px;
    justify-self: center;
    background-color: transparent;
    border: 2px dashed rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
  }
  .slider-arrow.tapped {
    background-color: #e93656;
    border-style: solid;
    border-color: #e93656;
  }
  .slider-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
  }
  .prev-arrow {
    grid-column: 1 / 2;
  }
  .prev-arrow::after {
    transform: translate(-25%, -50%) rotate(-135deg);
  }
  .next-arrow {
    grid-column: 3 / 4;
  }
  .next-arrow::after {
    transform: translate(-75%, -50%) rotate(45deg);
  }
  .contact-nav-dots {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
  }
  .dot {
    width: 9px;
    height: 9px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .dot.active {
    background-color: #e93656;
    border-color: #e93656;
    transform: scale(1.2);
  }

  /* services */
  .services-section {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .services-section::-webkit-scrollbar {
    display: none;
  }
  .service-card {
    scroll-snap-align: start;
  }

  /* second slider */
  .slider {
    padding: 60px 20px;
  }
  .slider-box {
    flex-direction: column;
    gap: 40px;
  }
  .author-text,
  .author-section {
    flex-basis: 100%;
    width: 100%;
  }
  .author-section {
    order: 1;
  }
  .author-text {
    order: 2;
    text-align: center;
  }
  .slider-nav {
    order: 3;
    flex-direction: row;
  }
  .author-info img {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  /* projects */
  .projects-section h2 {
    margin-top: 100px;
    margin-bottom: 40px;
    font-size: 45px;
  }
  .projects-container {
    flex-direction: column;
    gap: 20px;
  }
  .projects-container .projects-menu {
    position: relative;
    width: 100%;
    background-color: transparent;
    padding: 0;
  }
  .projects-menu.is-scrollable::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 80%);
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
  }
  .projects-menu ul {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
  }
  .projects-menu li {
    flex: 0 0 auto;
    padding: 8px 16px;
    margin-right: 10px;
    background-color: #f0f0f0;
    border-radius: 20px;
    color: #333333;
    font-size: 16px;
    line-height: 1.5;
  }
  .projects-menu li.active {
    background-color: #15263e;
    color: #e93656;
  }
  .projects-menu li.active span {
    padding: 0px;
  }
  .projects-menu li.active::after {
    display: none;
  }
  .projects-grid {
    margin-left: 0;
  }
  .project {
    margin-bottom: 6px;
  }

  /* articles */
  .articles-section > h3 {
    margin-top: 100px;
  }
  .articles-section h2 {
    font-size: 45px;
    margin-bottom: 40px;
  }
  .articles-section {
    padding-left: 60px;
    position: relative;
  }
  .articles-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background-color: #e0e0e0;
  }
  .articles h3 {
    font-size: 30px;
  }
  .read-more {
    margin-bottom: 40px;
  }
  .articles {
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .articles .content > .articles-image {
    position: absolute;
    top: 20px;
    left: -55px;
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  }
  .articles .article-image {
    width: 100%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    order: 1;
    position: relative;
  }
  .articles .year {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    background-color: #e93656;
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 5px;
    font-size: 12px;
    writing-mode: horizontal-tb;
  }
  .articles .content {
    width: 100%;
    padding: 25px;
    order: 2;
  }
  .articles:nth-of-type(odd),
  .articles:nth-of-type(even) {
    margin: 0;
    flex-direction: column;
  }
  .articles:nth-of-type(even) p,
  .articles:nth-of-type(even) h3,
  .articles:nth-of-type(even) h4,
  .articles:nth-of-type(even) .articles-image,
  .articles:nth-of-type(even) .read-more {
    margin-left: 0;
  }

  /* rosa team */
  .rosa-team h3 {
    margin-top: 80px;
  }
  .rosa-team h2 {
    font-size: 45px;
    margin-bottom: 50px;
  }
  .partners {
    gap: 50px;
    margin-bottom: 70px;
  }
  .partner-hover {
    width: 160px;
    min-height: 100px;
    padding: 10px;
  }

  /* contact form*/
  .contact-form h2 {
    font-size: 35px;
  }

  /* roca */
  .footer-main {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .roca h2 {
    font-size: 40px;
    padding-bottom: 15px;
  }
  .roca p {
    font-size: 14px;
  }
  .footer-bottom p {
    font-size: 12px;
  }

  .services-section .animate-on-scroll.slide-up {
    transform: none;
    transition: none;
    opacity: 1;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .slider-content h1 {
    line-height: 60px;
  }
  .slider-content p:last-of-type {
    margin-bottom: 0px;
  }
  .slider-section-title .number {
    font-size: 120px;
  }
  .slider-section-title .label {
    font-size: 35px;
  }
  .slider-stats {
    bottom: 15px;
    right: -30px;
  }
  .slider-stats p {
    font-size: 18px;
  }
  .slider-stats .progress-line {
    margin-top: 5px;
    width: 80%;
  }
  .aboutme-section {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .aboutme-text {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }
  .skills-section {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-top: 20px;
  }
  .about-me-pfp {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .aboutme-text p {
    margin-bottom: 30px;
  }
  .author-info img {
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .articles .year {
    padding: 0px;
  }
  .articles:nth-child(even) {
    margin-right: 40px;
  }
  .articles:nth-child(odd) {
    margin-left: 40px;
  }
  .articles:nth-of-type(even) p,
  .articles:nth-of-type(even) h3,
  .articles:nth-of-type(even) h4,
  .articles:nth-of-type(even) .articles-image,
  .articles:nth-of-type(even) .read-more {
    margin-left: 0;
  }
}

@media (min-width: 769px) {
  .services-section.animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@keyframes showup {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
