/* ============================================
   THE USA BOOK WRITING — FOOTER STYLES
   Navy #0f2156 | Red #c0272d | Sky #2196c4 | Gold #e8c84a
   ============================================ */

/* ── Reset ── */
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Container ── */
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.footer-wave {
  background-color: #f5f5f5; /* match whatever is above footer */
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================
   MAIN FOOTER BODY
   ============================================ */
.footer-main {
  background-color: #0f2156;
  padding: 60px 0 40px;
  font-family: 'Nunito Sans', Arial, sans-serif;
}

/* ── Grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

/* ── Column headings ── */
.footer-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff !important;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: #c0272d;
  border-radius: 2px;
}

/* ============================================
   BRAND COLUMN
   ============================================ */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
   align-items: center;
    justify-content: center;

    background: #ffffff;
    padding: 6px 10px;        /* ⬅ space kam */
    border-radius: 8px;      /* ⬅ radius thora kam */

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.footer-logo-link img {
    max-width: 210px;        /* ⬅ logo thora chhota */
    height: auto;
    display: block;
}
.footer-logo-svg {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 4px 16px rgba(192,39,45,0.3));
  transition: transform 0.3s, filter 0.3s;
}

.footer-logo-svg:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 6px 20px rgba(192,39,45,0.5));
}

.footer-brand-desc {
  color: #ffffff !important;
  font-size: 13.5px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

/* ── Social Icons ── */
.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #1a3a7a;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background-color: #2196c4;
  border-color: #2196c4;
  transform: translateY(-3px);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link:hover svg {
  stroke: #ffffff !important;
}

/* ============================================
   LINKS COLUMNS
   ============================================ */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
  width: 100%;
}

.footer-links li a::before {
  content: '›';
  color: #c0272d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s;
}

.footer-links li a:hover {
  color: #e8c84a;
  padding-left: 6px;
}

.footer-links li a:hover::before {
  transform: translateX(3px);
}

/* ============================================
   CONTACT COLUMN
   ============================================ */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 34px;
  height: 34px;
  background-color: #2196c4;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 15px;
  height: 15px;
  fill: white;
  stroke: none;
}

.footer-contact-list li a,
.footer-contact-list li span {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 7px;
  transition: color 0.2s;
}

.footer-contact-list li a:hover {
  color: #e8c84a;
}

/* ── Newsletter ── */
.newsletter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff !important;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s;
}

.newsletter-form:focus-within {
  border-color: #2196c4;
}

.newsletter-input {
  flex: 1;
  background-color: rgba(255,255,255,0.07);
  border: none;
  outline: none;
  padding: 11px 14px;
  color: white;
  font-size: 13px;
  font-family: 'Nunito Sans', Arial, sans-serif;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-btn {
  background-color: #c0272d;
  color: white;
  border: none;
  padding: 11px 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  line-height: 1;
}

.newsletter-btn:hover {
  background-color: #9c1b20;
}

/* footer-stripe removed */

/* ============================================
   BOTTOM BAR
   ============================================ */
.footer-bottom {
  background-color: #081540;
  padding: 16px 0;
  font-family: 'Nunito Sans', Arial, sans-serif;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #e8c84a;
}

.footer-bottom-links span {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo-svg {
    width: 90px;
    height: 90px;
  }
}
