/* 🚀 Modern Footer Styling - Professional & User-Friendly */

/* ===== FOOTER FOUNDATION ===== */
.modern-footer {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
  color: white;
  padding-top: 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ===== MAIN FOOTER GRID ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ===== COMPANY SECTION ===== */
.footer-company {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.95);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link i {
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER SECTIONS ===== */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 2px;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 0.625rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.footer-link {
  color: rgba(248, 250, 252, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
  position: relative;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: white;
  transform: translateX(0.5rem);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-link i {
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.footer-link:hover i {
  opacity: 1;
}

/* ===== CONTACT INFO ===== */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(0.25rem);
}

.contact-icon {
  margin-right: 1rem;
  color: #fbbf24;
  font-size: 1.125rem;
  margin-top: 0.125rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.contact-text {
  color: rgba(248, 250, 252, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

.contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-text a:hover {
  color: #fbbf24;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #cbd5e1;
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

.footer-links-bottom {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links-bottom a:hover {
  color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .modern-footer {
    padding-top: 3rem;
    margin-top: 2rem;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-company {
    text-align: center;
    grid-column: auto;
  }
  
  .footer-logo {
    margin: 0 auto 1.5rem auto;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-title {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-links-bottom {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .modern-footer {
    padding-top: 2rem;
  }
  
  .footer-container {
    padding: 0 0.75rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .footer-title {
    font-size: 1.125rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .contact-item {
    padding: 0.75rem;
  }
  
  .contact-text {
    font-size: 0.875rem;
  }
  
  .footer-links-bottom {
    gap: 0.75rem;
  }
  
  .footer-links-bottom a {
    font-size: 0.8rem;
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.footer-link:focus,
.social-link:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .footer-link,
  .contact-item,
  .footer-logo {
    transition: none;
    animation: none;
  }
  
  .social-link::before,
  .footer-link::before {
    transition: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .modern-footer {
    background: none !important;
    color: black !important;
  }
  
  .footer-logo {
    filter: none !important;
  }
  
  .social-link {
    display: none;
  }
}







