/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #2c3e50, #2980b9);
  color: white;
  text-align: center;
  padding: 80px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

header p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-top: 10px;
}

/* Navigation */
nav {
  background-color: #34495e;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #3498db;
  border-radius: 4px;
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 60px;
}

section h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

/* Service/Feature Boxes */
.service-boxes,
.features-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-box,
.feature-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-box:hover,
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-box h3,
.feature-box h3 {
  font-size: 1.8rem;
  color: #2980b9;
  margin-bottom: 15px;
}

.service-box p,
.feature-box p {
  font-size: 1rem;
  color: #777;
}

.service-box img,
.feature-box img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-form:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.contact-form h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #2980b9;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #16a085;
  box-shadow: 0 0 8px rgba(22, 160, 133, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #2980b9;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #16a085;
  transform: translateY(-2px);
}

.contact-form button:active {
  transform: translateY(1px);
}

/* Footer */
footer {
  background-color: #34495e;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer p {
  margin: 0;
  font-size: 1rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: white;
  margin: 0 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #16a085;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin: 0 10px;
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #16a085;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 20px;
  }

  .service-box,
  .feature-box {
    padding: 15px;
  }
}
