* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}
nav {
  background-color: #01485e;
  height: 90px;
}

.container {
  margin: 0 16px;
  height: 100%;
}

nav .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

nav .logo {
  height: 100%;
}

nav .logo img {
  height: 100%;
}

nav button {
  border-radius: 7px;
  background-color: #ebf6f2;
  color: #01485e;
  border: none;
  outline: none;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

nav button:hover {
  background-color: #d4ede5;
  cursor: pointer;
}

.intro {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  gap: 12px;
  width: 100%;
}

main .img-container {
  width: 100%;
}

main {
  display: flex;
  flex-direction: column-reverse;
}

.intro h1 {
  color: #01485e;
  font-size: 36px;
  font-weight: bold;
}

.intro p {
  color: #01485e;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.intro .highlight {
  background-color: #ebf6f2;
  font-weight: 900;
  font-size: 12px;
}
.intro .row {
  display: flex;
  flex-wrap: wrap; /* allows stacking on mobile */
  gap: 16px;
  margin: 24px 0;
}

.intro .row div {
  flex: 1; /* make them equal width on large screens */
  min-width: 260px; /* stack when screen is narrow */
  padding: 16px 20px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #01607a, #01485e);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro .row div:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.intro .row div p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: white;
}

.label-below {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #01485e;
  font-weight: 400;
  width: 100%;
}

.input-row {
  display: flex;
  margin: 24px 0;
  align-items: center;
}

.main-label {
  color: #01485e;
  font-size: 12px;
  font-weight: 700;
  width: 80px;
}

.divided-ip {
  width: 100%;
}

input:focus {
  outline: none;
  border: 1px solid #b29ee8;
}

footer {
  padding: 16px;
  background-color: #01485e;
  background-image: url("elements-02.png");
  height: fit-content;
  background-size: contain;
  padding-bottom: 100px;
}

footer i {
  color: #4cb493;
  font-size: 30px;
}
footer i:hover {
  color: #b29ee8;
}
footer i:active {
  color: #b29ee8;
}
.footer-social {
  display: flex;
  gap: 12px;
}

footer span a {
  color: white;
  text-decoration: none;
}

footer .img-container {
  width: 40%;
}

.img-container img {
  width: 100%;
}

.line {
  width: 50%;
  height: 0.5px;
  background-color: #d4ede5;
  margin-right: 8px;
}

.fast-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

/* Link style */
.fast-contact a {
  font-size: 18px;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #25d366, #1ebe5d);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseGlow 2s infinite;
}

/* Icon size */
.fast-contact a i {
  margin-right: 8px;
  font-size: 20px;
}

/* Hover effect */
.fast-contact a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.9);
}

/* Keyframes for glow pulsing */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.6),
      0 0 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.8),
      0 0 35px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.6),
      0 0 20px rgba(37, 211, 102, 0.4);
  }
}

/* Optional floating animation */
.fast-contact a {
  animation: pulseGlow 2s infinite, floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.contact {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  flex-wrap: wrap;
}

.contact .info {
  width: 50%;
}

.contact h4 {
  color: #d4ede5;
}

.contact ul {
  list-style: none;
  color: #4cb493;
}

@media (max-width: 768px) {
  .container {
    margin: 0 24px;
  }

  .intro img {
    max-width: 500px;
  }

  form {
    max-width: 500px;

    margin: 0 auto;

    margin-bottom: 50px;
  }
  .contact {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}

/* Large screens (desktops, ≥1024px) */
@media (min-width: 1024px) {
  .container {
    margin: 0 32px;
  }
  nav button {
    font-size: 24px;
    padding: 12px 18px;
  }

  .intro h1 {
    font-size: 54px;
    font-weight: 900;
  }
  .intro p {
    font-size: 30px;
  }
  .intro .highlight {
    font-weight: 900;
    font-size: 18px;
  }
  .intro img {
    max-width: 550px;
  }
  main {
    display: flex;
    flex-direction: row;
    padding: 60px 0;
  }
  form {
    margin-top: 50px;
    height: fit-content;
  }

  form .main-label {
    width: 100px;
  }

  form .img-container {
    display: none;
  }

  .fast-contact a {
    font-size: 24px;

    display: flex;
    align-items: center;
    padding: 12px 24px;
  }
  .fast-contact a i {
    font-size: 30px;
  }

  .intro .row div p {
    font-size: 24px;
  }

  /* footer  */

  footer h4 {
    font-size: 30px;
  }

  footer li {
    font-size: 24px;
  }

  footer i {
    font-size: 40px;
  }

  /* Extra large screens (big desktops, ≥1280px) */
  @media (min-width: 1280px) {
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }
    h1 {
      font-size: 72px;
    }
    .intro img {
      max-width: 700px;
    }
    form .img-container {
      width: 20%;
    }
  }
}
