/* Blog Carousel Styles */
/* Back to Top Button Fix */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 48px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e23636 60%, #2563eb 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 10001;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: linear-gradient(135deg, #2563eb 60%, #e23636 100%);
}
@media (max-width: 768px) {
  .back-to-top {
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}
/* Footer Fix */
.footer {
  width: 100%;
  background: #222;
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 40px;
  position: relative;
  left: 0;
  bottom: 0;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
}
.footer .footer-info, .footer .footer-menu, .footer .footer-social {
  text-align: center;
}
.footer .footer-social a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.footer .footer-social a:hover {
  color: #e23636;
}
.footer .footer-menu p {
  margin: 0 0 4px 0;
}
.footer .copyright {
  text-align: center;
  padding: 12px 0 8px 0;
  font-size: 0.95rem;
  color: #bbb;
}
@media (max-width: 768px) {
  .footer {
    padding: 24px 0 0 0;
  }
}
.blog-carousel-wrapper {
  position: relative;
  max-width: 10000px;
  margin: 40px auto 40px auto;
  overflow: hidden;
}
.blog-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
}
.blog-card {
  min-width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 16px;
  margin: 0;
  padding: 32px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}
.blog-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.blog-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.blog-arrow-left {
  left: 0;
}
.blog-arrow-right {
  right: 0;
}
.blog-arrow:hover {
  background: #f0f0f0;
}
@media (max-width: 768px) {
  .blog-carousel-wrapper {
    max-width: 98vw;
    margin: 18px auto;
  }
  .blog-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 6px;
    align-items: center;
  }
  .blog-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}
