/*=============== 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,
      #046561);
  --first-gradient-lighten: linear-gradient(90deg,
      #7a9695);
  --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%);
  --border-color: hsl(228, 99%, 98%);


  --hue: 245;
  /* --first-color: hsl(var(--hue), 55%, 55%); */
  /* --first-color-light: hsl(var(--hue), 55%, 65%);
  --first-color-alt: hsl(var(--hue), 50%, 50%);
  --title-color: hsl(var(--hue), 30%, 95%);
  --text-color: hsl(var(--hue), 20%, 80%);
  --text-color-light: hsl(var(--hue), 20%, 70%); */
  --body-color: #1B1839;
  /* --container-color: hsl(var(--hue), 40%, 20%); */

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Syne", sans-serif;
  --biggest-font-size: 3rem;
  --big-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;


  /*========== 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: .938rem;
  --small-font-size: .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: .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;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.footer {
  padding-block: 5rem 1rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-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: .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 .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: .25rem;
}

.nav__logo span {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

.nav__logo i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.nav__toogle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
  transition: color .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 .4s;
  }


}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

.nav__link::after {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  position: absolute;
  left: 0%;
  bottom: -.5rem;
  transition: width .4s;
}

.nav__link:hover::after {
  width: 70%;

}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
/* .bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .1);

}

.bg-header .nav__logo span,
.bg-header .nav__toogle,
.bg-header .nav__link {
  color: var(--title-color);
}
 */

/* ACTIVE LINK */
.active-link::after {
  width: 60%;
}


.background-clip {
  position: absolute;
  right: 0%;
  bottom: 0%;
  z-index: -1;
}

@media (min-aspect-ratio:16/9) {
  .background-clip {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio:16/9) {
  .background-clip {
    width: auto;
    height: 100%;
  }
}


/* Dark overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* Adjust darkness here */
  z-index: -1;
}


/*=============== HOME ===============*/
.bg__background_img {
  position: relative;
  width: 100%;
  height: 500px;
  /* full screen */
  background-image: url("../img/sets.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

.home__content {
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white-color);
  font-size: 3.0rem;
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2.5rem;
  color: var(--white-color);
  font-weight: var(--font-bold);
}

.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: .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;
}

.home__title_h3 {
  color: var(--white-color);

}

/*=============== BUTTON ===============*/
.button {
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
}

/* .button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
} */

.button:hover {
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, .3);
  color: var(--white-color);
}

.button__link {
  display: flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--first-color);
}

.button__link span {
  font-weight: var(--font-semi-bold);
}

.button__link i {
  font-size: 1.5rem;
  transition: transform .4s;
}

.button__link:hover i {
  transform: translateX(.25rem);
}































/* 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 .4s;
  }


}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

.nav__link::after {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  position: absolute;
  left: 0%;
  bottom: -.5rem;
  transition: width .4s;
}

.nav__link:hover::after {
  width: 70%;

}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
/* .bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .1);

}

.bg-header .nav__logo span,
.bg-header .nav__toogle,
.bg-header .nav__link {
  color: var(--title-color);
}
 */

/* ACTIVE LINK */
.active-link::after {
  width: 60%;
}


.background-clip {
  position: absolute;
  right: 0%;
  bottom: 0%;
  z-index: -1;
}

@media (min-aspect-ratio:16/9) {
  .background-clip {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio:16/9) {
  .background-clip {
    width: auto;
    height: 100%;
  }
}


/* Dark overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* Adjust darkness here */
  z-index: -1;
}


/*=============== HOME ===============*/
.home__content {
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white-color);
  font-size: 3.0rem;
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2.5rem;
  color: var(--white-color);
  font-weight: var(--font-bold);
}

.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: .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;
}

.home__title_h3 {
  color: var(--white-color);

}

/*=============== BUTTON ===============*/
.button {
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
}

/* .button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
} */

.button:hover {
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, .3);
  color: var(--white-color);
}

.button__link {
  display: flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--first-color);
}

.button__link span {
  font-weight: var(--font-semi-bold);
}

.button__link i {
  font-size: 1.5rem;
  transition: transform .4s;
}

.button__link:hover i {
  transform: translateX(.25rem);
}

.portfolio {
  padding: 6rem 0 4rem;
  background-color: #E7F0E9;
}

.portfolio__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #0f2f25;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  /* increased base height */
  gap: 1.5rem;
}

.portfolio__card {
  border-radius: 20px;
  overflow: hidden;
  background: #ddd;
}

.portfolio__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Size variations to match layout */
.portfolio__card.large {
  grid-column: span 2;
}

.portfolio__card.tall {
  grid-row: span 2;
}

/* Hover effect (subtle, professional) */
.portfolio__card img {
  transition: transform 0.4s ease;
}

.portfolio__card:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 576px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}





/*=============== PROJECTS ===============*/
.projects__title {
  font-size: var(--h3-font-size);
  text-align: center;
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.projects__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #046561;
  margin-bottom: 1rem;
}

.section__title {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.typing {
  color: #046561;
}

.projects__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 2rem;
  margin-bottom: 0.3rem;
}

.projects__director {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 3rem;
}

/* Grid Container - New Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  height: 80vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

/* New Grid Layout: Left | Top-Middle, Bottom-Middle | Right */
.grid-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background-image: url('../img/img2.jpg');
}

.grid-item:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background-image: url('../img/Whatsapp\ Cover.jpg');
}

.grid-item:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background-image: url('../img/img3.jpg');
}

.grid-item:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  background-image: url('../img/operationforelectical.jpg');
}

/* Overlay on hover */
.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover::before {
  opacity: 1;
}

/* Content overlay */
.grid-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.grid-item:hover .grid-content {
  transform: translateY(0);
}

.grid-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.grid-content p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #ff5722;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section__title {
    font-size: 2rem;
  }

  .grid-container {
    height: 70vh;
    gap: 10px;
  }

  .grid-content h2 {
    font-size: 1.5rem;
  }

  .grid-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .projects {
    padding: 3rem 3%;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .section__title br {
    display: none;
  }

  .grid-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40vh 40vh;
    height: auto;
    gap: 10px;
    padding: 0 1rem 2rem 1rem;
  }

  .grid-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .grid-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .grid-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .grid-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }

  .grid-content {
    padding: 1.5rem;
  }

  .grid-content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .projects {
    padding: 2rem 5%;
  }

  .section__title {
    font-size: 1.3rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 35vh);
    gap: 10px;
  }

  .grid-item:nth-child(1),
  .grid-item:nth-child(2),
  .grid-item:nth-child(3),
  .grid-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .grid-content {
    padding: 1rem;
  }

  .grid-content h2 {
    font-size: 1.1rem;
  }

  .grid-content p {
    font-size: 0.85rem;
  }

  .fab {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
  }

}





/*=============== SUBSCRIBE ===============*/
.subscribe {
  padding: 2.5rem 0;
}

.subscribe__container {
  background-color: var(--body-color);
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: 6px solid var(--first-color-lighten);
  text-align: center;
}

.subscribe__title {
  font-size: var(--h2-font-size);
  color: #fff;
  margin-bottom: 1rem;
}

.subscribe__description {
  color: hsl(228, 90%, 92%);
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.subscribe__button:hover {
  background-color: var(--first-color);
}

/*=============== PROJECTS ===============*/
.projects {
  background-color: #FAF5EF;
}

.projects .section__title {
  color: var(--white-color);
}

.projects__container {
  padding-block: 1.5rem 3rem;
}

.projects__card {
  border: 2px solid transparent;
  background-clip: content-box;
  transition: border-color .4s;
  align-items: center;
  text-align: center;
}
.projects__data {
  padding: 1.5rem 1rem 3rem;
}

.project__title {
  font-size: var(--h2-font-size);
  margin-block: .5rem;
}

.projects__date {
  display: flex;
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.pojects__title {
  font-size: calc(var(--h3-font-size) + .2rem);
}




/*=============== FOOTER ===============*/
.footer__container {
  row-gap: 2.5rem;
}

.footer__logo {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  margin-bottom: .75rem;
}

.footer__logo i {
  font-size: 1.25rem;
}

.footer__description,
.footer__link {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--white-color);
}

.footer__content,
.footer__links {
  display: grid;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 4rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--white-color);
}

.footer__links {
  row-gap: .5rem;
}

.footer__link {
  color: var(--white-color);
  transition: .3s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  font-size: 1.25rem;
  color: var(--text-color);
  transition: .3s;
}

.footer__social-link:hover {
  color: var(--title-color);
}

.footer__info,
.footer__privacy {
  display: flex;
}

.footer__info {
  padding-bottom: 6rem;
  margin-top: 5.5rem;
  flex-direction: column;
  text-align: center;
  row-gap: 1.5rem;
}

.footer__copy,
.footer__privacy {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.footer__privacy {
  justify-content: center;
  column-gap: 1.25rem;
}

.footer {
  background-color: #0E0F11;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(228, 8%, 76%);
}

::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(228, 8%, 64%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(228, 8%, 54%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: #25D366;
  box-shadow: 0 8px 12px hsla(228, 66%, 45%, .1);
  display: inline-flex;
  padding: .35rem;
  border-radius: 1rem;
  color: var(--title-color);
  font-size: 3rem;
  z-index: var(--z-tooltip);
  transition: .3s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
  /* color: var(--first-color); */
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 8rem;
}





@media (max-width: 768px) {
  .home__title {
    text-align: center;
    padding-right: 250px;
    padding-top: 100px;
    width: 400px;
    font-size: var(--h1-font-size);
  }

  .bg__background_img {
    height: 40vh;
  }



  .footer__logo,
  .footer__description {
    text-align: left;
  }
}


/* 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__toogle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 3rem;
    margin-right: 10rem;
  }

  .nav__menu a {
    color: var(--white-color);
  }

  /* .bg__header .nav__link {
    color: var(--text-color);
  }

  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--black-color);
  }

  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white-color);
  } */


  .home__data {
    text-align: initial;
  }


  .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;
  }

  .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 2rem;
  }

}

@media screen and (min-width: 1023px) {
  .footer__container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer__content {
    justify-self: end;
  }


  .footer__content {
    grid-template-columns: repeat(4, max-content);
  }

  .footer__title {
    margin-bottom: 1.5rem;
  }

  .footer__link {
    row-gap: 1rem;
  }

  .footer__info {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 2rem;
  }

  .show-scroll {
    bottom: 3rem;
    right: 3rem;
  }

}

html,
body {
  overflow-x: hidden !important;
}