/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2b2d42 0%, #1a1b2e 100%);
    color: var(--white, #ffffff);
    padding: 0;
    width: 100%;
}

/* Container */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, var(--theme-primary-color, #e63946) 0%, #f77f00 100%);
    padding: 3rem 0;
    width: 100%;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--white, #ffffff);
    margin-top: 0;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    min-width: 200px;
}

.newsletter-btn {
    background: var(--white, #ffffff);
    color: var(--theme-primary-color, #e63946);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo .logo-text {
    color: var(--white, #ffffff);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white, #ffffff);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--theme-primary-color, #e63946);
    transform: translateY(-5px);
}

/* Footer Headings */
.footer-heading {
    font-size: 1.25rem;
    color: var(--white, #ffffff);
    margin-bottom: 0.5rem;
    margin-top: 0;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--theme-primary-color, #e63946);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a:hover {
    color: var(--theme-primary-color, #e63946);
    padding-left: 0.5rem;
}

.footer-links li a i {
    font-size: 0.8rem;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-contact li i {
    color: var(--theme-primary-color, #e63946);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.footer-contact li span {
    line-height: 1.6;
}

/* App Downloads */
.app-downloads {
    margin-top: 1rem;
}

.app-downloads h5 {
    color: var(--white, #ffffff);
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1rem;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--white, #ffffff);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.app-badge i {
    font-size: 1.75rem;
}

.app-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-badge small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-badge strong {
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom a {
    color: var(--theme-primary-color, #e63946);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #f77f00;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.payment-methods i {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.payment-methods i:hover {
    color: var(--theme-primary-color, #e63946);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-newsletter {
        padding: 2rem 0;
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content h3 {
        font-size: 1.25rem;
    }

    .newsletter-content p {
        font-size: 0.9rem;
    }

    .newsletter-form {
        min-width: 100%;
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }

    .app-badges {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .newsletter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .app-badges {
        flex-direction: column;
    }
}

/* Legacy styles for backward compatibility */
.footer-container {
	border-top: 1px solid #ebebeb;
}

.h-footer {
	padding: 10px;
	background-color: var(--theme-accent-color);
	text-align: center;
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
	color: #646464;
}

.footer-msg-content {
	display: inline-flex;
	flex-flow: wrap;
	justify-content: center;
}

.footer-msg-section {
	vertical-align: center;
	text-align: center;
	align-items: center;
	background-color: #FFDD34;
	padding: 10px;
	min-height: 48px;
	width: 100%;
	position: fixed;
	margin: auto;
	z-index: 100;
	bottom: 0;
}

.footer-msg {
	color: var(--theme-primary-color);
	font-weight: bold;
	font-size: 16px;
	align-items: center;
	padding: 0px 5px;
}

.footer-left-section {
	float: left;
}

.footer-right-section {
	float: right;
}