/* ===== Footer ===== */
.footer {
  background-color: #EFF4FF;
  padding-top: 64px;
}
 
/* ===== Footer Grid ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.6fr;
  gap: 48px;
  padding-bottom: 56px;
}
 
/* ===== Brand Column ===== */
.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #0f1f3d;
  margin-bottom: 16px;
}
 
.brand-copy {
  font-size: 13px;
  color: #4a5e80;
  line-height: 1.7;
  margin-bottom: 20px;
}
 
/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
 
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #2563eb;
  border: 1.5px solid #c7d7f5;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
 
.social-link svg {
  width: 16px;
  height: 16px;
}
 
.social-link:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
 
/* ===== Column Titles ===== */
.col-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f1f3d;
  margin-bottom: 20px;
}
 
/* ===== Quick Links ===== */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
.footer-links a {
  font-size: 14px;
  color: #4a5e80;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.footer-links a:hover {
  color: #2563eb;
}
 
/* ===== Contact List ===== */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
 
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a5e80;
}
 
.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #4a5e80;
}
 
.contact-list a {
  color: #4a5e80;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.contact-list a:hover {
  color: #2563eb;
}
 
/* ===== Newsletter ===== */
.newsletter-desc {
  font-size: 13px;
  font-weight: 500;
  color: #0f1f3d;
  line-height: 1.6;
  margin-bottom: 16px;
}
 
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.email-input {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #0f1f3d;
  background: #ffffff;
  border: 1.5px solid #c7d7f5;
  border-radius: 50px;
  padding: 12px 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
 
.email-input::placeholder {
  color: #9aabcc;
}
 
.email-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
 
.subscribe-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #2563eb;
  border: none;
  border-radius: 50px;
  padding: 13px 20px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease, transform 0.15s ease;
}
 
.subscribe-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
 
.subscribe-btn:active {
  transform: translateY(0);
}
 
/* ===== Success message ===== */
.success-msg {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #16a34a;
  font-weight: 500;
}
 
.success-msg.show {
  display: block;
}
 
/* ===== Divider line ===== */
.footer-bottom {
  border-top: 1px solid #d1ddf5;
  padding: 20px 0;
}
 
/* ===== Bottom bar links ===== */
.bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
 
.bottom-links a {
  font-size: 13px;
  color: #6b81a8;
  text-decoration: none;
  transition: color 0.2s ease;
}
 
.bottom-links a:hover {
  color: #2563eb;
}
 
.divider {
  color: #9aabcc;
  font-size: 13px;
}
 
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
}
 
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
 
  .footer {
    padding-top: 48px;
  }
 
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
 
  .brand-name {
    font-size: 20px;
  }
}