/* Footer Styles */
.footer-wrapper {
    background: linear-gradient(to right, #12123e, #1e1e4f);
    color: white;
    width: 100%;
    padding: 60px 0 30px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 3fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Logo and company info section */
.footer-brand {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    align-items: center;
    text-align: center;
    justify-content: center;
}

.footer-logo img {
    max-width: 120px;
    transition: filter 0.3s ease;
}

.footer-logo img:hover {
    filter: brightness(120%);
}

.footer-tagline {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.5;
    /* margin-bottom: 15px; */
    font-weight: 500;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* Links sections */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links-column h4 {
    color: #03abc9;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #03abc9;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
    position: relative;
}

.footer-links-column ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #03abc9;
    transition: width 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #03abc9;
    padding-left: 5px;
}

.footer-links-column ul li a:hover::after {
    width: 100%;
}

/* Contact section */
.footer-contact {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}

.footer-contact h4 {
    color: #03abc9;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #03abc9;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.contact-info p svg {
    fill: #03abc9;
    width: 18px;
    height: 18px;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #03abc9;
}


/* Social media icons */
.social-media {
    display: flex;
    gap: 15px;
    /* margin-top: 15px; */
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #edf2f3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(3, 171, 201, 0.3);
}

.social-icon img {
    width: 18px;
    height: 18px;
}

.social-icon[aria-label="Twitter"] img {
    width: 36px;
    height: 36px;
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-methods img {
    /* height: 30px; */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        /* grid-template-columns: repeat(2, 1fr); */
        justify-items: center;
    }
    
    .footer-contact {
        grid-column: auto;
        justify-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-links-column h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-column h4,
    .footer-contact h4,
    .footer-links-column ul {
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .footer-contact {
        justify-items: center;
        align-items: center; /* Center the container in mobile view */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-contact {
        justify-items: center;
        align-items: center; /* Center the container in mobile view */
    }
    
    .footer-contact h4 {
        text-align: center; /* Center the heading on mobile */
    }
    
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 35px;
    margin-top: 40px;
    border-top: 1px solid #383a55;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    padding-bottom: 5px;
}

.company-info {
    font-size: 12.5px;
    line-height: 1.7;
    color: #ffffffa0;
}
.company-info p {
    margin: 0;
}
.company-info a {
    color: #ffffffc0;
    text-decoration: none;
}
.company-info a:hover {
    text-decoration: underline;
}
.company-info br { 
    content: "";
    display: block;
    margin-bottom: 3px;
}

.payment-card { 
    display: flex;
    gap: 12px;
    align-items: center;
}
/* .payment-card img {
    height: 20px;
} */
.payment-card img[alt="payment mastercard"] {
    height: 28px;
}

@media (max-width: 767.98px) {

    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 25px;
        align-items: center; 
        padding-top: 30px;
        margin-top: 30px; 
        text-align: center;
    }
    
    .company-info {
        order: 2;
        text-align: center; 
        width: 100%;
        font-size: 12px;
    }
    
    .payment-card {
        order: 1;
        justify-content: center; 
        width: 100%; 
        flex-wrap: wrap; 
        margin-bottom: 10px;
    }
    .payment-card img { height: 25px; }
    .payment-card img[alt="payment mastercard"] { height: 30px; }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .ft.text { gap: 25px; }
    .ft ul li { padding-top: 7px; font-size: 13.5px; }
    .ft h4 { font-size: 16px; }
    .company-info { font-size: 11.5px; }    
    .media_ul img { height: 28px; }
}