.footer {
     background: #f2f2f2;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
    position: relative;
    z-index: 1;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.footer-container {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
     background: #f2f2f2;
    gap: 30px;
    position: relative;
    top: 0 !important;
    bottom: 0 !important;
    z-index: 2;
}
.footer-left-wrapper {
padding: 50px;

    margin: 0 auto;


}

/* LEFT */

.footer-left h3 {
    margin: 15px 0;
}

.footer-left p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.subscribe {
    margin-top: 20px;
    display: flex;
}

.subscribe input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: none;
    background: #eee;
}

.subscribe button {
    margin-left: -40px;
    padding: 10px 25px;
    border-radius: 20px;
    border: none;
    background: #19c1b6;
    color: #fff;
    cursor: pointer;
}
.logo img {
    width: 60px;
}
.log {
    filter: invert(55%) sepia(48%) saturate(4700%) hue-rotate(160deg)
        brightness(95%) contrast(90%);
}
/* MIDDLE */
.footer-middle {
    margin-top: 4rem;
    margin-left: 2rem;
}
.footer-middle h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.blogs {
    display: grid;
    grid-template-columns: repeat(3, 90px);
    gap: 10px;
}

.blogs img {
    width: 100%;
    height: 70px;
    position: relative;
    z-index: 5;
    cursor: pointer;
    display: block;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    z-index: 1;
    position: relative;
}

.blogs img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}
/* RIGHT */
.footer-right {
    display: flex;
    gap: 0px;
    margin-top: 4rem;
}
.footer-right h4 {
    font-weight: bold;
    font-size: 17px;
}
.footer-right > div {
    width: 160px;
}

.footer-right ul h6 {
    font-weight: bold;
}
.footer-right ul h6 a {
    text-decoration: none;
    color: black;
}

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

.footer-right ul li {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    font-weight: 600;
}
.footer-right ul li a{
    text-decoration: none;
    color: #555;
}

.footer-right p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}
.footer-left h3 {
    font-weight: bold;
    font-size: 21px;
}
.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px; 
    align-items: center;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon i {
    color: #333;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: #19c1b6;
}

.social-icon:hover i {
    color: white;
}
/* BOTTOM */
.footer-bottom {
    padding: 15px 0;
    text-align: center;
    background: #0b1c2d;
    color: #fff;
    font-size: 13px;
}
.footer-bottom a{
    text-decoration: none;
    color: #fff;
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;

        padding: 40px 0;
    }

    .footer-left-wrapper {
        background: transparent;
        width: 100%;
    }

    .footer {
        height: auto;
    }

    .footer-middle,
    .footer-right {
        margin-top: 0;
        margin-left: 0;
        padding: 20px 60px;
    }

    .footer-right {
        flex-wrap: wrap;
        gap: 20px;
    }

    .blogs {
        padding: 0 10px;
    }
}


@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;

        padding: 40px 0;
    }

    .footer-left-wrapper {
        background: transparent;
        width: 100%;
    }

    .footer {
        height: auto;
    }

    .footer-middle,
    .footer-right {
        margin-top: 0;
        margin-left: 0;
        padding: 20px 60px;
    }

    .footer-right {
        flex-wrap: wrap;
        gap: 20px;
    }

    .blogs {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .footer-left-wrapper {
        padding: 30px 20px;
    }
    .footer {
        text-align: center;
    }

    .subscribe {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe button {
        margin-left: 0;
        width: 100%;
    }

    .blogs {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-right > div {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .footer-left h3 {
        font-size: 18px;
    }
    .footer {
        text-align: center;
    }

    .footer-left p,
    .footer-right ul li,
    .footer-right p {
        font-size: 13px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .blogs img {
        height: 60px;
    }
}
