@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap");

:root {
  --background: #1f4251;
  --blue: #08e2d2;
  --dark-blue: #225687;
  --white: #ffffff;
  --border: 0.1rem solid var(--white);
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: white;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
}

*::selection {
  background-color: var(--background);
  color: var(--white);
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--background);
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

h1,
h2 {
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background);
  box-shadow: var(--white);
  z-index: 1000;
}

.header .navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1rem 3rem;
}

.header .navbar-container .logo img {
  height: 3rem;
}

.header .navbar-container .nav-list ul {
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.header .navbar-container .nav-list li {
  list-style-type: none;
}

.header .navbar-container .nav-list li a {
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
}

.header .navbar-container .nav-list li a:hover {
  color: var(--blue);
  border-bottom: 0.3rem solid var(--dark-blue);
}

#menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.hidden {
  display: none;
}

.footer {
  background-color: var(--background);
  padding: 2rem 3rem;
  font-size: 1rem;
}

.footer h1 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.footer .footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.footer span {
  text-transform: uppercase;
}

.footer .footer-container .branch-office .branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.footer .footer-container .branch-office .branches span {
  color: var(--blue);
  font-style: italic;
  text-transform: capitalize;
}

.footer .footer-container .contact-us ul {
  list-style: none;
  padding: 0;
}

.footer .footer-container .contact-us .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer .footer-container .contact-us li img {
  height: 2.5rem;
  background-color: white;
  padding: 0.3rem;
  border-radius: 0.3rem;
}

.footer .footer-container .contact-us a {
  text-transform: lowercase;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0;
}

main {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, #101720, #2b545e);
  background-size: cover;
  background-position: center;
}

.image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* home section */
.home-bg {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.home-bg .top-right {
  position: absolute;
  top: 3rem;
  right: 3rem;
}

.home-bg .top-right img {
  height: 10rem;
}

.home-bg .bottom-right {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  text-align: right;
}

.home-bg .bottom-right h1 {
  font-size: 4rem;
  color: var(--white);
  text-transform: uppercase;
  border-bottom: 0.3rem solid var(--blue);
}

.home-bg .bottom-right span {
  color: var(--blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.home-bg .bottom-right p {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
}

/* about section */
.about-us {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}
.about-us .top-right {
  position: absolute;
  top: 3rem;
  right: 3rem;
}

.about-us .top-right img {
  height: 3rem;
}

.about-us .top-left {
  position: absolute;
  top: 3rem;
  left: 3rem;
  text-align: left;
  max-width: 50%;
}

.about-us .top-left h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
}

.about-us .top-left span {
  color: var(--blue);
  text-transform: uppercase;
}

.about-us .top-left p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--white);
  text-transform: none;
  text-align: justify;
  line-height: 1.5;
}
.about-us .top-left hr {
  display: block;
  height: 0.5rem;
  border: 0;
  border-top: 0.1rem solid var(--white);
  margin: 0.5rem 0;
  padding: 0;
}

.about-us .top-left h2 {
  font-size: 2rem;
  color: var(--white);
  text-transform: none;
}

.about-us .top-left h3 {
  font-size: 2.5rem;
  color: var(--blue);
  text-transform: none;
  font-style: italic;
}

/* specialities section */
.specialities {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.specialities .top-left {
  position: absolute;
  top: 3rem;
  left: 3rem;
  text-align: left;
}

.specialities .top-left h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
}

.specialities .top-left span {
  color: var(--blue);
  text-transform: uppercase;
}

.specialities .bottom-left {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}

.specialities .bottom-left img {
  height: 3rem;
}

.specialities .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.specialities .center .box {
  width: 14rem;
  height: 13rem;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  margin: 0.5rem 0;
}

#specialities-1 {
  grid-row: span 2;
}

#specialities-2,
#specialities-4 {
  grid-row: span 2;
  align-self: center;
}

/* vision section */
.vision {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.vision .top-right {
  position: absolute;
  top: 3rem;
  right: 3rem;
  max-width: 50%;
  text-align: end;
}

.vision .top-right img {
  height: 3rem;
}

.vision .top-right .content {
  text-align: left;
  margin-top: 3rem;
}

.vision .top-right .content h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.vision .top-right .content span {
  color: var(--blue);
  text-transform: uppercase;
}

.vision .top-right .content ul.centered-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vision .top-right .content ul.centered-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.vision .top-right .content ul.centered-list li::before {
  content: "●";
  font-size: 2rem;
  color: var(--blue);
  margin-right: 1rem;
}

.vision .top-right .content ul.centered-list li p {
  margin: 0;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* history */
.history {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.history .bottom-left {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}

.history .bottom-left img {
  height: 3rem;
}

.history .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.history .center .box {
  width: 16.5rem;
  height: 40rem;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.history .center .box h1 {
  font-size: 3rem;
  color: var(--blue);
  text-shadow: 0.3rem 0.3rem #0f636d;
  margin-bottom: 0.5rem;
}

.history .center .box p {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
  font-style: italic;
}

#history-1 h1 {
  margin-top: 13rem;
}

#history-2 {
  justify-content: start;
  gap: 10rem;
}

#history-3 h1 {
  margin-top: 9rem;
}

#history-4 {
  justify-content: center;
  gap: 10rem;
}

/* activities section */
.activities {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}
.activities .top-right {
  position: absolute;
  top: 3rem;
  right: 3rem;
}

.activities .top-right img {
  height: 3rem;
}

.activities .top-right h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 8rem;
}

.activities .top-right span {
  color: var(--blue);
  text-transform: uppercase;
}

.activities .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.activities .center .box {
  width: 11rem;
  height: 10rem;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}

#activities-1 {
  grid-row: 1 / span 2; /* Starts at row 1, spans 1.5 rows */
  grid-column: 1; /* Stays in the first column */
  align-self: center;
}

#activities-2 {
  grid-row: 2 / span 2; /* Starts at row 1, spans 1.5 rows */
  grid-column: 1; /* Stays in the first column */
  align-self: center;
}

#activities-3 {
  grid-row: 1; /* Starts at row 1, spans 1.5 rows */
  grid-column: 2; /* Stays in the first column */
}

#activities-4 {
  grid-row: 2 / 4; /* Starts at row 1, spans 1.5 rows */
  grid-column: 2; /* Stays in the first column */
}

#activities-5 {
  grid-row: 3; /* Starts at row 1, spans 1.5 rows */
  grid-column: 2; /* Stays in the first column */
}

#activities-6 {
  grid-row: 1 / span 2; /* Starts at row 1, spans 1.5 rows */
  grid-column: 3; /* Stays in the first column */
  align-self: center;
}

#activities-7 {
  grid-row: 2 / span 2; /* Starts at row 1, spans 1.5 rows */
  grid-column: 3; /* Stays in the first column */
  align-self: center;
}

#activities-8 {
  grid-row: 3; /* Starts at row 1, spans 1.5 rows */
  grid-column: 4; /* Stays in the first column */
}

#activities-9 {
  grid-row: 2 / span 2; /* Starts at row 1, spans 1.5 rows */
  grid-column: 5; /* Stays in the first column */
  align-self: center;
}

/* partners section */
.partners {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.partners .top-left {
  position: absolute;
  top: 3rem;
  left: 3rem;
}

.partners .top-left h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 8rem;
}

.partners .top-left span {
  color: var(--blue);
  text-transform: uppercase;
}

.partners .bottom-left {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
}

.partners .bottom-left img {
  height: 3rem;
}

.partners .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 0.5rem;
  margin-left: 10rem;
}

.partners .center .box {
  width: 6rem;
  height: 5.4rem;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#partners-1 {
  grid-row: 3 / span 2;
  grid-column: 1;
  align-self: center;
}

#partners-2 {
  grid-row: 4 / span 2;
  grid-column: 1;
  align-self: center;
}

#partners-3 {
  grid-row: 4;
  grid-column: 2;
}

#partners-4 {
  grid-row: 5;
  grid-column: 2;
}

#partners-5 {
  grid-row: 2;
  grid-column: 3;
}

#partners-6 {
  grid-row: 4 / span 2;
  grid-column: 3;
  align-self: center;
}

#partners-7 {
  grid-row: 5 / span 2;
  grid-column: 3;
  align-self: center;
}

#partners-8 {
  grid-row: 1;
  grid-column: 4;
}

#partners-9 {
  grid-row: 2;
  grid-column: 4;
}

#partners-10 {
  grid-row: 3;
  grid-column: 4;
}
#partners-11 {
  grid-row: 4;
  grid-column: 4;
}

#partners-12 {
  grid-row: 5;
  grid-column: 4;
}

#partners-13 {
  grid-row: 6;
  grid-column: 4;
}

#partners-14 {
  grid-row: 2;
  grid-column: 5;
}

#partners-15 {
  grid-row: 4 / span 2;
  grid-column: 5;
  align-self: center;
}

#partners-16 {
  grid-row: 5 / span 2;
  grid-column: 5;
  align-self: center;
}

#partners-17 {
  grid-row: 4;
  grid-column: 6;
}

#partners-18 {
  grid-row: 5;
  grid-column: 6;
}

#partners-19 {
  grid-row: 3 / span 2;
  grid-column: 7;
  align-self: center;
}

#partners-20 {
  grid-row: 4 / span 2;
  grid-column: 7;
  align-self: center;
}

/* contacts section */
.contacts {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.contacts .top-left {
  position: absolute;
  top: 3rem;
  left: 3rem;
}

.contacts .top-left .footer-container {
  margin-top: 1rem;
}

.contacts h1 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contacts strong,
.contacts p,
.contacts .top-left .footer-container .branch-office .branches .branch span {
  font-size: 1rem;
}
.contacts span {
  text-transform: uppercase;
}

.contacts .top-left .footer-container .branch-office .branches .branch {
  margin-bottom: 1rem;
  line-height: 1.5;
  max-width: 70%;
}

.contacts .top-left .footer-container .branch-office .branches span {
  color: var(--blue);
  font-style: italic;
  text-transform: capitalize;
}

.contacts .bottom-right {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.contacts .bottom-right .contact-us ul {
  list-style: none;
  padding: 0;
}

.contacts .bottom-right .contact-us .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.contacts .bottom-right .contact-us li img {
  height: 1.5rem;
}

.contacts .bottom-right .contact-us a {
  color: #1f4251;
  text-transform: lowercase;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0;
}

/* spesialities item section */

.specialities-item {
  position: relative;
  width: 80%;
  height: 80%;
  overflow: hidden;
}

.specialities-item .top-left {
  position: absolute;
  top: 3rem;
  left: 3rem;
  right: 3rem;
}

.specialities-item .top-left h1 {
  font-size: 2rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.specialities-item .top-left span {
  color: var(--blue);
  text-transform: uppercase;
}

.specialities-item .top-left p {
  font-size: 1.2rem;
  color: var(--white);
  text-transform: none;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 1rem;
}

@media (max-width: 1535px) {
  .header .navbar-container {
    padding: 1rem 2rem;
  }

  .header .navbar-container .logo img {
    height: 2.3rem;
  }

  .header .navbar-container .nav-list ul {
    gap: 0.8rem;
  }

  .header .navbar-container .nav-list li a {
    font-size: 1rem;
  }

  .footer {
    padding: 2rem;
    font-size: 1rem;
  }

  /* home section */
  .home-bg .top-right {
    top: 2rem;
    right: 2rem;
  }
  .home-bg .top-right img {
    height: 8rem;
  }

  .home-bg .bottom-right {
    bottom: 2rem;
    right: 2rem;
  }
  .home-bg .bottom-right h1 {
    font-size: 2.5rem;
  }

  .home-bg .bottom-right p {
    font-size: 1.5rem;
  }

  /* about section */
  .about-us .top-right {
    top: 2rem;
    right: 2rem;
  }

  .about-us .top-left {
    top: 2rem;
    left: 2rem;
  }

  .about-us .top-left p {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .about-us .top-left h2 {
    font-size: 1.5rem;
  }
  .about-us .top-left h3 {
    font-size: 2rem;
  }

  /* specialities section */
  .specialities .top-left {
    top: 2rem;
    left: 2rem;
  }

  .specialities .bottom-left {
    bottom: 2rem;
    left: 2rem;
  }

  .specialities .center .box {
    width: 10rem;
    height: 9rem;
    font-size: 0.8rem;
  }

  /* vision section */

  .vision .top-right {
    top: 2rem;
    right: 2rem;
  }

  .vision .top-right .content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .vision .top-right .content ul.centered-list li {
    margin-bottom: 1rem;
    margin-left: 2rem;
  }

  .vision .top-right .content ul.centered-list li p {
    margin: 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
  }

  /* history */

  .history .bottom-left {
    bottom: 2rem;
    left: 2rem;
  }

  .history .center .box {
    width: 13.5rem;
    height: 33rem;
    font-size: 1rem;
  }

  .history .center .box p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  #history-1 h1 {
    margin-top: 11rem;
  }

  #history-2 {
    justify-content: start;
    gap: 8rem;
  }

  #history-3 h1 {
    margin-top: 8rem;
  }

  #history-4 {
    justify-content: center;
    gap: 8rem;
  }

  /* activities section */
  .activities .top-right {
    top: 2rem;
    right: 2em;
  }

  .activities .top-right h1 {
    margin-top: 6rem;
  }
  .activities .center .box {
    width: 10rem;
    height: 9rem;
  }

  /* partners section */

  .partners .top-left {
    top: 2rem;
    left: 2rem;
  }
  .partners .top-left h1 {
    margin-top: 8rem;
  }

  .partners .bottom-left {
    bottom: 2rem;
    left: 2rem;
  }

  .partners .center .box {
    width: 5rem;
    height: 4.4rem;
  }

  /* contacts section */

  .contacts .top-left {
    top: 2rem;
    left: 2rem;
  }

  .contacts h1 {
    font-size: 1.5rem;
  }

  .contacts .top-left .footer-container .branch-office .branches .branch {
    margin-bottom: 1rem;
    line-height: 1.2rem;
    max-width: 65%;
  }

  .contacts .bottom-right {
    bottom: 0.5rem;
    right: 1.5rem;
  }
  .contacts .bottom-right .contact-us li img {
    height: 1.2rem;
  }

  .contacts .bottom-right .contact-us a {
    font-size: 0.8rem;
  }

  /* spesialities item section */

  .specialities-item .top-left {
    top: 2rem;
    left: 2rem;
    right: 2rem;
  }

  .specialities-item .top-left h1 {
    font-size: 2rem;
  }
  .specialities-item .top-left p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 1279px) {
  .header .navbar-container .logo img {
    height: 2rem;
  }

  .header .navbar-container .nav-list ul {
    gap: 0.5rem;
  }

  .header .navbar-container .nav-list li a {
    font-size: 0.8rem;
  }

  /* home section */
  .home-bg .top-right img {
    height: 6rem;
  }

  .home-bg .bottom-right h1 {
    font-size: 2rem;
  }

  .home-bg .bottom-right p {
    font-size: 1rem;
  }

  /* about section */

  .about-us .top-right img {
    height: 2.5rem;
  }

  .about-us .top-left p {
    font-size: 1rem;
    line-height: 1.2rem;
  }

  .about-us .top-left h1 {
    font-size: 1.5rem;
  }

  .about-us .top-left hr {
    height: 0.5rem;
    margin: 0.5rem 0;
  }

  .about-us .top-left h2 {
    font-size: 1.3rem;
  }

  .about-us .top-left h3 {
    font-size: 1.5rem;
  }

  /* specialities section */

  .specialities .bottom-left img {
    height: 2.5rem;
  }

  .specialities .center .box {
    width: 9rem;
    height: 8rem;
    font-size: 0.7rem;
  }

  /* vision section */

  .vision .top-right img {
    height: 2.5rem;
  }

  .vision .top-right .content h1 {
    font-size: 1rem;
  }

  .vision .top-right .content ul.centered-list li {
    margin-bottom: 0.8rem;
    margin-left: 1rem;
  }

  .vision .top-right .content ul.centered-list li p {
    font-size: 0.8rem;
  }

  /* history */

  .history .bottom-left img {
    height: 2.5rem;
  }

  .history .center {
    gap: 0.5rem;
  }

  .history .center .box {
    width: 12rem;
    height: 28rem;
    padding: 0.5rem;
  }

  .history .center .box h1 {
    font-size: 2rem;
  }

  .history .center .box p {
    font-size: 0.6rem;
    line-height: 1rem;
  }

  #history-1 h1 {
    margin-top: 9rem;
  }

  #history-2 {
    justify-content: start;
    gap: 8rem;
  }

  #history-3 h1 {
    margin-top: 8rem;
  }

  #history-4 {
    justify-content: center;
    gap: 7rem;
  }

  /* activities section */

  .activities .top-right img {
    height: 2.5rem;
  }

  .activities .top-right h1 {
    margin-top: 4rem;
    margin-left: 2rem;
  }

  .activities .center .box {
    width: 8rem;
    height: 7rem;
    margin: 0.5rem 0;
  }

  /* partners section */

  .partners .top-left h1 {
    font-size: 2rem;
    margin-top: 4rem;
  }

  .partners .bottom-left img {
    height: 2.5rem;
  }

  .partners .center {
    margin-left: 6rem;
    gap: 0.1rem;
  }
  .partners .center .box {
    width: 4.4rem;
    height: 4rem;
  }

  /* contacts section */

  .contacts h1 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .contacts strong,
  .contacts p,
  .contacts .top-left .footer-container .branch-office .branches .branch span {
    font-size: 0.7rem;
  }

  .contacts .top-left .footer-container .branch-office .branches .branch {
    margin-bottom: 0.5rem;
    line-height: 1rem;
  }

  .contacts .bottom-right {
    right: 1rem;
    bottom: 0.5rem;
  }
  .contacts .bottom-right .contact-us .contact-item {
    gap: 0.5rem;
    margin-bottom: 0.2rem;
  }

  .contacts .bottom-right .contact-us li img {
    height: 0.9rem;
  }

  .contacts .bottom-right .contact-us a {
    font-size: 0.7rem;
  }

  .footer {
    padding: 2rem;
    font-size: 0.8rem;
  }

  .footer .footer-container .contact-us .contact-item {
    gap: 0.5rem;
  }
  .footer .footer-container .contact-us li img {
    height: 2rem;
  }

  .footer .footer-container .contact-us a {
    font-size: 0.8rem;
  }

  /* spesialities item section */

  .specialities-item .top-left h1 {
    font-size: 1.5rem;
  }
  .specialities-item .top-left p {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1023px) {
  .header .navbar-container {
    padding: 1rem;
  }
  .header .navbar-container .logo img {
    height: 1.5rem;
  }

  .header .navbar-container .nav-list ul {
    gap: 0.3rem;
  }

  .header .navbar-container .nav-list li a {
    font-size: 0.6rem;
  }

  .footer {
    font-size: 0.7rem;
    padding: 1rem;
  }

  .footer .footer-container {
    gap: 0.8rem;
  }

  .footer .footer-container .contact-us .contact-item {
    gap: 0.7rem;
  }

  .footer .footer-container .contact-us li img {
    height: 1.7rem;
  }

  .footer .footer-container .contact-us a {
    font-size: 0.7rem;
  }

  /* home section */

  .home-bg .top-right {
    top: 1.5rem;
    right: 1.5rem;
  }

  .home-bg .top-right img {
    height: 4.5rem;
  }

  .home-bg .bottom-right {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .home-bg .bottom-right h1 {
    font-size: 1.5rem;
  }

  .home-bg .bottom-right p {
    font-size: 1rem;
  }
  /* about section */
  .about-us .top-right {
    top: 1.5rem;
    right: 1.5rem;
  }

  .about-us .top-right img {
    height: 1.8rem;
  }

  .about-us .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }

  .about-us .top-left h1 {
    font-size: 1rem;
  }

  .about-us .top-left p {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .about-us .top-left hr {
    height: 0.2rem;
    margin: 0.3rem 0;
  }

  .about-us .top-left h2 {
    font-size: 1rem;
  }

  .about-us .top-left h3 {
    font-size: 1.2rem;
  }

  /* specialities section */
  .specialities .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }

  .specialities .top-left h1 {
    font-size: 1rem;
  }

  .specialities .bottom-left {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .specialities .bottom-left img {
    height: 1.8rem;
  }

  .specialities .center .box {
    width: 7rem;
    height: 6rem;
    font-size: 0.6rem;
    margin: 0.5rem 0;
  }

  /* vision section */

  .vision .top-right {
    top: 1.5rem;
    right: 1.5rem;
  }

  .vision .top-right img {
    height: 1.8rem;
  }
  .vision .top-right .content {
    margin-top: 1rem;
  }

  .vision .top-right .content h1 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .vision .top-right .content ul.centered-list li {
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
  }

  .vision .top-right .content ul.centered-list li p {
    font-size: 0.7rem;
  }

  .vision .top-right .content ul.centered-list li::before {
    font-size: 1.5rem;
  }

  /* history section */
  .history .bottom-left {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .history .bottom-left img {
    height: 1.8rem;
    display: none;
  }

  .history .center {
    gap: 0.3rem;
  }

  .history .center .box {
    width: 9rem;
    height: 21rem;
    padding: 0.3rem;
  }

  .history .center .box h1 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .history .center .box p {
    font-size: 0.6rem;
    line-height: 1rem;
  }

  #history-1 h1 {
    margin-top: 10rem;
  }

  #history-2 {
    justify-content: start;
    gap: 6rem;
  }

  #history-3 h1 {
    margin-top: 8rem;
  }

  #history-4 {
    justify-content: center;
    gap: 5rem;
  }

  #history-4 h1 {
    margin-top: 3rem;
  }

  /* activities section */
  .activities .top-right {
    top: 1.5rem;
    right: 1.5rem;
  }

  .activities .top-right img {
    height: 1.8rem;
  }

  .activities .top-right h1 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-left: 1rem;
  }

  .activities .center .box {
    width: 7rem;
    height: 6rem;
    margin: 0.2rem 0;
  }

  /* partners section */

  .partners .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }

  .partners .top-left h1 {
    font-size: 1.5rem;
    margin-top: 3rem;
  }

  .partners .bottom-left {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .partners .bottom-left img {
    height: 1.8rem;
  }

  .partners .center {
    margin-left: 3rem;
    gap: 0.1rem;
  }
  .partners .center .box {
    width: 3.4rem;
    height: 3rem;
  }

  /* contacts section */

  .contacts .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }
  .contacts .top-left .footer-container {
    margin-top: 0.5rem;
  }

  .contacts h1 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .contacts strong,
  .contacts p,
  .contacts .top-left .footer-container .branch-office .branches .branch span {
    font-size: 0.6rem;
  }

  .contacts .top-left .footer-container .branch-office .branches .branch {
    margin-bottom: 0.3rem;
    line-height: 0.7rem;
  }

  .contacts .bottom-right {
    right: 0.5rem;
    bottom: 0.3rem;
  }
  .contacts .bottom-right .contact-us .contact-item {
    gap: 0.4rem;
    margin-bottom: 0.1rem;
  }

  .contacts .bottom-right .contact-us li img {
    height: 0.8rem;
  }

  .contacts .bottom-right .contact-us a {
    font-size: 0.5rem;
  }

  /* spesialities item section */

  .specialities-item .top-left {
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  .specialities-item .top-left h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .specialities-item .top-left p {
    font-size: 0.7rem;
    line-height: 1.1;
  }
}

@media (max-width: 767px) {
  #menu-btn {
    display: inline-block;
    transition: 0.2s linear;
  }

  #menu-btn.fa-times {
    transform: rotate(180deg);
  }

  .header .navbar-container .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-top: var(--border);
    border-bottom: var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.2s linear;
  }

  .header .navbar-container .nav-list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar-container .nav-list ul {
    display: block;
    margin: 2rem;
  }
  .header .navbar-container .nav-list li {
    margin: 0.8rem 0;
  }

  .header .navbar-container .nav-list li a {
    font-size: 0.8rem;
  }

  .header .navbar-container {
    padding: 1rem 2rem;
  }
  .header .navbar-container .logo img {
    height: 1.8rem;
  }

  .footer {
    padding: 1rem 2rem;
  }

  .footer .footer-container {
    gap: 0.8rem;
  }

  .footer .footer-container .contact-us .contact-item {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  .footer .footer-container .contact-us li img {
    height: 1.5rem;
  }

  .footer .footer-container .contact-us a {
    font-size: 0.7rem;
  }

  .footer .footer-container .branch-office .branches {
    gap: 0.5rem;
  }

  /* home section */

  .home-bg .top-right {
    top: 1rem;
    right: 1rem;
  }

  .home-bg .top-right img {
    height: 4rem;
  }

  .home-bg .bottom-right {
    bottom: 1rem;
    right: 1rem;
  }

  .home-bg .bottom-right h1 {
    font-size: 1.3rem;
  }

  .home-bg .bottom-right p {
    font-size: 0.8rem;
  }

  /* about section */
  .about-us .top-right {
    top: 1rem;
    right: 1rem;
  }

  .about-us .top-right img {
    height: 1.5rem;
  }

  .about-us .top-left {
    top: 1rem;
    left: 1rem;
  }

  .about-us .top-left h1 {
    font-size: 1rem;
  }

  .about-us .top-left p {
    margin-top: 0.5rem;
    font-size: 0.6rem;
    line-height: 0.8rem;
  }

  .about-us .top-left hr {
    height: 0.1rem;
    margin: 0.2rem 0;
  }

  .about-us .top-left h2 {
    font-size: 0.8rem;
  }

  .about-us .top-left h3 {
    font-size: 1rem;
  }

  /* specialities section */

  .specialities .top-left {
    top: 1rem;
    left: 1rem;
  }

  .specialities .top-left h1 {
    font-size: 1rem;
  }

  .specialities .bottom-left {
    bottom: 1rem;
    left: 1rem;
  }

  .specialities .bottom-left img {
    height: 1.5rem;
  }

  .specialities .center .box {
    width: 6rem;
    height: 5rem;
    font-size: 0.6rem;
    margin: 0.5rem 0;
  }

  /* vision section */

  .vision .top-right img {
    height: 1.5rem;
  }

  .vision .top-right .content {
    margin-top: 1rem;
  }

  .vision .top-right .content h1 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .vision .top-right .content ul.centered-list li {
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
  }

  .vision .top-right .content ul.centered-list li::before {
    font-size: 1rem;
  }

  .vision .top-right .content ul.centered-list li p {
    font-size: 0.5rem;
  }

  /* history section */

  .history .center {
    gap: 0.7rem;
  }

  .history .center .box {
    width: 7rem;
    height: 16rem;
    padding: 0.1rem;
  }

  .history .center .box h1 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .history .center .box p {
    font-size: 0.6rem;
    line-height: 0.7rem;
  }

  #history-1 h1 {
    margin-top: 8.5rem;
  }

  #history-2 {
    justify-content: start;
    gap: 5rem;
  }

  #history-3 h1 {
    margin-top: 7rem;
  }

  #history-4 {
    justify-content: center;
    gap: 4rem;
  }

  /* activities section */
  .activities .top-right {
    top: 1.5rem;
    right: 1.5rem;
  }

  .activities .top-right img {
    height: 1.5rem;
  }

  .activities .top-right h1 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .activities .center .box {
    width: 5.5rem;
    height: 4.5rem;
    margin: 0.2rem 0;
  }

  /* partners section */

  .partners .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }

  .partners .top-left h1 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .partners .bottom-left {
    left: 1.5rem;
    bottom: 1.5rem;
  }

  .partners .bottom-left img {
    height: 1.5rem;
  }

  .partners .center {
    margin-left: 2.5rem;
    gap: 0.1rem;
  }
  .partners .center .box {
    width: 2.8rem;
    height: 2.4rem;
  }

  /* contacts section */
  .contacts .top-left {
    top: 1.5rem;
    left: 1.5rem;
  }
  .contacts .top-left .footer-container {
    margin-top: 0.5rem;
  }

  .contacts h1 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
  }

  .contacts strong,
  .contacts p,
  .contacts .top-left .footer-container .branch-office .branches .branch span {
    font-size: 0.5rem;
  }
  .contacts .top-left .footer-container .branch-office .branches .branch {
    margin-bottom: 0.3rem;
    line-height: 0.5rem;
  }

  .contacts .bottom-right {
    right: 0.5rem;
    bottom: 0.3rem;
  }
  .contacts .bottom-right .contact-us .contact-item {
    gap: 0.2rem;
    margin-bottom: 0.1rem;
  }

  .contacts .bottom-right .contact-us li img {
    height: 0.6rem;
  }

  .contacts .bottom-right .contact-us a {
    font-size: 0.45rem;
  }

  /* spesialities item section */

  .specialities-item .top-left {
    top: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .specialities-item .top-left h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .specialities-item .top-left p {
    font-size: 0.65rem;
    line-height: 1;
  }
}

@media (max-width: 639px) {
  .header .navbar-container {
    padding: 1rem 1.5rem;
  }
  .header .navbar-container .logo img {
    height: 1.7rem;
  }
  .header .navbar-container .nav-list li a {
    font-size: 0.9rem;
  }

  .footer {
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  .footer h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .footer .footer-container {
    grid-template-columns: 1fr;
  }

  .footer .footer-container .branch-office .branches {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer .footer-container .contact-us .contact-item {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  .footer .footer-container .contact-us li img {
    height: 2rem;
    padding: 0.3rem;
  }

  .footer .footer-container .contact-us a {
    font-size: 0.9rem;
  }

  /* home section */
  .home-bg {
    width: 100%;
    height: 100%;
  }

  .home-bg .top-right img {
    height: 2.7rem;
  }

  .home-bg .bottom-right p {
    font-size: 0.9rem;
  }

  /* about section */

  .about-us {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .about-us .image-container img {
    display: none;
  }

  .about-us .top-right img {
    display: none;
  }

  .about-us .top-left {
    position: relative;
    max-width: 100%;
    top: 0;
    left: 0;
    right: 0;
  }

  .about-us .top-left h1 {
    font-size: 1rem;
  }
  .about-us .top-left p {
    border-radius: 0.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
  }

  .about-us .top-left hr {
    height: 0.5rem;
    margin: 0.5rem 0;
  }

  .about-us .top-left h2 {
    font-size: 1rem;
  }

  .about-us .top-left h3 {
    font-size: 1.3rem;
  }

  /* specialities section */

  .specialities {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .specialities .image-container img {
    display: none;
  }

  .specialities .bottom-left img {
    display: none;
  }

  .specialities .center {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .specialities .center .box {
    width: 8rem;
    height: 7rem;
    position: relative;
    font-size: 0.6rem;
    margin: 0 0;
  }

  #specialities-1,
  #specialities-2,
  #specialities-3,
  #specialities-4,
  #specialities-5,
  #specialities-6,
  #specialities-7 {
    grid-row: span 1;
  }

  /* vision section */

  .vision {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .vision .image-container img {
    display: none;
  }

  .vision .top-right img {
    display: none;
  }

  .vision .top-right {
    position: relative;
    max-width: 100%;
    top: 0;
    left: 0;
    right: 0;
  }

  .vision .top-right .content h1 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .vision .top-right .content ul.centered-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    margin-left: 1rem;
  }

  .vision .top-right .content ul.centered-list li::before {
    font-size: 1.5rem;
  }

  .vision .top-right .content ul.centered-list li p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
  }

  /* history section*/
  .history {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .history .image-container img {
    display: none;
  }

  .history .bottom-left {
    display: none;
  }

  .history .center {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  .history .center .box {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .history .center .box h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .history .center .box p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  #history-1 h1 {
    margin-top: 0;
  }

  #history-2 {
    justify-content: center;
    gap: 0;
  }

  #history-3 h1 {
    margin-top: 0;
  }

  #history-4 {
    justify-content: center;
    gap: 0;
  }

  #history-4 h1 {
    margin-top: 0;
  }

  /* activities section */

  .activities {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .activities .image-container img {
    display: none;
  }

  .activities .top-right {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }

  .activities .top-right h1 {
    font-size: 1rem;
    margin-top: 0;
    margin-left: 0;
  }
  .activities .top-right br {
    display: none;
  }

  .activities .top-right img {
    display: none;
  }

  .activities .center {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
  }

  .activities .center .box {
    width: 8rem;
    height: 7rem;
    position: relative;
  }

  #activities-1,
  #activities-2,
  #activities-3,
  #activities-4,
  #activities-5,
  #activities-6,
  #activities-7,
  #activities-8,
  #activities-9 {
    grid-row: span 1;
    grid-column: span 1;
  }

  /* specialities item section */
  .specialities-item {
    width: 100%;
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    padding: 1.5rem;
  }

  .specialities-item .image-container {
    display: none;
  }

  .specialities-item .top-left {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }

  .specialities-item .top-left h1 {
    font-size: 1rem;
  }

  .specialities-item .top-left p {
    font-size: 0.9rem;
  }

  /* partners section */
  .partners {
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 1.5rem;
  }

  .partners .image-container img {
    display: none;
  }

  .partners .top-left {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }

  .partners .top-left h1 {
    font-size: 1rem;
    margin-top: 0;
    margin-left: 0;
  }

  .partners .top-left br {
    display: none;
  }

  .partners .bottom-left img {
    display: none;
  }

  .partners .center {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-left: 0;
    margin-top: 1rem;
  }

  .partners .center .box {
    width: 5rem;
    height: 4.4rem;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #partners-1,
  #partners-2,
  #partners-3,
  #partners-4,
  #partners-5,
  #partners-6,
  #partners-7,
  #partners-8,
  #partners-9,
  #partners-10,
  #partners-11,
  #partners-12,
  #partners-13,
  #partners-14,
  #partners-15,
  #partners-16,
  #partners-17,
  #partners-18,
  #partners-19,
  #partners-20 {
    grid-row: span 1;
    grid-column: span 1;
    align-self: center;
  }

  /* contacts section */
  .contacts {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("/assets/img/hero-3.webp");
    background-size: cover;
    background-position: center;
    padding: 1.5rem;
  }

  .contacts .top-left {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
  }

  .contacts .image-container {
    display: none;
  }

  .contacts .top-left .footer-container {
    margin-top: 1rem;
  }

  .contacts h1 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .contacts strong,
  .contacts p,
  .contacts .top-left .footer-container .branch-office .branches .branch span {
    font-size: 0.9rem;
  }

  .contacts .top-left .footer-container .branch-office .branches .branch {
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 100%;
  }

  .contacts .bottom-right {
    margin-top: 1rem;
    position: relative;
    bottom: 0;
    right: 0;
  }

  .contacts .bottom-right .contact-us .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .contacts .bottom-right .contact-us li img {
    height: 2rem;
    background-color: white;
    padding: 0.3rem;
    border-radius: 0.3rem;
  }

  .contacts .bottom-right .contact-us a {
    color: white;
    text-transform: lowercase;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    margin: 0;
  }
}
