/* Footer New Design - Times Consultant Style */

/* Base Footer Styles */
.footer-new {
    background: #f5f4fa;
    color: #616670;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Ensure footer containers are full width on large screens */
.footer-new .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    .footer-new .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 768px) {
    .footer-new .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 992px) {
    .footer-new .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 1200px) {
    .footer-new .container {
        max-width: 100% !important;
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (min-width: 1400px) {
    .footer-new .container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* Ensure footer sections take full width */
.footer-top-section,
.footer-main,
.footer-accreditation,
.footer-copyright {
    width: 100%;
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.01) 100%);
    pointer-events: none;
}

/* Footer Top Section */
.footer-top-section {
    padding: 50px 0 30px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 6px;
    color: #616670;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    text-decoration: none;
    border-color: #e74c3c;
}

.social-link i {
    font-size: 16px;
}

/* Footer Main Section */
.footer-main {
    padding: 50px 0 30px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e74c3c;
    border-radius: 1px;
}

.footer-widget p {
    font-size: 14px;
    line-height: 1.6;
    color: #616670;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #616670;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #e74c3c;
    padding-left: 20px;
    text-decoration: none;
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

/* Contact Widget Specific Styles */
.contact-widget .contact-email,
.contact-widget .contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #616670;
    font-size: 14px;
}

.contact-widget .contact-email i,
.contact-widget .contact-phone i {
    color: #e74c3c;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.contact-widget .contact-email a,
.contact-widget .contact-phone a {
    color: #616670;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-widget .contact-email a:hover,
.contact-widget .contact-phone a:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* Newsletter Form Styles */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.newsletter-input {
    width: 100%;
    height: 45px;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    color: #616670;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-input:focus {
    outline: none;
    border-color: #e74c3c;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.newsletter-btn {
    width: 100%;
    height: 45px;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    background: #ED2057;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.newsletter-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.privacy-text {
    font-size: 11px;
    color: #999999;
    text-align: center;
    line-height: 1.4;
}

    .privacy-text a {
        color: #ED2057;
        text-decoration: none;
        transition: all 0.3s ease;
    }

.privacy-text a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* Disabled Privacy Policy Link */
.privacy-link-disabled {
    color: #e74c3c;
    text-decoration: none;
    cursor: default;
    font-weight: 500;
}

/* Accreditation Section */
.footer-accreditation {
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.accreditation-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #616670;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accreditation-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9rem;
    flex-wrap: wrap;
    padding: 0 20px;
}

.accreditation-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.accreditation-badge:hover {
    transform: translateY(-2px);
}

.accreditation-badge img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Copyright Section */
.footer-copyright {
    background: #f0f0f0;
    padding: 20px 0;
    text-align: center;
}

.copyright-text {
    font-size: 12px;
    color: #616670;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .footer-header {
        justify-content: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .footer-main .row {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-main .col-xl-3 {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-widget {
        margin-bottom: 0;
    }
    
    .accreditation-badges {
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .footer-top-section {
        padding: 30px 0 20px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .footer-widget h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-widget p {
        font-size: 13px;
    }
    
    .footer-links li a {
        font-size: 13px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        height: 40px;
        font-size: 13px;
    }
    
    .accreditation-badges {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .accreditation-badge {
        padding: 8px;
    }
    
    .accreditation-badge img {
        max-height: 60px;
        max-width: 120px;
    }
}

@media (max-width: 575px) {
    .footer-top-section {
        padding: 25px 0 15px;
    }
    
    .footer-main {
        padding: 25px 0 15px;
    }
    
    .footer-logo img {
        max-width: 120px;
    }
    
    .social-link {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .social-link span {
        display: none;
    }
    
    .footer-widget h3 {
        font-size: 13px;
        text-align: center;
        padding-bottom: 10px;
        margin-bottom: 14px;
    }

    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget p {
        font-size: 12px;
    }
    
    .footer-links li a {
        font-size: 12px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        height: 38px;
        font-size: 12px;
    }
    
    .accreditation-badges {
        gap: 1.5rem;
        padding: 0 5px;
    }
    
    .accreditation-badge {
        padding: 6px;
    }
    
    .accreditation-badge img {
        max-height: 50px;
        max-width: 100px;
    }
    
    .copyright-text {
        font-size: 11px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget {
    animation: fadeInUp 0.6s ease-out;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects for Better UX */
.footer-widget h3:hover {
    color: #e74c3c;
    transition: all 0.3s ease;
}

.footer-links li:hover a::before {
    color: #e74c3c;
}

/* Focus States for Accessibility */
.newsletter-input:focus,
.newsletter-btn:focus,
.social-link:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .footer-new {
        background: #f5f5f5 !important;
        color: #333 !important;
    }
    
    .footer-new::before {
        display: none;
    }
    
    .social-link {
        background: transparent !important;
        border: 1px solid #333 !important;
        color: #333 !important;
    }
}
