.footer {
    /* background: linear-gradient(to right, #1a1a1a, #2d2d2d); */
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.footer .container {
    position: relative;
    z-index: 1001;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #d90429;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    color: #adb5bd;
}

.footer-contact i {
    color: #d90429;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #d90429;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    color: #adb5bd;
}

.footer-bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links li:not(:last-child) {
    margin-right: 20px;
}

/* Credits Styling */
.credits {
    font-size: 14px;
    line-height: 1.6;
}

.credits-text {
    color: #adb5bd;
    margin-bottom: 8px;
}

.credits-label {
    color: #adb5bd;
    font-weight: 500;
}

.credits-link {
    color: #d90429;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.credits-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.credits-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #d90429, #ef233c);
    transition: width 0.3s ease;
}

.credits-link:hover::after {
    width: 100%;
}

.credits-separator {
    color: #adb5bd;
    margin: 0 8px;
    font-weight: 400;
}

/* Responsive Credits */
@media (max-width: 768px) {
    .credits {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .credits-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .credits-text {
        font-size: 12px;
    }
    
    .credits-link {
        display: inline-block;
        margin: 0 2px;
    }
}

/* Ensure footer text is visible */
.footer p, .footer h5, .footer a {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Add stronger background for better visibility */
.footer {
    background: linear-gradient(to right, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.95));
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

/* Newsletter Form Styles */
.newsletter-form {
    position: relative;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d90429;
    box-shadow: 0 0 0 0.2rem rgba(217, 4, 41, 0.25);
    color: #fff;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: linear-gradient(135deg, #d90429, #ef233c);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    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;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #ef233c, #d90429);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.4);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.newsletter-message.success {
    color: #28a745;
}

.newsletter-message.error {
    color: #dc3545;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsive Newsletter */
@media (max-width: 768px) {
    .newsletter-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .newsletter-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}