body {
  margin: 0;
  /* font-family: 'Poppins', sans-serif; */
  font-family: 'Cairo', 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,
h3 {
  /* font-family: 'Poppins', sans-serif; */
  margin: 20px 0 10px;
  color: #0c7a7a !important;
}
.templates h2 {
  color: #0c7a7a !important;
}
.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;
  height: auto;
}

.template-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.template-card img {
  width: 100%;
  height: 30rem;
  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;
}

.template-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 100%; */
}

.card-footer {
  margin-top: auto;
  text-align: center;
  padding: 10px;
}

.domains {
  background-color: #f7f9fc;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.domains h2 {
  color: #0c7a7a;
  margin-bottom: 15px;
}

.domains ul {
  list-style: none;
  padding: 0;
}

.domains ul li {
  background: #fff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.domains ul li:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.hover-scroll {
  overflow: hidden;
  height: 500px;
  position: relative;
}

.hover-scroll img {
  width: 100%;
  height: auto;
  transition: transform 5s ease;
}

.hover-scroll:hover img {
  transform: translateY(calc(-100% + 500px));
}

.heading-1 {
  font-family: sans-serif;
  line-height: 1.5;
}
/* Gradient line  */

hr.brand-animated-hr {
  position: relative; /* for pseudo-element positioning */
  border: none;
  height: 8px;
  border-radius: 4px;
  overflow: hidden; /* clip the shine outside */
  background: linear-gradient(90deg, #005f5f, #007979, #00c4c4, #005f5f);
  background-size: 400% 100%;
  box-shadow: 0 0 8px rgba(0, 121, 121, 0.6), 0 0 16px rgba(0, 196, 196, 0.4);
  animation: slide-gradient 4s ease infinite;
  margin: 40px 0;
}

/* Shine overlay */
hr.brand-animated-hr::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%; /* start off to the left */
  width: 50%; /* width of the shine beam */
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2s ease-in-out infinite;
}

@keyframes slide-gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes shine {
  0% {
    left: -50%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
