* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Footer General Styles */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #12f320;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

#the_info {
    text-align: left;
}

.footer-links {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

.contact-info a {
    color: #f39c12;
}

.newsletter form {
    display: flex;
    margin-top: 20px;
}

.newsletter input {
    padding: 10px;
    font-size: 14px;
    border: 2px solid #f39c12;
    border-radius: 5px;
    margin-right: 10px;
}

.newsletter button {
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #e67e22;
}

.footer-bottom {
    background-color: #34495e;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.social-media {
    margin-bottom: 10px;
}

.social-media .social-icon {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: transform 0.3s ease-in-out;
}

.social-media .social-icon:hover {
    color: #f39c12;
    transform: scale(1.2);

}

/* Base Styles for Mobile Devices */
@media (max-width: 768px) {
    /* Footer Container */
    .footer-container {
        grid-template-columns: 1fr;  /* Stack the footer sections vertically on small screens */
        gap: 20px;  /* Add some space between sections */
    }

    /* Company Info Section */
    .footer-section.company-info,
    .footer-section.quick-links,
    .footer-section.legal-compliance,
    .footer-section.contact-info,
    .footer-section.newsletter {
        text-align: center;  /* Center the text for readability */
    }

    .footer-section h3 {
        font-size: 18px;  /* Make the section titles smaller */
        margin-bottom: 10px;
    }

    /* Adjust the footer links for mobile */
    .footer-links li {
        margin: 5px 0;
    }

    #the_info {
        text-align: center;
    }

    /* Newsletter Input Styles */
    .newsletter form {
        flex-direction: column;  /* Stack the input field and button vertically */
        width: 100%;
    }

    .newsletter input {
        width: 100%;  /* Make the input field full width */
        margin-bottom: 10px;  /* Space between input field and button */
    }

    .newsletter button {
        width: 100%;  /* Make the button full width */
        padding: 12px 0;  /* Adjust button padding for mobile */
    }

    /* Social Media Icons in Footer */
    .social-media {
        margin-bottom: 10px;
    }

    .social-media .social-icon {
        margin: 0 10px;  /* Adjust spacing between icons */
        font-size: 16px;  /* Smaller icon size for mobile */
    }

    /* Footer Bottom Section */
    .footer-bottom {
        font-size: 12px;  /* Smaller font size */
        padding: 10px;
    }

    /* Hide the "Terms & Conditions" link in footer bottom on small screens */
    .footer-bottom a {
        font-size: 12px;
    }
}

/* Further Adjustments for Extra Small Devices (e.g., Phones in Portrait Mode) */
@media (max-width: 480px) {
    .footer-container {
        gap: 15px;  /* Reduce the gap between sections */
    }

    /* Adjust Footer Bottom Text Size */
    .footer-bottom p {
        font-size: 10px;  /* Smaller text for mobile screens */
    }

    /* Social Media Icons */
    .social-media .social-icon {
        margin: 0 8px;  /* Reduce space between icons */
        font-size: 14px;  /* Smaller icon size */
    }

    /* Contact Information and Footer Text */
    .contact-info p {
        font-size: 12px;  /* Adjust font size for mobile screens */
    }

    /* Ensure Newsletter button is full-width and adjusts well */
    .newsletter button {
        width: 100%;
        padding: 10px 0;
    }
}


.social-icon {
    font-size: 40px;
    margin-right: 20px;
}
.facebook { color: #0077b5; }
.twitter { color: #00acee; }
.whatsapp { color: #00FF00; }
