body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
  overflow-x: hidden;
}

.header {
  background-color: #f9f9f9;
  color: #333;
  padding: 20px 0;
  text-align: center;
  border-bottom: 2px solid #0c7a7a;
}

.header .logo-container {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 50px;
  display: inline-block;
}

.header .logo {
  max-width: 180px;
}

h1,
h2 {
  font-family: 'Poppins', sans-serif;
  margin: 20px 0 10px;
  color: #0c7a7a;
}

.main-content .intro {
  text-align: center;
  padding: 30px 0;
  background-color: #f4f4f9;
}

.templates {
  padding: 40px 20px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  row-gap: 50px;
  overflow: hidden;
}

.template-card {
  background: #fff;
  border: 2px solid #f47b46;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 13px;
  max-width: 400px;

}

.template-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.template-card img {
  width: 100%;
  height: auto;
  display: block;
}

.template-card h3 {
  color: #0c7a7a;
  margin: 15px 0 5px;
}

.template-card p {
  padding: 0 15px;
  color: #555;
}

.template-card .btn {
  margin: 15px 0 20px;
  background: #f47b46;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.template-card .btn:hover {
  background: #0c7a7a;
}

.footer {
  background-color: #0c7a7a;
  color: #fff;
  text-align: center;
  padding-top: 60px;
  font-size: 14px;
  margin-top: 50px;
}

.footer a {
  color: #f47b46;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.button-container {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.btn {
  background-color: #f47b46;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.btn:hover {
  background-color: #0c7a7a;
}

.lightbox img {
  max-width: 100%;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.lightbox-title {
  margin-top: 10px;
  text-align: center;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

@media (max-width: 768px) {
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .template-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .template-card {
    margin: 0 auto;
    width: 100%;
  }

  .template-card a.btn {
    width: 90%;
  }
}

p {
  font-size: 16px;
}

ul {
  margin-top: 12px;
}