.footer-blue {
  background-color: #00375f; /* Deep blue background */
  color: white;
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  margin-bottom: 20px;
}

.footer-column h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.logo-column {
  flex: 0 0 20%;
}

.company-name-ar {
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

.links-column,
.socials-column {
  flex: 0 0 20%;
}

.newsletter-column {
  flex: 0 0 30%;
}

.footer-logo img {
  max-width: 233px;
  height: auto;
}

.footer-links,
.footer-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-social-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover,
.footer-social-links a:hover {
  text-decoration: underline;
}

.newsletter-input-group {
  display: flex;
  border: 1px solid white;
  height: 40px;
}

.newsletter-input-group input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 10px;
  font-size: 14px;
}

.newsletter-input-group input[type="email"]::placeholder {
  color: white;
}

.newsletter-button {
  background: white;
  color: #00375f;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  font-family: inherit;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.footer-mobile {
display: contents;
}

.policy-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.policy-links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    margin-bottom: 43px;
  }
  
.footer-mobile {
    display: flex;
    width: fit-content;
}

  /* Logo: Full width */
  .logo-column {
    flex: 0 0 100%;
    text-align: center;
  }
  
  /* Links and Social: Side by side */
  .links-column,
  .socials-column {
    flex: 0 0 48%;
    margin-bottom: 30px;
  }
  
  /* Newsletter: Full width */
  .newsletter-column {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  /* Ensure links and social columns are in the same row */
  .footer-columns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  /* Footer bottom adjustments */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright {
    margin-bottom: 10px;
  }
  
  .policy-links a {
    margin: 0 10px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  /* Make links and social stack on very small screens */
  .links-column,
  .socials-column {
    flex: 0 0 85%;
    display: flex;
  }
  
  .footer-logo img {
    max-width: 180px;
    margin-bottom: 28px;
  }

.footer-mobile {
    display: flex;
    width: fit-content;
}

  .footer-columns {
    margin-bottom: 43px;
  }

}

.newsletter-message {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
}

.newsletter-message.success {
    background-color: rgba(0, 255, 0, 0.1);
    color:rgb(15, 182, 15);
}

.newsletter-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #e77777;
}