/* Footer Styles */
#footer {
  background: #0C2D47;
  color: #fff;
  font-size: 14px;
  position: relative;
}

.footer-top {
  padding: 60px 0 30px;
}

.footer-info {
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 15px;
}

.company-description {
  font-style: italic;
  margin-bottom: 20px;
  color: #ecf0f1;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.detail-item i {
  font-size: 16px;
  color: #4eb8dd;
  margin-right: 10px;
  margin-top: 3px;
}

.detail-item span, .detail-item a {
  color: #ecf0f1;
  transition: 0.3s;
}

.detail-item a:hover {
  color: #4eb8dd;
}

#footer .social-links {
  margin-top: 20px;
}

#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 8px;
  transition: all 0.3s ease;
}

#footer .social-links a:hover {
  background: #4eb8dd;
  transform: translateY(-3px);
}

.footer-links h4, .footer-newsletter h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding-bottom: 12px;
  position: relative;
  margin-bottom: 20px;
}

.footer-links h4:after, .footer-newsletter h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background: #4eb8dd;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  padding: 5px 0;
}

.footer-links ul li a {
  color: #ecf0f1;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #4eb8dd;
  padding-left: 5px;
}

.footer-links ul li i {
  color: #4eb8dd;
  margin-right: 5px;
  font-size: 12px;
}

.footer-newsletter p {
  color: #ecf0f1;
  margin-bottom: 20px;
}

.footer-newsletter form {
  margin-bottom: 25px;
}

.footer-newsletter input {
  border: 0;
  padding: 10px 15px;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer-newsletter button {
  background: #4eb8dd;
  border: 0;
  padding: 10px 20px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  background: #3aa8cf;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
}

.footer-bottom .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
  color: #ecf0f1;
}

.footer-policies a {
  color: #ecf0f1;
  margin: 0 5px;
  transition: 0.3s;
}

.footer-policies a:hover {
  color: #4eb8dd;
}

.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  background: #4eb8dd;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  bottom: 15px;
}

.back-to-top:hover {
  background: #3aa8cf;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .footer-newsletter {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  
  .footer-policies {
    margin-top: 10px;
  }
}