.footer {
  padding-top: 40px;
  padding-bottom: 20px;
  border: 0px dotted white;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border: 0px solid green;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
}


/* For screens 768px and above — show footer sections side by side */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    max-width: 32%;
  }

  .footer-middle,
  .footer-right {
    margin-top: 0;
  }
}



.footer-left .logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-left .tagline {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-left .support {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-left .social-icons a {
  margin-right: 1rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.4rem;
  border-radius: 4px;

}
.footer-left .social-icons a:hover {
  border: 1px solid var(--k2-color-accent);
}

.footer-middle .heading {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.footer-middle .subtext {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
}

.email-input {
  padding: 10px;
  width: 100%;
  max-width: 300px;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
}

.subscribe-btn {
  padding: 10px;
  width: 100%;
  max-width: 150px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.subscribe-btn:hover {
  background: var(--k2-color-accent);
}

.footer-right {
  text-align: right;
}
@media (max-width: 768px) {
  .footer-right {
    text-align: center;
  }
}

.footer-right .heading {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer-menu {
  list-style: none;
  padding: 0;
}
.footer-menu li {
  margin-bottom: 8px;
}
.footer-menu li a {
  color: #ccc;
  text-decoration: none;
  position: relative;
}
.footer-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--k2-color-accent);
  transition: width 0.3s ease;
}
.footer-menu li a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  position: relative;
}
.footer-bottom hr {
  border: none;
  height: 1px;
  background: #444;
  margin-bottom: 10px;
}
.scroll-top {
  font-size: 1.3rem;
  margin-bottom: 10px;
  cursor: pointer;
  color: #ccc;
}
.scroll-top:hover {
  color: var(--k2-color-accent);
}