/* Footer Section Styles */

.footer-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #01357a 100%);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* Footer Background */
.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

.footer-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  top: -100px;
  right: 10%;
  animation: footerFloat 20s ease-in-out infinite;
}

.footer-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--white);
  bottom: 10%;
  left: 5%;
  animation: footerFloat 15s ease-in-out infinite reverse;
}

.footer-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  top: 40%;
  right: 5%;
  animation: footerFloat 18s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes footerFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, -30px) rotate(180deg);
  }
}

.footer-section .container {
  position: relative;
  z-index: 2;
}

/* Footer Main */
.footer-main {
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
  padding-right: 20px;
}

.footer-logo-wrapper {
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Footer Social */
.footer-social h6 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 20px rgba(235, 190, 0, 0.3);
}

.social-link i {
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-link:hover i {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Footer Column */
.footer-column {
  height: 100%;
}

.footer-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.8rem;
  transition: all 0.3s ease;
  color: var(--secondary-color);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

/* Footer Contact Info */
.footer-contact-info {
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(235, 190, 0, 0.3);
  transform: translateX(5px);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(235, 190, 0, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.contact-value:hover {
  color: var(--secondary-color);
}

/* Newsletter */
.footer-newsletter {
  margin-top: 25px;
}

.footer-newsletter h6 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border: none;
  border-radius: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  background: #d4aa00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(235, 190, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  padding: 25px 0;
  margin-top: 30px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright strong {
  color: var(--white);
  font-weight: 600;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-bottom-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
  color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border: none;
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(235, 190, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #d4aa00;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(235, 190, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-section {
    padding: 60px 0 0;
  }

  .footer-main {
    padding-bottom: 40px;
  }

  .footer-brand {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 50px 0 0;
  }

  .footer-title {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-copyright {
    text-align: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 40px 0 0;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .contact-info-item {
    padding: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 1.1rem;
  }

  .contact-value {
    font-size: 0.9rem;
  }

  .newsletter-form input {
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  .newsletter-form button {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  .footer-bottom-links {
    gap: 15px;
  }

  .footer-bottom-links li a {
    font-size: 0.85rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link i {
    font-size: 1rem;
  }
}
