/* ===== MOBILE FOOTER STYLES ===== */

/* Footer Base Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #FF6B6B;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #ecf0f1;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact div {
    color: #ecf0f1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: #FF6B6B;
    width: 16px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ecf0f1;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.footer-social a:hover {
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 14px;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .footer {
        padding: 25px 0 12px !important;
    }
    
    .footer-content {
        gap: 20px !important;
    }
    
    .footer-section h3 {
        font-size: 1.2rem !important;
    }
    
    .footer-section h4 {
        font-size: 1rem !important;
    }
}

/* Mobile Styles - Horizontal Layout Like Laptop */
@media (max-width: 768px) {
    .footer {
        padding: 25px 0 12px;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .footer-section p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .footer-links {
        gap: 4px;
    }
    
    .footer-links a {
        font-size: 11px;
        padding: 2px 0;
    }
    
    .footer-contact {
        align-items: center;
        gap: 4px;
    }
    
    .footer-contact div {
        justify-content: center;
        font-size: 10px;
    }
    
    .footer-contact i {
        font-size: 10px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 12px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .footer {
        padding: 25px 0 12px;
    }
    
    .footer-container {
        padding: 0 12px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .footer-contact div {
        font-size: 13px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
}

/* ===== INLINE FOOTER OVERRIDE STYLES ===== */
/* These styles will override any inline footer styles to ensure consistency */

footer[style*="background"] {
    background: #2c3e50 !important;
    color: white !important;
    padding: 40px 0 20px !important;
}

footer[style*="background"] > div {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

footer[style*="background"] > div > div[style*="grid"] {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    margin-bottom: 30px !important;
}

footer[style*="background"] h3 {
    color: #FF6B6B !important;
    margin-bottom: 15px !important;
    font-size: 1.5rem !important;
}

footer[style*="background"] h4 {
    color: white !important;
    margin-bottom: 15px !important;
    font-size: 1.2rem !important;
}

footer[style*="background"] p {
    color: #ecf0f1 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

footer[style*="background"] a {
    color: #ecf0f1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

footer[style*="background"] a:hover {
    color: #FF6B6B !important;
}

footer[style*="background"] i {
    color: #FF6B6B !important;
}

/* Mobile overrides for inline styles - Horizontal Layout */
@media (max-width: 768px) {
    footer[style*="background"] {
        padding: 25px 0 12px !important;
        margin-top: 40px !important;
    }
    
    footer[style*="background"] > div {
        padding: 0 10px !important;
    }
    
    footer[style*="background"] > div > div[style*="grid"] {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    footer[style*="background"] h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    footer[style*="background"] h4 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    footer[style*="background"] p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    
    footer[style*="background"] div[style*="flex-direction: column"] {
        align-items: center !important;
        gap: 4px !important;
    }
    
    footer[style*="background"] div[style*="flex-direction: column"] div {
        justify-content: center !important;
        font-size: 10px !important;
    }
    
    footer[style*="background"] div[style*="flex-direction: column"] a {
        font-size: 11px !important;
        padding: 2px 0 !important;
    }
    
    footer[style*="background"] div[style*="gap: 15px"] {
        justify-content: center !important;
    }
    
    footer[style*="background"] div[style*="gap: 15px"] a {
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }
    
    footer[style*="background"] div[style*="border-top"] {
        padding-top: 12px !important;
    }
    
    footer[style*="background"] div[style*="border-top"] p {
        font-size: 11px !important;
    }
    
    footer[style*="background"] i {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    footer[style*="background"] {
        padding: 25px 0 12px !important;
    }
    
    footer[style*="background"] > div {
        padding: 0 12px !important;
    }
    
    footer[style*="background"] > div > div[style*="grid"] {
        gap: 20px !important;
    }
    
    footer[style*="background"] h3 {
        font-size: 1.2rem !important;
    }
    
    footer[style*="background"] h4 {
        font-size: 1rem !important;
    }
    
    footer[style*="background"] p {
        font-size: 13px !important;
    }
    
    footer[style*="background"] div[style*="flex-direction: column"] div {
        font-size: 13px !important;
    }
    
    footer[style*="background"] a[style*="font-size: 1.5rem"] {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.3rem !important;
    }
}

/* ===== ADDITIONAL MOBILE FOOTER ENHANCEMENTS ===== */

/* Ensure proper spacing between footer sections on mobile */
@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure links are touch-friendly */
    .footer-links a,
    .footer-social a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }
    
    /* Better spacing for contact info */
    .footer-contact div {
        margin-bottom: 8px;
        padding: 4px 0;
    }
    
    .footer-contact div:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure Instagram icon is properly sized */
    .footer-social a i {
        font-size: 1.5rem;
    }
}

/* Extra touch-friendly improvements for very small screens */
@media (max-width: 480px) {
    .footer-links a {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .footer-social a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        margin: 0 8px;
    }
    
    .footer-contact div {
        margin-bottom: 10px;
        padding: 6px 0;
    }
}