/* ===== FOOTER SECTION ===== */
.footer-section {
  background: var(--bg-darker);
  padding: 3rem 5% 1.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Content Grid */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-logo i {
  font-size: 1.8rem;
}

.footer-tagline {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-availability {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
}

/* Footer Sections */
.footer-section-links h4,
.footer-section-contact h4,
.footer-section-social h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Links */
.footer-section-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-section-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section-links a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

/* Contact Items */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.contact-item:hover {
  color: var(--primary-color);
}

.contact-item i {
  width: 18px;
  color: var(--primary-color);
  font-size: 1rem;
}

.contact-item span {
  font-size: 0.9rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(201, 169, 97, 0.25);
}

.social-cta {
  color: var(--text-gray);
  font-size: 0.85rem;
  font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.35);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-section {
    padding: 2.5rem 5% 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-availability {
    justify-content: center;
  }

  .footer-section-links ul {
    align-items: center;
  }

  .contact-items {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-content {
    gap: 1.5rem;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .contact-item span {
    font-size: 0.85rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Resume Download - Special Styling */
.resume-download {
  position: relative;
}

.resume-download span {
  color: var(--primary-color);
  font-weight: 600;
  text-shadow: 0 0 5px var(--primary-glow);
  animation: textGlow 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.resume-download i {
  animation: bounce 1.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

.resume-download:hover span {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.resume-download:hover i {
  color: #fff;
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(201, 169, 97, 0.3);
  }
  50% {
    text-shadow: 0 0 8px rgba(201, 169, 97, 0.4);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}
