/* ========================================
   ENTERPRISE FOOTER STYLES
   High-tech corporate footer styling
   ======================================== */

/* Main Footer Container */
.enterprise-footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d3748 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
}

.enterprise-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Footer Main Content */
.footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}

/* Ensure footer container aligns with header container */
.enterprise-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px !important;
    width: 100%;
    box-sizing: border-box;
}

/* Override Bootstrap row padding */
.enterprise-footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Override Bootstrap column padding */
.enterprise-footer [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Brand Section */
.footer-brand {
    margin-bottom: 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(46, 139, 192, 0.3);
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    background: linear-gradient(135deg, #2e8bc0, #87ceeb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 14px;
    color: #87ceeb;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.company-description {
    color: #b8c5d1;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Company Stats */
.company-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 80px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(46, 139, 192, 0.1);
    border-color: rgba(46, 139, 192, 0.3);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2e8bc0;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #87ceeb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #2e8bc0, #87ceeb);
    border-radius: 1px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #2e8bc0;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #2e8bc0;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b8c5d1;
}

.contact-item i {
    color: #2e8bc0;
    margin-right: 12px;
    margin-top: 2px;
    width: 16px;
    text-align: center;
}

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

.contact-item a:hover {
    color: #2e8bc0;
}

.contact-item span {
    line-height: 1.4;
}

/* Social Links */
.social-links {
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #b8c5d1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 8px;
}

.social-link:hover {
    color: #2e8bc0;
    background: rgba(46, 139, 192, 0.1);
    padding-left: 10px;
}

.social-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.social-link span {
    font-size: 14px;
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-signup h5 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.newsletter-signup p {
    color: #87ceeb;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #87ceeb;
}

.newsletter-input:focus {
    outline: none;
    border-color: #2e8bc0;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(46, 139, 192, 0.2);
}

.newsletter-btn {
    padding: 10px 15px;
    background: linear-gradient(135deg, #2e8bc0, #1e6ba8);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #1e6ba8, #2e8bc0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 139, 192, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.copyright p {
    color: #87ceeb;
    font-size: 14px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2e8bc0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    /* Ensure footer container aligns with header on mobile */
    .enterprise-footer .container {
        padding: 0 15px !important;
    }
    
    /* Override Bootstrap row padding on mobile */
    .enterprise-footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Override Bootstrap column padding on mobile */
    .enterprise-footer [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .brand-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .company-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 70px;
        padding: 12px;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .company-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
.footer-section:nth-child(5) { animation-delay: 0.5s; }

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-item:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Hover Effects for Interactive Elements */
.footer-links a,
.contact-item a,
.social-link,
.footer-legal a {
    position: relative;
    overflow: hidden;
}

.footer-links a::after,
.contact-item a::after,
.social-link::after,
.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(135deg, #2e8bc0, #87ceeb);
    transition: left 0.3s ease;
}

.footer-links a:hover::after,
.contact-item a:hover::after,
.social-link:hover::after,
.footer-legal a:hover::after {
    left: 0;
}

/* Additional Sophisticated Effects */
.enterprise-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(46, 139, 192, 0.03) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.brand-name {
    position: relative;
    overflow: hidden;
}

.brand-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.brand-name:hover::after {
    left: 100%;
}

.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 192, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

/* Enhanced Newsletter Button */
.newsletter-btn {
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

/* Floating Animation for Logo */
.logo-img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow Effect for Section Titles */
.section-title {
    text-shadow: 0 0 10px rgba(46, 139, 192, 0.3);
}

/* Enhanced Grid Pattern */
.enterprise-footer::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(46,139,192,0.05)" stroke-width="0.5"/><circle cx="10" cy="10" r="1" fill="rgba(46,139,192,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}
