/* ========================================
   FOOTER STYLES
   ======================================== */

footer {
  /* Match header/navbar color to keep consistent top/bottom bars */
  background: #111827;
  color: white;
  padding: 70px 40px 30px;
  margin-top: 80px;
}

/* ========================================
   FOOTER GRID
   ======================================== */

.footer-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-box {
  flex: 1;
}

.footer-box h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: white;
}

.footer-box p,
.footer-box a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 2;
  font-size: 15px;
  transition: 0.3s;
}

.footer-box a:hover {
  color: #fde047;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6eefb; /* lighter text on blue */
}

/* ========================================
   SOCIAL MEDIA LINKS
   ======================================== */

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #fde047;
  color: #111827;
  transform: translateY(-3px);
}

/* ========================================
   FOOTER CONTACT INFO
   ======================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-item-icon {
  font-size: 18px;
  color: #fde047;
  margin-top: 2px;
}

.contact-item-text {
  flex: 1;
}

/* ========================================
   FOOTER NEWSLETTER
   ======================================== */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #fde047;
}

.newsletter-form button {
  padding: 12px;
  background: #fde047;
  color: #111827;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: white;
}

/* ========================================
   FOOTER LINKS SECTION
   ======================================== */

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  font-size: 12px;
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */

@media (max-width: 768px) {
  footer {
    padding: 50px 20px 20px;
    margin-top: 60px;
  }
  
  .footer-grid {
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-box h3 {
    font-size: 18px;
  }
  
  .footer-box p,
  .footer-box a {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .footer-bottom {
    padding-top: 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 15px 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
