
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: url('background.jpg') center/cover no-repeat fixed;
  position: relative;
  color: #333;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  z-index: -1;
}

header {
  background: rgba(255,255,255,0.95);
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

main {
  padding: 80px 20px 80px;
}

.page {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

h2 {
  text-align: center;
  color: #222;
  margin-top: 20px;
}

.emergency-btn {
  display: block;
  margin: 40px auto;
  padding: 16px 40px;
  font-size: 22px;
  background: linear-gradient(45deg, #e60000, #ff4d4d);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

.emergency-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, #cc0000, #ff3333);
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup form {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 15px;
  width: 320px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.popup input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #aaa;
}

.popup button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  font-weight: bold;
  border: none;
  background: linear-gradient(to right, #007BFF, #00C6FF);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup button:hover {
  background: linear-gradient(to right, #0056b3, #00aaff);
}

footer {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  display: flex;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

footer button {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

footer button:hover {
  border-bottom: 2px solid red;
  background: rgba(0,0,0,0.05);
}

.whatsapp {
  position: fixed;
  bottom: 85px;
  right: 20px;
  font-size: 16px;
  text-decoration: none;
  background: #25D366;
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.services-grid, .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 30px 10px;
}

.service-card, .plan-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover, .plan-card:hover {
  transform: translateY(-6px);
}

.plan-card strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  color: green;
}


/* Stylish greeting text */
header span {
  color: #007BFF;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* Footer navigation styling */
footer button {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  border-right: 1px solid #ddd;
}

footer button:last-child {
  border-right: none;
}

footer button:hover {
  border-bottom: 2px solid red;
  background: #f0f0f0;
  color: #007BFF;
}


/* Phone number with locked prefix */
.phone-group {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.phone-group .prefix {
  background: #eee;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
}

.phone-group input {
  flex: 1;
  padding: 10px;
  border-radius: 0 6px 6px 0;
  border: 1px solid #ccc;
  border-left: none;
}
