html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

.footer {
    bottom: 0;                   
    left: 0;
    margin-top: auto; 
    width: 100%;                  
    background: #111;             
    color: #fff;
  }
.footer-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px;
    background: #111;
    color: #fff;
  }
  
  .footer-col p {
    margin: 6px 0; /* spacing between items */
  }
  
  .footer-col p a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-col p a:hover {
    color: #4a78ff;
  }
  
  /* Optional: make the links display as block for better spacing */
  .footer-col p a {
    display: block;
  }
  
.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    justify-content: center;
}

.footer-col ul li a:hover {
    color: #4a78ff;

}

.footer-col ul li a.inactive {
    color: #ffffff;
    pointer-events: none;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: #4a78ff;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 0.7;
}

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

.newsletter input {
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #cfd6e0;
    font-size: 15px;
    outline: none;
}

.newsletter button {
    background: #4a78ff;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 12px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
.footer-container {
    grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 500px) {
.footer-container {
    grid-template-columns: 1fr;
}

.newsletter {
    width: 100%;
}
}  

