/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.main-footer {
    width: 100%;
    display: block;
    background-color: #000000;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3498db;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 1.8rem;
    color: #3498db;
}

.footer-logo span {
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #000000;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-5px);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.contact-info i {
    margin-right: 10px;
    color: #3498db;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #3498db;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* =========================
   Footer Responsive Styles
   ========================= */

/* Tablets (iPads, small laptops) */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-logo span {
        font-size: 1.05rem;
    }
}

/* Large phones & small tablets */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-logo-img {
        height: 45px;
    }

    .social-links {
        gap: 12px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Phones */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul {
        padding-left: 0;
    }

    .contact-info li {
        justify-content: center;
    }

    .contact-info i {
        margin-top: 0;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .footer-logo-img {
        height: 40px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
