/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

/* === Video Background === */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-background img {
  display: none;
}
.video-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 40, 0.7);
}

/* === Navbar === */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 140px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00aaff;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* === Hero Section === */
.hero {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}
.hero-content {
  background: rgba(0, 0, 0, 0.75);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  animation: fadeIn 1s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* === Form === */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #f1f5f9;
  color: #333;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}
.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #00aaff;
}
.form-group input::placeholder {
  color: #666;
}

/* === Button === */
button[type="submit"] {
  background: linear-gradient(90deg, #00aaff, #0066ff);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg, #0099dd, #0055cc);
  transform: translateY(-2px);
}

/* === Service Info Box === */
.service-info {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 35px;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 1100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.service-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0066cc;
}
.service-info h3 {
  font-size: 1.3rem;
  margin: 25px 0 12px;
  color: #004499;
}
.service-info p {
  line-height: 1.6;
  margin-bottom: 18px;
}
.service-info .features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-bottom: 25px;
}
.service-info .features li {
  background: #e9f2fa;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 1rem;
}

/* === Footer === */
.footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.5);
}

/* === Bottom Fixed Notice === */
.bottom-right-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00aaff;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 999;
  animation: fadeIn 1s ease;
}

/* === Animation === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-content {
    padding: 30px;
  }
  .service-info {
    margin: 20px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .bottom-right-notice {
    font-size: 13px;
    padding: 10px 14px;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  .service-info .features {
    flex-direction: column;
  }
  .hero-content {
    padding: 20px;
  }
  .service-info {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
}
