/* Global Styles (Avoid using the universal selector for performance) */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

header,
footer {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

header .logo {
  max-height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  font-weight: 600;
}

.main-hero {
  background-color: #e9ecef;
  padding: 60px 0;
  text-align: center;
}

.main-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.btn-primary {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1rem;
  margin-top: 15px;
}

.btn-primary:hover {
  background-color: #0056b3;
}

section {
  margin-bottom: 60px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #007bff;
  bottom: -5px;
  left: 0;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
  position: relative;
  min-height: 200px;
}

.testimonial-item audio,
.testimonial-item video {
  width: 100%;
  margin-top: 10px;
}

/* Forms */
form {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

form input[type="text"],
form input[type="email"],
form input[type="file"],
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 15px 0;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  margin-top: 60px;
}

footer p {
  font-size: 0.9rem;
}