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

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(18, 95%, 55%);
  --second-color: hsl(42, 98%, 52%);
  --first-gradient: linear-gradient(
    90deg,
    hsl(18, 95%, 55%),
    hsl(18, 98%, 64%)
  );
  --title-color: hsl(255, 12%, 12%);
  --text-color: hsl(225, 12%, 24%);
  --text-color-light: hsl(255, 4%, 70%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 20%, 10%);
  --gray-border: hsl(255, 6%, 90%);
  --black-border: hsl(255, 10%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --big-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;

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

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

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

img[src=""] {
  display: none;
}

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

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

.section {
  padding-block: 5rem 1rem;
}
.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--second-color);
  margin-bottom: 0.5rem;
}

.main {
  overflow: hidden;
}

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

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

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  flex-direction: column;
  width: 100px;
}

/* .nav__img {
  width: 100px;
  height: 100px;
} */

.nav__logo span {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav__logo i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
  transition: color 0.4s;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--black-color);
    width: 80%;
    height: 100%;
    padding: 7.5rem 3.5rem 0;
    border-left: 2px solid var(--black-border);
    transition: right 0.4s;
  }
}

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

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
  display: inline-block;
  text-align: center;
  width: 100px;
}

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

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

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

/* ---> DROPDOWN */
/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__link,
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color 0.3s;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height 0.4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

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

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: 0.25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: 0.5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top 0.3s;
    top: 22px;
    background-color: var(--black-color);
    border: 1px solid var(--text-color-light);
  }

  .dropdown__menu .dropdown__link {
    width: 250px;
    color: var(--text-color-light);
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top 0.3s;
  }
}

/* Change background header */
.bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.1);
}

.bg-header .nav__logo span,
.bg-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home {
  position: relative;
  background-color: var(--black-color);
}

.home__container {
  position: relative;
  row-gap: 3rem;
  padding-block: 2.5rem 6rem;
}

.home__content {
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.home__title span {
  display: inline-block;
  position: relative;
}

.home__title span::after {
  content: "";
  position: absolute;
  background-color: var(--first-color);
  height: 5px;
  width: 100%;
  left: 0;
  bottom: 7px;
}

.home__description {
  margin-bottom: 2.5rem;
  color: var(--text-color-light);
}

.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.home__info {
  display: flex;
  justify-content: center;
  column-gap: 4.5rem;
}

.home__info-title {
  color: var(--second-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
}

.home__info-description {
  font-size: var(--small-font-size);
  color: var(--white-color);
}

.home__images {
  position: relative;
  justify-self: center;
}

.home__img-1 {
  width: 250px;
  margin-left: 3.5rem;
}

.home__img-2 {
  width: 150px;
  border: 5px solid var(--black-color);
  position: absolute;
  left: 0;
  bottom: -3.5rem;
}

.home__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 1rem;
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, 0.3);
  color: var(--white-color);
}

.button__link {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--first-color);
}

.button__link span {
  font-weight: var(--font-semi-bold);
}

.button__link i {
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.button__link:hover i {
  transform: translateX(0.25rem);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 8rem;
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 2rem;
  line-height: 1.4;
}

.about__list {
  text-align: initial;
  grid-template-columns: repeat(2, 130px);
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about__list-item {
  display: flex;
  column-gap: 0.5rem;
  color: var(--title-color);
}

.about__list-item i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.about__images {
  position: relative;
  justify-self: center;
}

.about__img-1 {
  width: 200px;
  border: 5px solid var(--body-color);
  position: absolute;
  top: -5rem;
  left: 6rem;
}

.about__img-2 {
  width: 250px;
  margin-right: 2.5rem;
}

/*=============== SERVICES ===============*/
.services {
  position: relative;
}

.services__container {
  position: relative;
  row-gap: 3rem;
}

.services__data {
  text-align: center;
}

.services__description {
  margin-bottom: 2rem;
}

.services__button {
  margin-top: 5rem;
}

.services__card {
  width: 360px;
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 2rem 1rem 3.5rem;
  transition: border-color 0.4s;
}

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

.services__icon {
  width: 70px;
  height: 70px;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.services__shape {
  position: absolute;
  width: 100%;
  height: 245px;
  background-color: var(--black-color);
  bottom: 0;
  left: 0;
}

/*=============== POPUP MODAL ===============*/
.modal {
  position: fixed;
  inset: 0;
  background-color: hsla(5, 90%, 4%, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: var(--z-fixed);
  transition: opacity 0.4s, visibility 0.4s;
  display: block;
}

.modal__card {
  position: relative;
  background-color: var(--body-color);
  padding: 3rem 1.25rem 2rem;
  display: grid;
  row-gap: 1.5rem;
  text-align: center;
  transform: rotateX(90deg);
  transition: transform 0.6s;
}

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

.modal_wrapper {
  display: flex;
}

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

.modal__info {
  margin-bottom: 1rem;
}

.modal__buttons {
  display: flex;
  gap: 0.5rem;
}

.modal__button {
  flex-grow: 1;
  outline: none;
  border: none;
  background-color: var(--first-color);
  padding-block: 1rem;
  color: var(--white-color);
  font: var(--font-semi-bold) var(--normal-font-size) var(--body-font);
  cursor: pointer;
  transition: background-color 0.4s;
}

.modal__button:hover {
  background-color: var(--first-color-alt);
}

.modal__button-ghost {
  background-color: var(--body-color);
  color: var(--title-color);
  border: 3px solid var(--first-color);
}

.modal__button-ghost:hover {
  background-color: var(--body-color);
}

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

.active-modal .modal__card {
  transform: rotateX(0);
}

/*=============== PROJECTS ===============*/
.projects {
  background-color: var(--black-color);
}

.projects .section__title {
  color: var(--white-color);
}

.projects__container {
  padding-block: 1.5rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
}

/* .projects__card {
  background-color: var(--container-color);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: border-color 0.4s;
}

.projects__card:hover {
  border-color: var(--first-color);
} */

.projects__link-img {
  height: 300px;
  width: 300px;
  margin: 20px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 5px #000;
}

.projects__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s;
}

.projects__img:hover {
  transform: scale(1.4);
}

/* ============ PRICING */
.pricing-section {
  padding: 60px 0;
  font-family: "Roboto", sans-serif;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #3498db;
  display: block;
  margin: 10px auto;
}

.card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.pricing-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.card-price {
  font-size: 28px;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 10px;
}

.card-description {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.card-list {
  font-size: 16px;
  color: #7f8c8d;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.card-list li {
  margin-bottom: 8px;
}

.card-icon {
  position: absolute;
  top: -30px;
  right: 20px;
  font-size: 50px;
  color: #3498db;
  opacity: 0.1;
}

@media (max-width: 768px) {
  .card-icon {
    display: none;
  }
}

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

.contact__map iframe {
  width: 500px;
  height: 500px;
  border: 3px solid var(--gray-border);
}

.contact__data {
  grid-template-columns: 230px;
  justify-content: center;
  row-gap: 1.5rem;
}

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

/* CONTACT FORM */
.contact__form {
  position: relative;
  width: 480px;
  background-color: #fff;
  box-sizing: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.heading {
  font-size: 2.5em;
  /* font-weight: center; */
  text-align: center;
  /* padding-top: 40px; */
  color: var(--first-color);
}

form {
  display: flex;
  flex-direction: column;
  margin: 20px 50px;
}

.form-control {
  position: relative;
  height: 60px;
  line-height: 60px;
  margin: 12px 0;
}

.form-control input,
.form-control textarea {
  outline: none;
  position: absolute;
  z-index: 1;
  width: 100%;
  font-size: 1.2em;
  line-height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  padding-right: 5em;
  transition: 0.2s ease;
  background-color: transparent;
}

.form-control input:focus,
.form.control input:valid {
  color: #3794ff;
  border: 3px solid var(--second-color);
}

.form-control textarea:focus,
.form.control textarea:valid {
  color: #3794ff;
  border: 3px solid var(--second-color);
}

.form-control input:focus + .label,
.form-control input:valid + .label,
.form-control textarea:focus + .label,
.form-control textarea:valid + .label {
  color: var(--second-color);
  transform: translate(-8px, -15px) scale(0.88);
  height: 30px;
  line-height: 30px;
  z-index: 1111;
}

.form-control .form-icon {
  position: absolute;
  right: 30px;
  font-size: 1.8em;
  z-index: 11;
  color: rgba(0, 0, 0, 0.5);
}

.form-control textarea {
  line-height: 20px;
  height: 100px;
  padding: 20px;
  font-size: 1em;
  resize: none;
}

.form-control label {
  position: absolute;
  font-size: 1.2em;
  color: rgba(0, 0, 0, 0.2);
  padding: 0 5px;
  margin: 0 20px;
  background: #fff;
  transition: 0.2s ease;
}

.submit-btn {
  margin-top: 80px;
  font-size: 1.6em;
  font-weight: 500;
  border-radius: 10px;
  background: var(--first-gradient);
  padding: 16px 0;
  border: none;
  color: #fff;
}

.submit-btn:hover {
  cursor: pointer;
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--black-color);
  color: var(--text-color-light);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  row-gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--black-border);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
}

.footer__logo span {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.footer__logo i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.footer__description {
  margin-block: 1rem;
}

.footer__email,
.footer__info {
  font-style: normal;
}

.footer__info p {
  margin-bottom: 0.9rem;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  gap: 4rem 3rem;
}

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

.footer__links,
.footer__list {
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: color 0.4s;
}

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

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform 0.4s;
}

.footer__social-link:hover {
  transform: translateY(-0.25rem);
}

.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  margin-top: 4rem;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.15);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}

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

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .section__title {
    font-size: 1.25rem;
  }

  .home__title {
    font-size: 1.75rem;
  }
  .home__buttons {
    flex-direction: column;
  }
  .home__img-1 {
    width: 200px;
    margin-left: 1.5rem;
  }

  .about__list {
    grid-template-columns: repeat(1, 200px);
  }
  .about__img-1 {
    width: 150px;
    left: 4rem;
  }
  .about__img-2 {
    width: 200px;
    margin-right: 0;
  }

  .footer__content {
    grid-template-columns: repeat(1, max-content);
  }
}

/* For medium devices */
@media screen and (min-width: 540px) {
  .home__container,
  .about__container,
  .services__container,
  .projects__container,
  .contact__container {
    grid-template-columns: 360px;
    justify-content: center;
  }

  .footer__content {
    grid-template-columns: repeat(3, max-content);
  }
}

@media screen and (min-width: 768px) {
  .nav__menu {
    width: 50%;
  }

  .projects__container {
    grid-template-columns: repeat(2, 330px);
  }

  .contact__data {
    grid-template-columns: repeat(2, 240px);
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
}

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

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

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .nav__menu {
    width: initial;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 2.5rem;
  }

  .bg-header .nav__link {
    color: var(--text-color);
  }
  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--first-color);
  }
  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white-color);
  }

  .home__container {
    grid-template-columns: 475px 550px;
    column-gap: 6rem;
    align-items: flex-start;
    padding-top: 5.5rem;
  }
  .home__content {
    row-gap: 4.5rem;
  }
  .home__data {
    text-align: initial;
  }
  .home__description {
    margin-bottom: 3rem;
  }
  .home__buttons {
    justify-content: initial;
    column-gap: 3rem;
  }
  .home__info {
    justify-content: initial;
    column-gap: 5.5rem;
  }
  .home__info-description {
    font-size: var(--normal-font-size);
  }
  .home__img-1 {
    width: 550px;
    margin-left: 0;
  }
  .home__img-2 {
    width: 350px;
    border-width: 10px;
    left: -7rem;
    bottom: -8rem;
  }
  .home__lines {
    object-position: center;
  }

  .about__container {
    grid-template-columns: repeat(2, 480px);
    column-gap: 9rem;
    padding-block: 9rem 2rem;
  }
  .about__images {
    order: -1;
  }
  .about__img-1 {
    width: 370px;
    border-width: 10px;
    top: -9rem;
    left: 11rem;
  }
  .about__img-2 {
    width: 470px;
  }
  .about__data,
  .about__data :is(.section__title, .section__subtitle) {
    text-align: initial;
  }
  .about__list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 3.5rem;
  }

  .services__container {
    grid-template-columns: initial;
    row-gap: 5rem;
    padding-bottom: 4.5rem;
  }
  .services__data {
    display: grid;
    grid-template-columns: 415px 370px max-content;
    justify-content: space-between;
    align-items: center;
  }
  .services__data :is(.section__title, .section__subtitle),
  .services__description {
    text-align: initial;
  }
  .services__data .section__title {
    margin-bottom: 0;
  }
  .services__swiper {
    max-width: 1100px;
  }

  .services__wrapper {
    display: flex;
    gap: 15px;
  }

  .services__card {
    border-width: 3px;
    padding: 3.5rem 2rem 6rem;
  }
  .services__shape {
    height: 330px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    bottom: 3rem;
  }

  .projects__container {
    grid-template-columns: repeat(3, 350px);
    column-gap: 2rem;
    padding-block: 5rem 4rem;
  }
  .projects__card {
    border-width: 3px;
  }
  .projects__data {
    padding: 2rem 1.5rem 4rem;
  }

  .contact :is(.section__title, .section__subtitle) {
    text-align: initial;
  }
  .contact__container {
    grid-template-columns: 530px 515px;
    justify-content: initial;
    align-items: flex-start;
    column-gap: 3.5rem;
    padding-block: 3.5rem 4rem;
  }
  .contact__img {
    width: 530px;
  }
  .contact__data {
    gap: 2rem;
  }
  .contact__card {
    border-width: 3px;
  }
  .contact__title {
    font-size: var(--h3-font-size);
  }

  .footer {
    padding-block: 4.5rem 3rem;
  }
  .footer__container {
    padding-bottom: 6rem;
  }
  .footer__content {
    column-gap: 7rem;
  }
  .footer__description {
    margin-block: 1.5rem;
  }
  .footer__title {
    margin-bottom: 1.5rem;
  }
  .footer__links,
  .footer__list {
    row-gap: 1rem;
  }

  .scrollup {
    right: 3rem;
  }
}

/*================== fix for contact section================ */

/*google map */
/* Responsive Styles */

/* Extra Small Screens (Mobile): do 576px */
@media (max-width: 576px) {
  .contact__container {
    padding-block: 1rem; /* Mniejszy padding dla sekcji */
  }

  .contact__map iframe {
    width: 100%; /* Szerokość 100% dla mapy */
    height: 250px; /* Mniejsza wysokość mapy */
  }

  .contact__data {
    grid-template-columns: 1fr; /* Jedna kolumna dla danych kontaktowych */
  }
}

/* Small Screens (Tablets): od 577px do 768px */
@media (min-width: 577px) and (max-width: 768px) {
  .contact__container {
    padding-block: 1.5rem 2rem; /* Standardowy padding */
  }

  .contact__map iframe {
    width: 100%; /* Szerokość 100% dla mapy */
    height: 300px; /* Wysokość mapy dla tabletów */
  }
}

/* Medium Screens (Large Tablets): od 769px do 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact__container {
    padding-block: 1.5rem 3rem; /* Standardowy padding */
  }

  .contact__map iframe {
    width: 100%; /* Szerokość 100% dla mapy */
    height: 400px; /* Wysokość mapy */
  }

  .contact__data {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Dwie kolumny dla danych kontaktowych */
  }
}

/* Large Screens (Desktops): od 1025px do 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
  .contact__container {
    padding-block: 1.5rem 3rem; /* Standardowy padding */
  }

  .contact__map iframe {
    width: 500px; /* Utrzymanie oryginalnej szerokości mapy */
    height: 500px; /* Utrzymanie oryginalnej wysokości mapy */
  }

  .contact__data {
    grid-template-columns: repeat(
      3,
      1fr
    ); /* Trzy kolumny dla danych kontaktowych */
  }
}

/* contact form */
/* Extra Small Screens (Mobile): do 576px */
@media (max-width: 576px) {
  .contact__form {
    width: 100%;
  }

  .contact__form.container {
    margin: 0;
  }

  .form-control {
    margin: 10px 0; /* Mniejszy odstęp między polami */
    width: 100%;
  }

  .form-control input,
  .form-control textarea {
    width: 100%; /* Szerokość 100% */
    font-size: 1em; /* Mniejszy rozmiar czcionki */
    padding: auto; /* Mniejszy padding */
    border-radius: 5px; /* Zaokrąglone rogi */
  }

  .submit-btn {
    width: 100%; /* Przycisk na całą szerokość */
    /* Mniejszy margines górny */
  }

  form {
    margin: 20px 10px;
  }
}

/* Small Screens (Tablets): od 577px do 768px */
@media (min-width: 577px) and (max-width: 768px) {
  .contact__form {
    padding: 20px; /* Standardowy padding */
  }

  .form-control input,
  .form-control textarea {
    width: 100%; /* Szerokość 100% */
    font-size: 1.1em; /* Zwiększony rozmiar czcionki */
    padding: 15px; /* Standardowy padding */
  }

  .submit-btn {
    width: 100%; /* Przycisk na całą szerokość */
  }
}

/* Medium Screens (Large Tablets): od 769px do 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact__form {
    padding: 20px; /* Standardowy padding */
  }

  .form-control input,
  .form-control textarea {
    width: 100%; /* Szerokość 100% */
    font-size: 1.2em; /* Standardowy rozmiar czcionki */
    padding: 15px; /* Standardowy padding */
  }

  .submit-btn {
    width: 100%; /* Przycisk na całą szerokość */
  }
}

/* Large Screens (Desktops): od 1025px do 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
  .contact__form {
    padding: 20px; /* Standardowy padding */
  }

  .form-control input,
  .form-control textarea {
    width: 100%; /* Szerokość 100% */
    font-size: 1.2em; /* Standardowy rozmiar czcionki */
    padding: 15px; /* Standardowy padding */
  }

  .submit-btn {
    width: 100%; /* Przycisk na całą szerokość */
  }
}

/* ===== services section ====fixed rwd styles */

/* modal styles rwd */
@media (max-width: 576px) {
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal__card {
    width: 90%; /* Szerokość na 90% */
    max-width: 400px; /* Maksymalna szerokość */
    padding: 15px; /* Padding wewnętrzny */
  }

  .modal__name {
    font-size: 1.5em; /* Rozmiar nagłówka */
  }

  .modal__info {
    font-size: 0.9em; /* Rozmiar tekstu */
  }

  .tabs__nav {
    font-size: 0.9em; /* Rozmiar tekstu na zakładkach */
  }
}

/* Small Screens (Tablets) */
@media (min-width: 577px) and (max-width: 768px) {
  .modal__card {
    width: 80%; /* Szerokość na 80% */
    max-width: 600px; /* Maksymalna szerokość */
    padding: 20px; /* Padding wewnętrzny */
  }

  .modal__name {
    font-size: 1.8em; /* Rozmiar nagłówka */
  }

  .modal__info {
    font-size: 1em; /* Rozmiar tekstu */
  }

  .tabs__nav {
    font-size: 1em; /* Rozmiar tekstu na zakładkach */
  }
}

/* Medium Screens (Large Tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .modal__card {
    width: 70%; /* Szerokość na 70% */
    max-width: 700px; /* Maksymalna szerokość */
  }

  .modal__name {
    font-size: 2em; /* Rozmiar nagłówka */
  }

  .modal__info {
    font-size: 1.1em; /* Rozmiar tekstu */
  }
}

/* Large Screens (Desktops) */
@media (min-width: 1025px) and (max-width: 1400px) {
  .modal__card {
    width: 60%; /* Szerokość na 60% */
    max-width: 800px; /* Maksymalna szerokość */
  }

  .modal__name {
    font-size: 2.2em; /* Rozmiar nagłówka */
  }

  .modal__info {
    font-size: 1.2em; /* Rozmiar tekstu */
  }
}

/* Extra Large Screens (Wider Desktops) */
@media (min-width: 1400px) {
  .modal__card {
    width: 50%; /* Szerokość na 50% */
    max-width: 900px; /* Maksymalna szerokość */
  }

  .modal__name {
    font-size: 2.5em; /* Rozmiar nagłówka */
  }

  .modal__info {
    font-size: 1.3em; /* Rozmiar tekstu */
  }
}
