body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #111;
}

header {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: #fff;
  padding: 1.5em 0;
  text-align: center;
}

.logo {
  max-width: 80px;
  margin-bottom: 0.5em;
}
/* --- Navbar Layout --- */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1em;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 2em;
  color: white;
  cursor: pointer;
  display: none;
}

.nav-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
}

.nav-links a.active {
  border-bottom: 2px solid #fff;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #2a5298;
    padding: 1em;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1em;
  }
}

.intro {
  text-align: center;
  padding: 4em 2em;
  background-color: #fff;
}

.cta-button {
  display: inline-block;
  padding: 7px 15px;
  margin-top: 2px;
  background: #1e3c72;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 1em;
  background: #eee;
  color: #555;
  font-size: 0.9em;
}


.page { padding: 2em; text-align: center; background: #fff; margin: 2em auto; max-width: 400px; border-radius: 8px; }
#imei-input { padding: 0.6em; width: calc(100% - 4rem); }
button { padding: 0.6em 1.2em; margin-left: 0.5em; background: #2a5298; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
button:hover { background: #1e3c72; }
.result { margin-top: 1.5em; text-align: left; }
.device-img { max-width: 100%; margin-top: 1em; border-radius: 4px; }
.error { color: #c00; }

.tool {
  border: 1px solid #ccc;
  padding: 1.2em;
  margin: 1.5em auto;
  max-width: 500px;
  background: #fff;
  border-radius: 8px;
}
.tool h3 {
  margin-top: 0;
}


form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 400px;
  margin: 2em auto;
}

input, textarea {
  padding: 0.8em;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.contact-info {
  text-align: center;
  margin-top: 2em;
  font-size: 1em;
}
.grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      padding: 20px;
    }

    .grid-item {
      background: #e0e0e0;
      border-radius: 8px;
      text-align: center;
      padding: 20px;
      font-size: 20px;
      font-weight: bold;
    }

    .services {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 30px;
      max-width: 950px;
      margin: auto;
      text-align: center;
      padding: 20px;
    }

    .service-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-weight: bold;
      color: #001e44;
    }

    .service-item img {
      width: 80px;
      height: 80px;
      margin-bottom: 10px;
    }

    .service-item span {
      font-size: 14px;
    }

    /* Responsive tweak */
    @media (max-width: 768px) {
      .grid-container {
        grid-template-columns: repeat(3, 2fr);
      }
    }

    @media (max-width: 480px) {
      .grid-container {
        grid-template-columns: 2fr;
      }
    }


  .banner-container {
      width: 99%;
      overflow: hidden;
      background: #fefefe;
      color: white;
      font-size: 24px;
      font-weight: bold;
      white-space: nowrap;
    }

    .banner-img {
      display: inline-block;
      width: 200px;
      height: 80px;
      background-size: cover;
    }

    .banner-text {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 20s linear infinite;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
/* Contact page styling */
.contact-container {
  align-items: center;
  gap: 20px;
  margin: 20px auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-container iframe {
  width: 100%;
  max-width: 500px;
  min-height: 900px;
  height: auto;
  border: none;

}
@media (min-width: 900px) {
  .contact-container {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;

  }
  .contact-container iframe,
  .contact-info {
    max-width: 500px;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .contact-container iframe {
    min-height: 1100px;
  }
}


.contact-info {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  
}

