@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --main-color: #1b4a9c;
  --secondary-color: #0077ff;
  --third-color: #0502b1;
  --text-color: #f0f0f0;
}

/* Header */
.header {
  height: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main-color);
}

.nav {
  text-decoration: none;
  color: #f0f0f0;
}

.header img {
  margin-top: 1em;
}

.navigation {
  text-decoration: none;
  color: var(--text-color);
  font-size: large;
  display: flex;
  gap: 2em;
  margin-right: 2em;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 600;
  font-style: normal;
  cursor: pointer;
  padding: 1.6em;
}

.navigation h3 {
  padding: 1em;
  transition: all 0.3s ease;
}

.navigation h3:hover {
  color: white;
  background-color: var(--third-color);
}

/* Description */
.body {
  margin-left: 12%;
  margin-right: 12%;
}

.body h1 {
  font-family: 'Bebas Neue', sans-serif;
  margin-left: 20%;
}

.back {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 78vh;
  object-fit: cover;
}

.back2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 68vh;
  object-fit: cover;
}

.advantages {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  color: #111;
  font-family: 'Bebas Neue', sans-serif;
  border-radius: 12px;
}

.advantages h1 {
  font-weight: bold;
  font-size: 2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--main-color);
  padding: 1em;
  background-color: #efefef;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  width: 60%;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage {
  background-color: #efefef;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.advantage:hover {
  transform: translateY(-5px);
}

.advantage h3 {
  font-size: x-large;
  margin-bottom: 10px;
  color: var(--main-color);
}

.advantage p {
  font-size: 1em;
  line-height: 1.5;
  color: #333;
}

/* Examples */
.examples-grid {
  display: grid;
  grid-template-columns: auto auto;
  margin-left: 3em;
}

.examples h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: bold;
  font-size: xx-large;
  margin-top: 2em;
  color: var(--main-color);
}

.example {
  width: 41em;
  height: 60em;
  margin-top: 2em;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Progress Bar */
.service-steps {
  text-align: center;
  padding: 2em;
  background-color: #dfdfdf;
  margin-top: 4em;
  margin-bottom: 3em;
}

.service-steps h2 {
  font-size: 2em;
  font-weight: 700;
  color: var(--main-color);
}

.service-steps p {
  color: #000000;
  margin-bottom: 2em;
  margin-top: 1em;
  font-size: large;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5em;
  justify-items: center;
}

.step {
  background-color: #fff;
  padding: 1.5em 1em;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step i {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: var(--main-color);
}

.step p {
  font-weight: 500;
  margin: 0;
}

/* Footer */
.footer {
  background-color: var(--main-color);
  color: #fff;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  margin-top: 2em;
}

.footer h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  border-top: 2px solid var(--text-color);
  padding-top: 10px;
  color: #e0e0e0;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 1em;
}

.adress {
  cursor: pointer;
}

.sections {
  margin-left: 18%;
  margin-right: 18%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 14%;
}

.navigations,
.contact,
.social-medias {
  flex: 1;
  min-width: 200px;
}

.navigations h4,
.contact h4,
.adress h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
  padding-bottom: 5px;
  cursor: pointer;
}

.navigations p,
.contact p {
  margin: 5px 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

.navigations p:hover,
.contact p:hover,
.adress p:hover {
  color: yellow;
}
.navigations a {
  color: var(--text-color);
  text-decoration: none;
}



.piece {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.schedule p {
  margin: 2px 0;
}

.messenger img,
.social-media img,
.icons img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.messenger,
.social-media {
  margin-bottom: 10px;
}

.messenger img:hover,
.social-media img:hover,
.icons img:hover {
  transform: scale(1.1);
}

.social-medias {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.social-medias h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--text-color);
  display: inline-block;
  padding-bottom: 5px;
}

.icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Media Queries for Tablets and Phones */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Tablets */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .header img {
margin-right: 5em;
  }

  .navigation {
    flex-direction: column;
    gap: 0.5em;
    margin-right: 0;
    padding: 1em;
    width: 100%;
    text-align: center;
  }

  .navigation h3 {
     font-size: 1rem;
    padding: 0.5em;
  }

  .body {
    margin-left: 8%;
    margin-right: 8%;
  }

  .body h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-left: 10%;
    text-align: center;
  }

  .back,
  .back2 {
    height: 65vh;
  }

  .advantages {
    padding: 2rem 1rem;
    max-width: 90%;
  }

  .advantages h1 {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .advantage {
    padding: 1.5rem;
  }

  .examples-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .examples h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .example {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
  }

  .service-steps {
    padding: 1.5rem;
  }

  .service-steps h2 {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  }

  .service-steps p {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  .step {
    padding: 1rem;
    max-width: 140px;
  }

  .sections {
    margin-left: 10%;
    margin-right: 10%;
    gap: 5%;
    
  }

  .navigations,
  .contact,
  .social-medias {
    min-width: 150px;
  }

  .footer h3 {
    margin-left: 10%;
    margin-right: 10%;
  }
}

@media (max-width: 768px) {
  /* Phones */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .header img {
margin-right: 5em;
  }

  .navigation {
    flex-direction: column;
    gap: 0.5em;
    margin-right: 0;
    padding: 1em;
    width: 100%;
    text-align: center;
  }

  .navigation h3 {
     font-size: 1rem;
    padding: 0.5em;
  }

  .body {
    margin-left: 5%;
    margin-right: 5%;
  }

  .body h1 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-left: 0;
    text-align: center;
  }

  .back,
  .back2 {
    height: 80vh;
  }

  .advantages {
    padding: 1.5rem 0.8rem;
    max-width: 95%;
  }

  .advantages h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .advantage {
    padding: 1rem;
  }

  .examples-grid {
    grid-template-columns: 1fr;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .examples h2 {
    font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  }

  .example {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    margin-top: 1rem;
  }

  .service-steps {
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .service-steps h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .service-steps p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-bottom: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.8rem;
  }


 
  .step {
    padding: 0.8rem;
    max-width: 120px;
  }

  .step i {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .step p {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
  }

  .footer {
    padding: 1.5rem 0.8rem;
  }

  .footer h3 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-left: 5%;
    margin-right: 5%;
  }

  .sections {
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    gap: 1.5rem;
  }

  .navigations,
  .contact,
  .social-medias {
    min-width: 100%;
    text-align: center;
  }

  .navigations h4,
  .contact h4,
  .adress h4,
  .social-medias h4 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: block;
  }

  .navigations p,
  .contact p,
  .adress p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
  }

  .piece {
    justify-content: center;
  }

  .messenger img,
  .social-media img,
  .icons img {
    width: clamp(24px, 5vw, 28px);
    height: clamp(24px, 5vw, 28px);
    margin-right: 0.5rem;
  }

  .icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Smaller Phones */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .header img {
margin-right: 5em;
  }

  .navigation {
    flex-direction: column;
    gap: 0.5em;
    margin-right: 0;
    padding: 1em;
    width: 100%;
    text-align: center;
  }

  .navigation h3 {
     font-size: 1rem;
    padding: 0.5em;
  }

  .body {
    margin-left: 3%;
    margin-right: 3%;
  }

  .body h1 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  }

  .back,
  .back2 {
    height: 20vh;
  }

  .advantages {
    padding: 1rem 0.5rem;
  }

  .advantages h1 {
    font-size: clamp(1rem, 3vw, 1.2rem);
    width: 95%;
  }

  .advantage h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .advantage p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
  }

  .examples h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
  }

  .example {
    margin-top: 0.8rem;
  }

  .service-steps {
    padding: 0.8rem;
  }

  .service-steps h2 {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .service-steps p {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
  }

  .step {
    padding: 0.5rem;
    max-width: 100px;
  }

  .step i {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }

  .step p {
    font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  }

  .footer {
    padding: 1rem 0.5rem;
  }

  .footer h3 {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-left: 3%;
    margin-right: 3%;
  }

  .navigations h4,
  .contact h4,
  .adress h4,
  .social-medias h4 {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
  }

  .navigations p,
  .contact p,
  .adress p {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  }

  .messenger img,
  .social-media img,
  .icons img {
    width: clamp(20px, 4.5vw, 24px);
    height: clamp(20px, 4.5vw, 24px);
  }
}