/* Footer Styles */
footer {
    background-color: #fff;
    color: #000;
    padding: 1.5rem 0 0.75rem;
    margin-top: auto;
    min-height: 150px;
    height: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer .container {
    padding-left: 20px;
    padding-right: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #dc3545;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #dc3545;
}

/* Social Media Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.social-link {
    color: #000;
    text-decoration: none;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-link:hover {
    color: #dc3545;
    padding-left: 0.3rem;
}

.social-link:hover svg {
    fill: #dc3545;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
    text-align: center;
    color: #000;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    footer {
        padding: 1.25rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    
    .footer-section ul li {
        margin-bottom: 0.35rem;
    }
    
    .footer-section ul li a {
        font-size: 0.88rem;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    footer {
        min-height: auto;
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
    
    .footer-section ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 0.5rem 1rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 6px;
        min-width: 120px;
        justify-content: center;
    }
    
    .social-link:hover {
        padding-left: 1rem;
        border-color: #dc3545;
    }
    
    .footer-bottom {
        padding-top: 0.75rem;
        font-size: 0.8rem;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    footer {
        min-height: auto;
        padding: 1.25rem 0 0.6rem;
    }
    
    footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-content {
        gap: 1.25rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.35rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
    
    .footer-section ul li {
        margin-bottom: 0.35rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 0.5rem 1rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 6px;
    }
    
    .social-link:hover {
        padding-left: 1rem;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .social-link span {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 0.6rem;
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-bottom p {
        padding: 0 0.5rem;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    footer {
        padding: 1rem 0 0.5rem;
    }
    
    footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.3rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .social-link {
        padding: 0.45rem 0.8rem;
        max-width: 180px;
        font-size: 0.8rem;
    }
    
    .social-link svg {
        width: 15px;
        height: 15px;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 0.5rem;
    }
}

/* Landscape Orientation for Small Screens */
@media (max-width: 768px) and (orientation: landscape) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .social-links {
        flex-direction: row;
        justify-content: flex-start;
    }
}

