/* ============================================================
   GOP — Footer CSS
   ============================================================ */

.footer {
  background: linear-gradient(160deg, #0A1810 0%, var(--color-dark) 50%, #0F2019 100%);
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   Footer Newsletter Band
   ============================================================ */
.footer-newsletter {
  background: linear-gradient(105deg, var(--color-green-deeper) 0%, var(--color-green) 55%, #007A5A 100%);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

/* Diagonal red accent strip */
.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(232,25,44,0.3) 40%, transparent 70%);
}

/* Background circle decoration */
.footer-newsletter::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}

.footer-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-newsletter__text .section-label {
  color: rgba(255,255,255,0.7);
}

.footer-newsletter__text .section-label::before {
  background: rgba(255,255,255,0.5);
}

.footer-newsletter__text .section-label::after {
  background: rgba(255,255,255,0.5);
}

.footer-newsletter__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: white;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.footer-newsletter__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.footer-newsletter__form {
  display: flex;
  gap: var(--space-3);
}

.footer-newsletter__input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.footer-newsletter__input::placeholder {
  color: rgba(255,255,255,0.45);
}

.footer-newsletter__input:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.footer-newsletter__btn {
  padding: var(--space-4) var(--space-6);
  background: var(--color-red);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(232,25,44,0.4);
}

.footer-newsletter__btn:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,25,44,0.5);
}

/* ============================================================
   Footer Main Body
   ============================================================ */
.footer-body {
  padding: var(--space-16) 0 var(--space-10);
  position: relative;
}

/* Subtle top divider */
.footer-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 30%, rgba(0,106,78,0.3) 50%, rgba(255,255,255,0.06) 70%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

/* Brand Column */
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-brand__logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand__logo-text .logo-bn {
  font-family: var(--font-bengali);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: white;
}

.footer-brand__logo-text .logo-en {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.footer-brand__tagline strong {
  color: rgba(255,255,255,0.85);
  font-style: normal;
  display: block;
  font-family: var(--font-bengali);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-social__link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.footer-social__link.facebook:hover  { background: #1877F2; border-color: #1877F2; color: white; }
.footer-social__link.twitter:hover   { background: #000000; border-color: #222; color: white; }
.footer-social__link.youtube:hover   { background: #FF0000; border-color: #FF0000; color: white; }
.footer-social__link.instagram:hover { background: #E1306C; border-color: #E1306C; color: white; }
.footer-social__link.telegram:hover  { background: #0088CC; border-color: #0088CC; color: white; }

/* EC Badge */
.footer-ec-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0,106,78,0.15);
  border: 1px solid rgba(0,106,78,0.3);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
}

.footer-ec-badge__icon {
  font-size: 12px;
  color: #6DFFC3;
  background: rgba(0,106,78,0.4);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer Link Columns */
.footer-col__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  line-height: 1;
}

.footer-col__link:hover {
  color: white;
  padding-left: var(--space-2);
}

.footer-col__link::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--color-green);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-col__link:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

/* Contact Info */
.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-contact__icon {
  width: 30px;
  height: 30px;
  background: rgba(0,106,78,0.2);
  border: 1px solid rgba(0,106,78,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6DFFC3;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   Footer Bottom Bar
   ============================================================ */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-5) 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-bottom__copy a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-bottom__copy a:hover { color: white; }

.footer-bottom__links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom__links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer-bottom__links a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom__ec {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-newsletter__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-newsletter__form {
    flex-direction: column;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom__links {
    gap: var(--space-4);
    justify-content: center;
  }
}
