footer {
  background-color: #0f0f0f;
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  overflow-x: hidden;
}

footer h4,
footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

footer p,
footer ul li a,
.newsletter-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #a855f7;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-top-bar {
  padding: 45px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: 250px;
}
.newsletter-text h5 {
  margin-bottom: 8px;
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 450px;
  margin: 0 30px;
  position: relative;
  flex-direction: column;
  gap: 8px;
}

.newsletter-input-row {
  display: flex;
  width: 100%;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px 0 0 5px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  min-width: 0;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: rgba(168, 85, 247, 0.5);
}

.newsletter-form button {
  padding: 12px 25px;
  background: #a855f7;
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #9333ea;
}

.newsletter-form button:disabled {
  background: #6b21a8;
  cursor: not-allowed;
  opacity: 0.7;
}

#newsletter-msg {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 4px;
  display: none;
  margin-top: 2px;
}

#newsletter-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

#newsletter-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.social-links {
  display: flex;
  gap: 20px;
}
.social-links a {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
}
.social-links a:hover {
  color: #a855f7;
}

.footer-middle {
  padding: 60px 0;
}
.footer-logo {
  max-width: 170px;
  margin-bottom: 25px;
}
.footer-description {
  margin-bottom: 0;
}
.list-unstyled li {
  margin-bottom: 12px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item i {
  color: #a855f7;
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.footer-contact-item:hover {
  color: #a855f7;
}


.footer-bottom {
  padding: 30px 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.heart-icon {
  color: #ff4d4d;
  animation: heartbeat 1.2s ease-in-out infinite;
  display: inline-block;
  margin-left: 5px;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.3);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.15);
  }
}

@media (max-width: 991px) {
  .footer-top-bar {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 15px;
  }
  .newsletter-form {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }
  .social-links {
    justify-content: center;
    width: 100%;
  }

  .footer-middle {
    text-align: start;
    padding: 40px 15px;
  }
  .footer-logo {
    margin: 0 auto 25px;
  }

  .footer-middle .col-12 {
    margin-bottom: 40px;
    padding: 0;
  }
  .list-unstyled {
    padding: 0;
  }
}
