* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  line-height: 1.6;
  padding: 0;
}

header {
  background: #007bff;
  color: white;
  padding: 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}

main {
  padding: 20px;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 0 5px #ccc;
  border-radius: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.price {
  color: green;
  font-weight: bold;
}

form {
  background: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

form input, form button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background: #007bff;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #0056b3;
}

/* ✅ Responsive Design */
@media (max-width: 600px) {
  header h1 {
    font-size: 22px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  main, footer {
    padding: 10px;
  }

  .card, form {
    padding: 15px;
    width: 100%;
  }

  form input, form button {
    font-size: 16px;
  }
}
.hero {
  background: linear-gradient(to right, #007bff, #00bcd4);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  background: white;
  color: #007bff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.btn:hover {
  background: #f0f0f0;
}

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}

footer a {
  color: #00e676;
  text-decoration: none;
}

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

#cctv-services {
  background-color: #f0f8ff;
  padding: 50px 20px;
  border-radius: 15px;
  margin-top: 40px;
}

#cctv-services h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 30px;
  font-size: 32px;
}

#laptop-services {
  background-color: #fffef5;
  padding: 50px 20px;
  border-radius: 15px;
  margin-top: 40px;
}

#laptop-services h2 {
  text-align: center;
  color: #2e3b4e;
  margin-bottom: 30px;
  font-size: 32px;
}

#internet-services {
  background-color: #f7fcff;
  padding: 50px 20px;
  margin-top: 40px;
  border-radius: 15px;
}

#internet-services table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

#internet-services th {
  background-color: #0078d4;
  color: white;
}

#internet-services th,
#internet-services td {
  border: 1px solid #ddd;
  text-align: center;
}

#internet-services td {
  padding: 10px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

#about-us {
  background-color: #f1f1f1;
  padding: 30px;
  border-radius: 12px;
  color: #222;
}
#about-us h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 15px;
}
#about-us ul {
  padding-left: 20px;
  margin-top: 10px;
}
#about-us ul li {
  margin-bottom: 8px;
}

.services-section {
  background: white;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.services-section.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ CSS */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
}

.whatsapp img {
  width: 100%;
  height: 100%;
}

/* ✅ Mobile Responsive */
@media screen and (max-width: 600px) {
  .whatsapp {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Safety (Prevent hiding behind notches or keyboard) */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 50px;
    height: 50px;
  }
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form {
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

button {
  background-color: #007bff;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}
