/* FOOTER */
.footer {
    /* Updated background to the primary dark blue */
    background: #0f172a; 
    color: #d0d9e8; /* Light text color for contrast */
    padding: 48px 20px 20px; /* Adjusted padding to accommodate bottom bar */
    margin-top: 60px;
    font-size: 15px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px; /* Separator for bottom bar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex-grow: 1;
    min-width: 150px; /* Ensures minimum width for columns */
}

.brand-info {
    flex-basis: 30%; /* Gives the brand info column more space */
}

.footer-logo {
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
}

.col-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Link Styling */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: #a5bdd9; /* Light blue link color */
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a {
  position: relative;
  text-decoration: none;
}

.footer a:hover::after {
  animation: snakeMove 1s linear infinite;
}

@keyframes snakeMove {
  from { background-position-x: 0; }
  to { background-position-x: 40px; }
}


.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 8px;

  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'>\
<path d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23ff8c00' stroke-width='2'/>\
</svg>");
  background-repeat: repeat-x;
  background-size: 40px 8px;

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, opacity 0.25s ease;
}




.footer a:hover {
  color: var(--accent-orange);
}

.footer a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.value-title {
    font-weight: 600;
    color: var(--accent-orange); /* Highlighted value title */
    margin: 15px 0 5px 0;
}

.small {
    font-size: 13px;
    color: #b2d9c6; /* Slightly lighter text for body copy */
    margin: 0;
}

/* Subscribe CTA Styling */
.subscribe-title {
    color: var(--accent-orange); /* Highlight the CTA title */
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.subscribe-form input[type="email"] {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.subscribe-form input[type="email"]::placeholder {
    color: #a5bdd9;
}

.cta-button {
    background: var(--accent-orange);
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cta-button:hover {
    background: #e57e00; /* Slightly darker orange on hover */
}

/* Social Links */
.social-links {
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--accent-orange);
    font-size: 14px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #b2d9c6;
}

.contact-item .icon {
    margin-right: 5px;
}

.footer-copyright {
    color: #b2d9c6;
    margin-top: 10px;
}

.wasaldev-link {
    font-weight: 600;
    color: var(--accent-orange) !important; /* Force orange for emphasis */
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col {
        min-width: 100%;
        flex-basis: auto;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-contact-info {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
}

