/* Template Page Styling */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("../../images/bg/notebook.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

/* Dark overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: -1;
}

main {
  padding: 80px 20px;
}

/* Main Container */
#template-container {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1s ease;
}

#template-container h1 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 50px;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #ff85c5, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
  letter-spacing: 1px;
  font-weight: 800;
}

/* FadeIn Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styling */
.template-section {
  margin-bottom: 70px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.92), rgba(45, 45, 60, 0.92));
  border-radius: 20px;
  padding: 35px;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.template-section:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 18px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 105, 180, 0.4);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 15px;
}

.section-header h2 {
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 
    0 0 10px rgba(255, 105, 180, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
  padding-right: 5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section-line {
  flex-grow: 1;
  height: 3px;
  background: linear-gradient(90deg, rgba(142, 45, 226, 0.8), rgba(255, 105, 180, 0.5), transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(142, 45, 226, 0.4);
}

/* Section Content */
.section-con5px 40px;
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  box-shadow: 
    0 6px 20px rgba(142, 45, 226, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.download-button:hover {
  background: linear-gradient(135deg, #a855f7, #6a1b9a);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 10px 30px rgba(168, 85, 247, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 105, 180, 0.4);
}

/* Resource Link Styling */
.resource-link {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 15px;
  color: #d29eff;
  font-weight: 600;
  text-decoration: none;
  background: rgba(168, 85, 247, 0.15);
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.resource-link:hover {
  color: #ff69b4;
  background: rgba(255, 105, 180, 0.2);
  border-color: rgba(255, 105, 180, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3)
/* Resource Link Styling */
.resource-link {
  color: #ff69b4;
  text-decoration: none;
  font-weight: bold;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}

.resource-link:hover {
  color: #ff8dc6;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

/* Decorative Divider */
.divider {
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  margin: 40px auto;
  border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #template-container {
    margin: 40px 20px;
    padding: 3Design */
@media (max-width: 768px) {
  main {
    padding: 40px 15px;
  }

  #template-container h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .template-section {
    padding: 25px 20px;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-content {
    font-size: 0.95rem;
  }

  .download-button,
  .resource-link {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #template-container h1 {
    font-size: 1.8rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-line {
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }
}

/* High Resolution Adjustments */
@media (min-width: 2560px) {
  #template-container {
    max-width: 1600px;
  }

  #template-container h1 {
    font-size: 4.5rem;
    margin-bottom: 80px;
  }

  .template-section {
    padding: 50px;
    margin-bottom: 100px;
  }

  .section-header h2 {
    font-size: 2.8rem;
  }

  .section-content {
    font-size: 1.3rem;
  }

  .download-button,
  .resource-link {
    font-size: 1.4rem;
    padding: 20px 50px