/* Enhanced Footer Styling */
.footer-custom {
    background: #000 !important;
    color: #fff !important;
    padding: 5rem 0 2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-brand h3 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 1px;
    background: #fff;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: #cecece ;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-text {
    color: #cecece ;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px; /* Increased size for larger icons */
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem; /* Slightly larger icon font size */
}

/* Specific colors for each social media platform */
.social-icon[title="Twitter"] {
    background: #1DA1F2; /* Twitter/X blue */
    color: #fff;
}

.social-icon[title="LinkedIn"] {
    background: #0077B5; /* LinkedIn blue */
    color: #fff;
}

.social-icon[title="Facebook"] {
    background: #1877F2; /* Facebook blue */
    color: #fff;
}

.social-icon[title="Instagram"] {
    background: #E4405F; /* Instagram pink */
    color: #fff;
}

.social-icon[title="YouTube"] {
    background: #FF0000; /* YouTube red */
    color: #fff;
}

.social-icon[title="Pinterest"] {
    background: #BD081C; /* Pinterest red */
    color: #fff;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.9; /* Slightly dim on hover for effect */
}

.cta-container {
    max-width: 320px;
    margin-left: auto;
}

.cta-buttons .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

.cta-buttons .btn-light:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    color: #cecece ;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #fff;
    margin-right: 10px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 38%) !important;
    padding-top: 1.5rem !important;
}

.footer-bottom small {
    color: #cecece;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-legal-links a {
    color: #cecece !important;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
}

.footer-legal-links a:hover {
    color: #aaa !important;
}

@media (max-width: 992px) {
    .cta-container {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-custom {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-brand h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-title {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-menu {
        margin-bottom: 2rem;
    }
    
    .footer-menu a:hover {
        transform: none;
        padding-left: 5px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
    
    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .footer-legal-links a {
        margin: 0;
    }
    
    /* Enhanced centering for mobile view */
    .cta-container {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        text-align: center;
        width: 100%;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .footer-bottom small {
        justify-content: center;
    }
}