/* ===== Enhanced Footer Styles ===== */
.wm-footer {
    background: linear-gradient(135deg, #0f2a3f 0%, #1a3a5f 100%);
    color: #fff;
    position: relative;
    padding: 80px 0 0;
    margin-top: 0;
    overflow: hidden;
}

.wm-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wm-footer__brand {
    margin-bottom: 20px;
}

.wm-footer__logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    filter: brightness(1) invert(0);
}

.wm-footer__logo:hover img {
    transform: scale(1.03);
}

.wm-footer__tagline {
    color: #2ec4b6;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.wm-footer__tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    background: #2ec4b6;
    border-radius: 3px;
}

.wm-footer__about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.wm-footer__social {
    display: flex;
    gap: 12px;
}

.wm-footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wm-footer__social-link:hover {
    background: #2ec4b6;
    transform: translateY(-3px);
    text-decoration: none;
}

.wm-footer__heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.wm-footer__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: #2ec4b6;
    border-radius: 2px;
}

.wm-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wm-footer__links li {
    position: relative;
    padding-left: 15px;
}

.wm-footer__links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2ec4b6;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.wm-footer__links li:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.wm-footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
    padding: 3px 0;
}

.wm-footer__link:hover {
    color: #2ec4b6;
    transform: translateX(5px);
    text-decoration: none;
}

.wm-footer__contact-card {
    background: rgba(15, 42, 63, 0.95);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(46, 196, 182, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Fixes flexbox overflow issues */
}

.wm-footer__contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.08) 0%, transparent 70%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.wm-footer__contact-card:hover {
    border-color: rgba(46, 196, 182, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.wm-footer__contact-card:hover::before {
    transform: rotate(30deg) translate(10px, 10px);
}

.wm-footer__contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    min-width: 0; /* Fixes text overflow */
}

.wm-footer__contact-item:last-child {
    margin-bottom: 0;
}

.wm-footer__contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(46, 196, 182, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ec4b6;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wm-footer__contact-item:hover i {
    background: rgba(46, 196, 182, 0.2);
    transform: scale(1.05);
}

.wm-footer__contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.wm-footer__contact-item p,
.wm-footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    word-break: break-word; /* Prevents text overflow */
    overflow-wrap: break-word; /* Alternative for older browsers */
}

.wm-footer__contact-item a:hover {
    color: #2ec4b6;
    text-decoration: none;
}

/* Add subtle connection lines between items */
.wm-footer__contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 1px;
    height: 10px;
    background: rgba(46, 196, 182, 0.3);
}

/* Footer Bottom */
.wm-footer__bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0 15px; /* Increased top padding from 15px to 25px */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    margin-top: 20px; /* Added margin-top for extra spacing */
}

.wm-footer__bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wm-footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.wm-footer__legal {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.wm-footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wm-footer__legal a:hover {
    color: #2ec4b6;
    text-decoration: none;
}

.wm-footer__developer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.wm-footer__developer a {
    color: #2ec4b6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wm-footer__developer a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.wm-footer__developer i {
    color: #ff6b6b;
    margin: 0 3px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .wm-footer__grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .wm-footer {
        padding-top: 70px;
    }
    
    .wm-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wm-footer__bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .wm-footer__legal {
        order: 2;
    }
    
    .wm-footer__developer {
        order: 3;
    }
    
    .wm-footer__contact-item {
        flex-direction: row;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .wm-footer {
        padding-top: 60px;
    }
    
    .wm-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .wm-footer__logo img {
        max-width: 160px;
    }
    
    .wm-footer__contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .wm-footer__contact-item i {
        width: 35px;
        height: 35px;
    }
}