/* CSS Variables for Newsletter Button */
:root {
    --gradient-gold: linear-gradient(135deg, #800000 0%, #600000 100%);
    --dark-bg: #1a1a1a;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Modern Footer Styles */
.footer {
    padding: 0;
    background: url(../assets/images/hero/footer-bg.png) no-repeat center / cover;
    overflow-x: hidden;
    background-color: var(--primary-color-1);
    color: var(--headline-color);
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
}

/* Newsletter Section */
.footer .newsletter-section {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .newsletter-section .newsletter-content .newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer .newsletter-section .newsletter-content .newsletter-title .highlight {
    color: var(--primary-color-1);
    background: linear-gradient(135deg, var(--primary-color-1), var(--red-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer .newsletter-section .newsletter-content .newsletter-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

/* Newsletter Animation Enhancement */
@keyframes newsletter-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: newsletter-pulse 4s infinite;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group:hover {
    animation: none;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color-1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: none;
    transform: translateY(-2px);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group .email-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group .email-input-wrapper .email-icon {
    position: absolute;
    left: 20px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    transition: all 0.3s ease;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group:focus-within .email-input-wrapper .email-icon {
    color: var(--primary-color-1);
    transform: scale(1.1);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--white-color);
    padding: 15px 20px 15px 50px;
    font-size: 1rem;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-input:focus {
    outline: none;
    box-shadow: none;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn svg {
    transition: transform 0.3s ease;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn:hover svg {
    transform: translateX(3px);
}

/* Newsletter Button Styles - Matching View Details Button */
.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn {
    width: auto;
    background: var(--gradient-gold);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 40px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 110px;
    font-size: 0.85rem;
    height: 44px;
    white-space: nowrap;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn:hover:before {
    left: 100%;
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn svg {
    transition: var(--transition);
}

.footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn:hover svg {
    transform: translateX(3px);
}

/* Main Footer Content */
.footer .footer-main {
    padding: 60px 0 40px;
}

.footer .footer-main .footer-company-info .footer-logo-wrapper .footer-logo {
    display: inline-block;
}

.footer .footer-main .footer-company-info .footer-logo-wrapper .footer-logo .logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer .footer-main .footer-company-info .footer-logo-wrapper .footer-logo:hover .logo-img {
    transform: scale(1.05);
}

.footer .footer-main .footer-company-info .company-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer .footer-main .footer-company-info .social-links .social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.footer .footer-main .footer-company-info .social-links .social-icons {
    display: flex;
    gap: 15px;
}

.footer .footer-main .footer-company-info .social-links .social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #800000;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .footer-main .footer-company-info .social-links .social-icons .social-icon:hover {
    background: var(--primary-color-1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer .footer-main .footer-company-info .social-links .social-icons .social-icon svg {
    width: 20px;
    height: 20px;
}

.footer .footer-main .footer-links-section .footer-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer .footer-main .footer-links-section .footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color-1);
    border-radius: 2px;
}

.footer .footer-main .footer-links-section .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-main .footer-links-section .footer-links li {
    margin-bottom: 0.8rem;
}

.footer .footer-main .footer-links-section .footer-links li .footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer .footer-main .footer-links-section .footer-links li .footer-link .link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer .footer-main .footer-links-section .footer-links li .footer-link .link-icon svg {
    width: 12px;
    height: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer .footer-main .footer-links-section .footer-links li .footer-link:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer .footer-main .footer-links-section .footer-links li .footer-link:hover .link-icon {
    background: var(--primary-color-1);
}

.footer .footer-main .footer-links-section .footer-links li .footer-link:hover .link-icon svg {
    color: var(--white-color);
}

.footer .footer-main .footer-contact-section .footer-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer .footer-main .footer-contact-section .footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color-1);
    border-radius: 2px;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color-1);
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-details {
    flex: 1;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-details .contact-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-details .contact-link:hover {
    color: var(--white-color);
}

.footer .footer-main .footer-contact-section .contact-info .contact-item .contact-details .contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.footer .footer-main .footer-contact-section .contact-info .contact-item:hover .contact-icon {
    background: var(--primary-color-1);
}

.footer .footer-main .footer-contact-section .contact-info .contact-item:hover .contact-icon svg {
    color: var(--white-color);
}

/* Copyright Section */
.footer .copyright-section {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright-section .copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer .copyright-section .copyright-content .copyright-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.footer .copyright-section .copyright-content .copyright-links {
    display: flex;
    gap: 30px;
}

.footer .copyright-section .copyright-content .copyright-links .copyright-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer .copyright-section .copyright-content .copyright-links .copyright-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color-1);
    transition: width 0.3s ease;
}

.footer .copyright-section .copyright-content .copyright-links .copyright-link:hover {
    color: var(--white-color);
}

.footer .copyright-section .copyright-content .copyright-links .copyright-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer .newsletter-section {
        padding: 60px 0 40px;
    }
    
    .footer .newsletter-section .newsletter-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer .newsletter-section .newsletter-content .newsletter-title {
        font-size: 2rem;
    }
    
    .footer .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer .footer-main .footer-company-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer .footer-main .footer-company-info .social-icons {
        justify-content: center;
    }
    
    .footer .footer-main .footer-links-section {
        margin-bottom: 2rem;
    }
    
    .footer .copyright-section .copyright-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer .copyright-section .copyright-content .copyright-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer .newsletter-section .newsletter-content .newsletter-title {
        font-size: 1.5rem;
    }
    
    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }

    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group .email-input-wrapper {
        margin-bottom: 15px;
    }

    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group .email-input-wrapper .email-icon {
        left: 15px;
    }
    
    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-input {
        margin-bottom: 0;
        padding: 15px 15px 15px 45px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer .newsletter-section .newsletter-form-wrapper .newsletter-form .newsletter-btn.view-details-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
        height: 40px;
        font-size: 0.8rem;
        border-radius: 35px;
    }
    
    .footer .footer-main .footer-company-info .social-icons {
        gap: 10px;
    }
    
    .footer .footer-main .footer-company-info .social-icons .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .footer .footer-main .footer-company-info .social-icons .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer .copyright-section .copyright-content .copyright-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Account Section Styles */
.footer .footer-main .footer-links-section .footer-section-title.account-title {
    color: var(--white-color);
}

.footer .footer-main .footer-links-section .footer-links .footer-link.account-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer .footer-main .footer-links-section .footer-links .footer-link.account-link:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer .footer-main .footer-links-section .footer-links .footer-link.account-link .link-icon {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer .footer-main .footer-links-section .footer-links .footer-link.account-link:hover .link-icon {
    background: var(--primary-color-1);
}

.footer .footer-main .footer-links-section .footer-links .footer-link.account-link:hover .link-icon svg {
    color: var(--white-color);
}

/* Theme Variations */
.footer.footer-two .newsletter-section .newsletter-content .newsletter-title .highlight {
    background: linear-gradient(135deg, var(--primary-color-2), var(--red-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer.footer-two .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group:focus-within {
    border-color: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-company-info .social-links .social-icons .social-icon:hover {
    background: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-links-section .footer-section-title::after {
    background: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-links-section .footer-links li .footer-link:hover .link-icon {
    background: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-contact-section .footer-section-title::after {
    background: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-contact-section .contact-info .contact-item .contact-icon svg {
    color: var(--primary-color-2);
}

.footer.footer-two .footer-main .footer-contact-section .contact-info .contact-item:hover .contact-icon {
    background: var(--primary-color-2);
}

.footer.footer-two .copyright-section .copyright-content .copyright-links .copyright-link::after {
    background: var(--primary-color-2);
}

.footer.footer-three .newsletter-section .newsletter-content .newsletter-title .highlight {
    background: linear-gradient(135deg, var(--primary-color-3), var(--red-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer.footer-three .newsletter-section .newsletter-form-wrapper .newsletter-form .form-group:focus-within {
    border-color: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-company-info .social-links .social-icons .social-icon:hover {
    background: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-links-section .footer-section-title::after {
    background: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-links-section .footer-links li .footer-link:hover .link-icon {
    background: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-contact-section .footer-section-title::after {
    background: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-contact-section .contact-info .contact-item .contact-icon svg {
    color: var(--primary-color-3);
}

.footer.footer-three .footer-main .footer-contact-section .contact-info .contact-item:hover .contact-icon {
    background: var(--primary-color-3);
}

.footer.footer-three .copyright-section .copyright-content .copyright-links .copyright-link::after {
    background: var(--primary-color-3);
}

/* Account Section Theme Variations */
.footer.footer-two .footer-main .footer-links-section .footer-links .footer-link.account-link:hover .link-icon {
    background: var(--primary-color-2);
}

.footer.footer-three .footer-main .footer-links-section .footer-links .footer-link.account-link:hover .link-icon {
    background: var(--primary-color-3);
} 