/* ===================================================== */
/*                    FOOTER STYLES                     */
/* ===================================================== */

/* ------------------- Colour palette ------------------- */
:root {
  --footer-bg: rgb(20, 36, 31); /* deep green background */
  --accent:    rgb(214, 222, 112);  /* lime / yellow-green */
}

/* ------------------- Base layout ------------------- */
footer {
  background: var(--footer-bg) !important;
  color: #ffffff !important;
  font-family: "Degular", "Noto Kufi Arabic", sans-serif;
  letter-spacing: 0.15px;
  padding: 60px 20px 40px;
  border-top: none !important;
  margin-top: 60px;
}

/* ------------------- Logo Section ------------------- */
.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 75px;
  width: auto;
}

/* ------------------- Contact Info Section ------------------- */
.footer-info-section {
  padding-left: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--footer-bg);
}

.info-content h5 {
  font-size: 20px !important;
  font-weight: 500 !important;
  font-family: "Degular", sans-serif !important;
  color: #ffffff !important;
  margin-bottom: 0.5rem !important;
}

.info-content p {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.info-content a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  transition: color 0.3s;
}

.info-content a:hover {
  color: var(--accent) !important;
}

/* ------------------- Footer Links Sections ------------------- */
.footer-links-section {
  padding-left: 40px;
}

.footer-links-section h4 {
  font-size: 20px !important;
  font-weight: 500 !important;
  font-family: "Degular", sans-serif !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
}

.footer-nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 16px;
  transition: color 0.3s;
  font-weight: 400;
}

.footer-nav a:hover {
  color: var(--accent) !important;
}

/* ------------------- Social Icons ------------------- */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  transition: all 0.3s;
  text-decoration: none !important;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--footer-bg);
  border-color: var(--accent);
}

/* ------------------- Responsive Adjustments ------------------- */
@media (max-width: 991.98px) {
  .footer-links-section {
    padding-left: 20px;
  }
  
  .footer-info-section {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  footer {
    padding: 40px 20px 30px;
  }
  
  .footer-logo {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .social-icons {
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .footer-links-section {
    padding-left: 0;
    margin-bottom: 2rem;
  }
  
  .footer-links-section h4 {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
  }
  
  .info-item {
    margin-bottom: 1.25rem;
  }
  
  .info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
  
  .info-content h5 {
    font-size: 16px !important;
  }
  
  .info-content p,
  .footer-nav a {
    font-size: 14px !important;
  }
}

/* Override any existing conflicting footer styles */
footer .container-fluid,
footer .wrapper-footer {
  all: unset;
}

footer .footer-info {
  all: unset;
}

footer .footer-detail {
  all: unset;
}

footer .footer-detail h5 {
  all: unset;
}

footer .footer-detail .nav-link {
  all: unset;
}