/* =============================================================
   BROCUS FOOTER REDESIGN — Premium 4-Column Responsive Footer
   =============================================================
   Colors preserved from existing brand:
   - Background:       #0b0f19 (deep dark navy for premium feel)
   - Secondary BG:     #282828 (original footer bg)
   - Text:             #a0a6b5 (refined muted text)
   - Headings:         #ffffff
   - Accent gradient:  #d1641a → #c0282a
   - Link hover:       #d1641a
   ============================================================= */

/* ── Reset legacy footer styles ────────────────────────────── */
.main-footer.br-footer-v2 {
  background-color: #0b0f19 !important;
  color: #a0a6b5;
  position: relative;
  overflow: hidden;
}

.main-footer.br-footer-v2 .widgets-section {
  padding: 0 !important;
}

.main-footer.br-footer-v2 .logo-widget .widget-content {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 0 !important;
  text-align: left !important;
}

.main-footer.br-footer-v2 .logo-widget .widget-content:before {
  display: none !important;
}

/* ── Gradient top accent bar ───────────────────────────────── */
.br-footer-v2 .br-footer-accent {
  height: 4px;
  background: linear-gradient(90deg, #d1641a 0%, #c0282a 50%, #d1641a 100%);
  background-size: 200% 100%;
  animation: br-gradientShift 6s ease infinite;
}

@keyframes br-gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Main footer container ─────────────────────────────────── */
.br-footer-v2 .br-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}

/* ── Column styles ─────────────────────────────────────────── */
.br-footer-col {
  position: relative;
}

/* Logo */
.br-footer-v2 .br-footer-logo {
  margin-bottom: 20px;
}

.br-footer-v2 .br-footer-logo img {
  max-height: 60px;
  width: auto;
}

/* Company Description */
.br-footer-v2 .br-footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #8a90a0;
  margin-bottom: 24px;
}

/* Column headings */
.br-footer-v2 .br-footer-heading {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.br-footer-v2 .br-footer-heading::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #d1641a, #c0282a);
  margin-top: 10px;
  border-radius: 2px;
}

/* ── Link lists ────────────────────────────────────────────── */
.br-footer-v2 .br-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.br-footer-v2 .br-footer-links li {
  margin-bottom: 13px;
}

.br-footer-v2 .br-footer-links li:last-child {
  margin-bottom: 0;
}

.br-footer-v2 .br-footer-links li a {
  color: #8a90a0;
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
  position: relative;
}

.br-footer-v2 .br-footer-links li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #d1641a, #c0282a);
  transition: width 0.35s ease;
}

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

.br-footer-v2 .br-footer-links li a:hover::before {
  width: 100%;
}

/* ── Social icons ──────────────────────────────────────────── */
.br-footer-v2 .br-footer-socials {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.br-footer-v2 .br-footer-socials li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #8a90a0;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}

.br-footer-v2 .br-footer-socials li a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1641a, #c0282a);
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: -1;
}

.br-footer-v2 .br-footer-socials li a:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(209, 100, 26, 0.35);
}

.br-footer-v2 .br-footer-socials li a:hover::before {
  transform: scale(1);
}

.br-footer-v2 .br-footer-socials li a span {
  position: relative;
  z-index: 2;
}

/* ── Contact info items ────────────────────────────────────── */
.br-footer-v2 .br-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.br-footer-v2 .br-footer-contact-item:last-child {
  margin-bottom: 0;
}

.br-footer-v2 .br-footer-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(209, 100, 26, 0.15), rgba(192, 40, 42, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1641a;
  font-size: 16px;
  transition: all 0.3s ease;
}

.br-footer-v2 .br-footer-contact-item:hover .br-footer-contact-icon {
  background: linear-gradient(135deg, #d1641a, #c0282a);
  color: #ffffff;
  transform: scale(1.08);
}

.br-footer-v2 .br-footer-contact-info {
  flex: 1;
  min-width: 0;
}

.br-footer-v2 .br-footer-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #d1641a;
  margin-bottom: 3px;
}

.br-footer-v2 .br-footer-contact-value {
  font-size: 14.5px;
  color: #cdd1da;
  line-height: 1.5;
  word-break: break-word;
}

.br-footer-v2 .br-footer-contact-value a {
  color: #cdd1da;
  text-decoration: none;
  transition: color 0.3s ease;
}

.br-footer-v2 .br-footer-contact-value a:hover {
  color: #d1641a;
}

/* ── Footer bottom bar ─────────────────────────────────────── */
.br-footer-v2 .br-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-footer-v2 .br-footer-copyright {
  font-size: 14px;
  color: #5a6070;
  text-align: center;
}

/* Hide original footer-bottom inside br-footer-v2 */
.main-footer.br-footer-v2 > .auto-container > .footer-bottom,
.main-footer.br-footer-v2 > .auto-container {
  display: none !important;
}

/* ── Subtle background decoration ──────────────────────────── */
.br-footer-v2::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(209, 100, 26, 0.04), transparent 70%);
  pointer-events: none;
}

.br-footer-v2::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(192, 40, 42, 0.03), transparent 70%);
  pointer-events: none;
}

/* =============================================================
   RESPONSIVE DESIGN
   ============================================================= */

/* ── Tablet (768px – 991px) ─────────────────────────────────── */
@media (max-width: 991px) {
  .br-footer-v2 .br-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 30px;
    padding: 50px 20px 35px;
  }

  .br-footer-col:first-child {
    grid-column: 1 / -1;
  }

  .br-footer-v2 .br-footer-desc {
    max-width: 600px;
  }
}

/* ── Mobile (< 768px) ───────────────────────────────────────── */
@media (max-width: 767px) {
  .br-footer-v2 .br-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 30px;
  }

  .br-footer-v2 .br-footer-logo img {
    max-height: 50px;
  }

  .br-footer-v2 .br-footer-heading {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .br-footer-v2 .br-footer-socials {
    gap: 10px;
  }

  .br-footer-v2 .br-footer-socials li a {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .br-footer-v2 .br-footer-bottom {
    padding: 18px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .br-footer-v2 .br-footer-copyright {
    font-size: 13px;
  }

  .br-footer-v2 .br-footer-contact-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* ── Small phones (< 480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  .br-footer-v2 .br-footer-main {
    padding: 32px 14px 24px;
    gap: 28px;
  }

  .br-footer-v2 .br-footer-desc {
    font-size: 13px;
  }

  .br-footer-v2 .br-footer-links li a {
    font-size: 13.5px;
  }

  .br-footer-v2 .br-footer-contact-value {
    font-size: 13.5px;
  }
}
