/**
 * Footer styles – dark grey design with bright green accents
 * Matches reference: acculekhaa.com footer
 */

/* Layout: container and grid */
#colophon .container,
footer .container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

#colophon .row,
footer .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

#colophon .row > [class*="col-"],
footer .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

#colophon .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
#colophon .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
#colophon .col-md-12 { flex: 0 0 100%; max-width: 100%; }
#colophon .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
#colophon .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
#colophon .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
#colophon .col-xl-12 { flex: 0 0 100%; max-width: 100%; }

footer .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
footer .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
footer .col-md-12 { flex: 0 0 100%; max-width: 100%; }
footer .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
footer .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
footer .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
footer .col-xl-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 991px) {
  #colophon .col-lg-3, footer .col-lg-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (max-width: 767px) {
  #colophon .col-md-4, #colophon .col-sm-6,
  footer .col-md-4, footer .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  #colophon .col-lg-3, footer .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 1199px) {
  #colophon .col-xl-7, #colophon .col-xl-5,
  footer .col-xl-7, footer .col-xl-5 { flex: 0 0 100%; max-width: 100%; }
}

.text-center { text-align: center; }
.text-sm-start { text-align: left; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.position-relative { position: relative; }
.align-items-center { align-items: center; }
.pt-3 { padding-top: 1rem; }
.mt-3 { margin-top: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.g-0 { margin-left: 0; margin-right: 0; }
.g-0 > [class*="col-"] { padding-left: 0; padding-right: 0; }

@media (min-width: 1200px) {
  .text-xl-start { text-align: left; }
  .text-xl-end { text-align: right; }
}

/* ---- Footer: dark grey background (expected design) ---- */
.footer-dark-bg,
#colophon.footer-dark-bg {
  background: #2C3333;
  color: rgba(255, 255, 255, 0.9);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 3rem;
}

/* Decorative semi-circular element (left side) */
.footer-decor {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 280px;
  height: 200px;
  background: radial-gradient(ellipse 120% 100% at 0% 100%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer container text colors */
.footer-dark,
#colophon .footer-dark {
  color: rgba(255, 255, 255, 0.85);
}

.footer-dark a,
#colophon .footer-dark a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-dark a:hover,
#colophon .footer-dark a:hover {
  color: #fff;
}

/* Column 1: Logo + brand name */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  max-height: 48px;
  width: auto;
  margin-bottom: 0.35rem;
}

.footer-brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.02em;
}

.footer-legal-name {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem 0;
}

.last-paragraph-no-margin .footer-desc:last-child { margin-bottom: 0; }

/* Headings in all columns */
.footer-heading {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.75rem;
}

/* Column 2: Links list */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255, 255, 255, 0.85); }
.footer-links a:hover { color: #fff; }

/* Column 3: Need help */
.footer-text {
  margin: 0 0 0.25rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.lh-26 { line-height: 1.625; }
.lh-28 { line-height: 1.75; }

.footer-phone-wrap {
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-phone {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.footer-free-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.footer-email {
  color: rgba(255, 255, 255, 0.9);
}
.text-decoration-line-bottom { text-decoration: underline; text-underline-offset: 3px; }

/* Column 4: Newsletter – inline input + button */
.footer-newsletter-form {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
  max-width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 0.9375rem;
}

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

.footer-newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter-btn {
  padding: 0.5rem 1rem;
  background: #1e293b;
  color: #fff;
  border: none;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.footer-newsletter-btn:hover {
  background: #334155;
}

/* Protecting your privacy */
.footer-privacy {
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
}

.footer-privacy-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.footer-privacy a { color: rgba(255, 255, 255, 0.85); }
.footer-privacy a:hover { color: #fff; }

/* Social: Fb. Ig. Tw. Be. */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-social a:hover { color: #fff; }

/* Footer bottom bar – separator line */
.footer-bottom {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.border-top { border-top: 1px solid rgba(255, 255, 255, 0.15); }

.footer-navbar {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-size: 0.9375rem;
}

@media (min-width: 1200px) {
  .text-xl-start .footer-navbar { justify-content: flex-start; }
  .text-xl-end .footer-navbar { justify-content: flex-end; }
}

.footer-navbar li { margin: 0; }
.footer-navbar a { color: rgba(255, 255, 255, 0.9); }
.footer-navbar a:hover { color: #fff; }

/* Copyright */
.footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

#colophon .footer-bottom p,
footer .footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}
