/* dentingpainting.css */

/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f3f3f3;
  color: #222;
  line-height: 1.6;
  padding: 10px;
}

header {
  background: #002244;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

section {
  padding: 30px 20px;
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
  border-radius: 10px;
  padding: 30px 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.hero h2 {
  font-size: 2rem;
  margin: 10px 0;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.hero button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #fff;
  color: #ff7e5f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.hero button:hover {
  background-color: #ffdab9;
  color: #000;
}

/* Benefits & How It Works */
.benefits, .how-it-works {
  background: #fff;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.benefits h3, .how-it-works h3 {
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 10px;
}
.benefits ul, .how-it-works ol {
  list-style-position: inside;
  padding: 10px 20px;
  text-align: left;
  font-size: 1rem;
  color: #333;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
  color: #002244;
  margin-bottom: 15px;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.modal-content select,
.modal-content input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-content button {
  margin-top: 15px;
  padding: 10px;
  width: 100%;
  background-color: #002244;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #003366;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p, .benefits ul, .how-it-works ol {
    font-size: 0.95rem;
  }

  header {
    font-size: 1.4rem;
  }
}
