footer {
    background: #e5e5e5;
    color: #000000;
    padding: 2rem;
    margin-top: auto;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #dc2827;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    height: 100px;
    width: auto;
    padding: 0.5rem 1rem;
    padding-top: 0;
    border-radius: 8px;
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0.9;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: #000000;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.637);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.social-link:hover {
    background: rgb(255, 255, 255);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #ffffff;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    color: #000000;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        height: 70px;
        padding: 0;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}


.footer-content a {
    transition:  all .3s ease-in-out;
}

.footer-content a[href]:hover {
    transform: translateX(7%);
    color: #dc2827;
}

.footer-content a:not([href]):hover {
    transform: none;
}

.designed-by-text {
    position: absolute;
    right: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    top: 50%;
}

.designed-by-text span {
    color: #000000;
}

.designed-by-text img {
    max-width: 75px;
    height: auto;
    width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .designed-by-text {
        position: relative;
        justify-content: center;
        margin-top: 3%;
    }
}

@media screen and (min-width: 1300px) {    
    .footer-useful-links {
        width: 65%;
        margin: 0 auto;
    }
}

.fa-solid {
    animation: bounceIcon 2.5s infinite ease-in-out;
}


@keyframes bounceIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20%);
  }
}