 /* General Reset and Styling */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.footer {
    width: 100%;
    position: absolute;
    background: #000000;
    color: #eef8ff;
    padding: 50px 0 10px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}

.footer-row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-col {
    flex-basis: 10%;
    padding: 5px;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.newsletter-col {
    flex-basis: 10%;
    padding: 5px;
}

.footer-col:nth-child(1), .footer-col:nth-child(2) {
    flex-basis: 20%;
}

.footer-col:nth-child(3) {
    flex-basis: 15%;
}

.footer-col:nth-child(4) {
    flex-basis: 25%;
}

.logo {
    width: 80px;
    margin-bottom: 30px;
}

.footer-col h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}

.email-id {
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

ul li {
    list-style: none;
    margin-bottom: 12px;
}

ul li a {
    text-decoration: none;
    color: #fff;
}

form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

form .far {
    font-size: 15px;
    margin-right: 5px;
}

form input {
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

form button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

form button .fas {
    font-size: 16px;
    color: #ccc;
}

button {
    padding: 15px 20px;
    font-size: 1.2em;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

button:active {
    background-color: #1e7e34;
    transform: translateY(0);
}

.social-icons .fab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #ccc;
    margin-right: 15px;
    cursor: pointer;
}

.social-icons :hover {
    color: rgb(238, 11, 30);
}

hr {
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.copyright {
    text-align: center;
}

.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving {
    0% {
        left: -20px;
    }
    100% {
        left: 100%;
    }
}

/* Media Queries for Tablet Devices */
@media (min-width: 701px) and (max-width: 1024px) {
    .footer {
        padding: 30px 0; /* Adjust padding for tablets */
    }

    .footer-col {
        flex-basis: 50%;
    }

    .footer-col:nth-child(3), .footer-col:nth-child(4) {
        flex-basis: 100%;
    }

    .footer-col h3 {
        margin-bottom: 20px;
    }

    form {
        margin-bottom: 30px;
    }
}

/* Media Queries for Mobile Devices */
@media (max-width: 700px) {
    .footer {
        bottom: unset;
    }

    .footer-col {
        flex-basis: 100%;
    }

    .footer-col:nth-child(2), .footer-col:nth-child(3) {
        flex-basis: 100%;
    }

    .footer-col:nth-child(4) {
        flex-basis: 100%;
    }
}
 
