.footer { background-image: url(https://bibhutisolutions.com.au/assets/images/bg/4.jpg); color: #fff; padding: 30px 0; } .footer h5 { color: #fff; margin-bottom: 20px; } .footer p { color: #fff; font-size: small; font-weight: 400; } .footlinks h5, a { margin-left: 0; } .footer a { color: #fff; text-decoration: none; font-size: small; font-weight: 400; position: relative; transition: color 0.3s ease; } .footer a::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background-color: #fff; transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; } .footer a:hover { color: #C52903; } .footer a:hover::after { transform: scaleX(1); transform-origin: left; } /* Base iframe styles */ #facebook-iframe { width: 100%; /* Default to full width of the container */ height: 100px; /* Default height */ border: none; } /* Styles for tablets */ @media (min-width: 768px) and (max-width: 1024px) { #facebook-iframe { height: 200px; /* Increase height for tablets */ } } @media (max-width: 767px) { #facebook-iframe { height: 60px; margin-left: 0px; } .footer { background-image: url(https://bibhutisolutions.com.au/assets/images/bg/4.jpg); color: #fff; padding: 30px 0; } } /* Media Queries for Mobile and Tablet */ @media (max-width: 767px) { .footer .col-md-3 { margin-bottom: 20px; } .footer h5 { font-size: 16px; } .footer p, .footer a { font-size: 14px; } .footer img { width: 120px; } } @media (max-width: 575px) { .footer .col-md-3 { text-align: center; } .footer img { margin: 0 auto; display: block; } .footer a { display: block; margin: 10px 0; } }