/* Enhanced Footer Styling */
footer {
  color: #fff;
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

/* Footer Wave SVG */
.footer-wave {
  line-height: 0;
  transform: translateY(3px);
}

.footer-wave svg {
  width: 100%;
  height: 160px;
  display: block;
}

/* Footer Main Area */
.footer-main {
  background-color: #222;
  background-image: linear-gradient(to right, #1a1a1a, #333, #1a1a1a);
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Top with Badge */
.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.footer-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Footer Content Layout */
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 30px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Info Section (Logo & Contact) */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-logo {
  margin-bottom: 15px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
  background-color: transparent;
  border-radius: 0;
  mix-blend-mode: multiply;
  filter: brightness(1.5) contrast(1.1);
}

.footer-tagline {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.footer-contact-item p {
  color: #ddd;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Footer Navigation */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-links h4,
.footer-services h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  font-weight: 500;
}

.footer-divider {
  height: 3px;
  width: 50px;
  background: var(--gradient-primary);
  margin-bottom: 20px;
  border-radius: 3px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i,
.footer-services a i {
  color: var(--primary-color);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-links a:hover i,
.footer-services a:hover i {
  transform: scale(1.2);
}

/* Footer Newsletter */
.footer-newsletter {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.footer-newsletter p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-group .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 0.9rem;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 15px 12px 38px;
  border-radius: 5px;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.btn-subscribe {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Footer Social */
.footer-social {
  margin-top: 25px;
}

.footer-social h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  background-color: #1a1a1a;
  padding: 20px 0;
  position: relative;
  z-index: 3;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright p {
  margin: 0;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-policy-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-policy-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-policy-links a:hover {
  color: var(--primary-color);
}

.separator {
  color: #555;
}

.designer-signature {
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
}

.designer-signature i {
  color: var(--primary-color);
}

.footer-action-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(37, 211, 102, 0.3);
}

.scroll-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(76, 175, 80, 0.4);
}

/* Footer Shapes & Icons */
.footer-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.footer-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.03);
  font-size: 5rem;
}

.icon-1 {
  top: 15%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.icon-2 {
  top: 60%;
  left: 60%;
  animation: float 10s ease-in-out infinite;
}

.icon-3 {
  top: 30%;
  right: 10%;
  animation: float 9s ease-in-out infinite;
}

.footer-circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

@media screen and (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-newsletter {
    grid-column: 1;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media screen and (max-width: 576px) {
  .footer-badge {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .copyright p,
  .footer-policy-links a {
    font-size: 0.8rem;
  }

  .footer-action-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
