/* ========================================
   MODERN FOOTER
   ======================================== */

.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #00224d 0%, #0C359E 100%);
    color: white;
    overflow: hidden;
    margin-top: 0;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 70px 0 0;
}

.footer-main {
    padding-bottom: 50px;
}

/* Brand Section */
.footer-brand {
    padding-right: 20px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.brand-highlight {
    background: linear-gradient(135deg, #4A90E2 0%, #74C0FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Certifications */
.footer-certifications {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cert-badge svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Footer Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2 0%, transparent 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Newsletter */
.newsletter-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 30px;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 18px;
    border-radius: 50px 0 0 50px;
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4A90E2;
    color: white;
    box-shadow: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #74C0FC 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.newsletter-btn svg {
    fill: white;
}

/* Social Media */
.social-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: linear-gradient(135deg, #4A90E2 0%, #74C0FC 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal li a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        padding: 50px 0 0;
    }
    
    .footer-main {
        padding-bottom: 35px;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
    
    .footer-brand {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-legal {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .footer-bottom {
        padding: 25px 0;
    }
    
    .copyright {
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .cert-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

@media (max-width: 576px) {
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 25px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        border-radius: 25px;
        width: 100%;
    }
}
