
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  background-image: url('/static/circuit_bgd.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav {
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
}

nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-banner {
  position: relative;
  text-align: center;
  height: 250px;
  overflow: visible; /* allow glow to spread */
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-background {
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 150px;
  background-color: #a5f8f8;
  border-radius: 10% / 30%;
  box-shadow:
    0 0 60px 30px rgba(0, 180, 216, 0.4),
    0 0 100px 60px rgba(0, 180, 216, 0.2);
  z-index: 0;
}

.logo-img {
  position: relative;
  z-index: 1;
  max-height: 100px;
}

.services-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.services-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.services-images p { margin-top: 0.5rem; font-weight: bold; }

img {
  max-width: 300px;
  margin-bottom: 2rem;
  animation: fadeIn 2s ease-in-out;
}

h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

p {
  font-size: 1.2rem;
  color: #b3cde0;
  margin-bottom: 2rem;
}

.button {
  padding: 12px 30px;
  background: #00b4d8;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.button:hover {
  background: #0096c7;
}

.logo-box {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.text-left {
  text-align: left;
  max-width: 800px;
  margin: 2rem auto;
}

.text-left h1 {
  font-size: 2.2rem;
  text-align: left;
}

.text-left p,
.text-left li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.text-left ul {
  text-align: left;
  list-style-position: inside;
  padding-left: 1rem;
  margin-left: 0;
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
}

.custom-list li {
  padding-left: 1.5rem;
  position: relative;
}

.contact-form {
  max-width: 600px;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-top: 5px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1rem;
  padding: 10px 20px;
  background-color: #00b4d8;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0096c7;
}

.flash-messages {
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
}

.flash {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: bold;
}

.flash.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
