
.footer{
    background-color: #050404;
}
/* Footer Styles */
.container1 {
    width: 100%; /* Full width */
    background-color: #050404;
    text-align: center;
    display: flex;
    flex-direction: row; /* Align items in a horizontal row */
    justify-content: space-around; /* Spread the items evenly */
    align-items: center; /* Center the items vertically */
    max-height: 1200vh;
    box-sizing: border-box; /* Ensure padding doesn't add to the width */
    overflow-x: hidden; /* Prevent horizontal overflow */
    padding: 20px; /* Add padding for spacing */
}

.mes {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    width: 33%; /* Set a smaller width */
    max-width: 300px; /* Optional: set a max-width for larger screens */
    text-align: center; /* Center the text */
    padding: 10px; /* Add padding for spacing */
}

.yclogo {
    width: 100px; /* Adjust the logo size as needed */
    margin-bottom: 10px; /* Space between image and text */
}

.mes p {
    font-size: 16px; /* Adjust font size as needed */
    color: #e6e6e6; /* Text color */
}

/* Footer Menu Container */
.fmenu {
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between menu lists */
    align-items: center; /* Align items at the center */
    flex-wrap: nowrap; /* Prevent wrapping for smaller screens */
}

.fmenu h2 {
    color: #f8f8f8;
}

/* Footer Menu Styles */
.footer-menu,
.service-list {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    flex: 1; /* Allow items to grow */
}

/* Footer Menu Items */
.footer-menuitems,
.service-items {
    margin: 10px 0; /* Margin for spacing between items */
}

/* Links in Footer Menu */
.footer-menuitems a {
    text-decoration: none; /* Remove underline */
    color: #e6e6e6; /* Text color */
    font-size: 16px; /* Font size */
    padding: 5px 10px; /* Padding for clickable area */
    transition: color 0.3s ease; /* Transition for hover effect */
    display: inline-block; /* Ensure padding works */
}

/* Hover Effect */
.footer-menuitems a:hover {
    color: #ff9900; /* Color on hover */
}

/* Service List */
.service-list {
    text-align: left; /* Align text to the left */
}

/* Service Items */
.service-items {
    color: #e6e6e6; /* Service item text color */
    font-size: 16px; /* Font size */
}

/* Contact Info */
.contactinfo {
    margin: 40px 0;
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
    justify-content: center; /* Align vertically */
}

.contactinfo h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f8f8f8;
}

.contactinfo .info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 16px;
    color: #e6e6e6;
}

.contactinfo .info i {
    margin-right: 10px;
    font-size: 20px;
    color: #ff9900;
}

.info a {
    color: #e6e6e6;
    text-decoration: none;
}

.info a:hover {
    color: #ff9900;
}

/* Separator */
.seperator {
    border: none;
    height: 3px;
    background-color: #faf1f1;
    width: 100%;
    margin: 40px 0;
}

/* Bottom Container */
.bottom-container {
    background-color: #050404;  /* Match the separator color */
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    top: 20px;
}

/* Separator */
.seperator {
    border: none;
    height: 3px;
    border-radius: 5px;
    background-color: #ffffff;
    width: 90%;
    margin: 0 0 ;
    margin-left: 4.5rem;
}

/* Bottom Container */
.bottom-container {
    background-color: #050404;  /* This will match the separator color */
    color: #fff;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}



/* Copyright and Powered By */
.copyright, .poweredby {
    margin-bottom: 15px;
}

.copyright h5, .poweredby h5 {
    font-size: 14px;
    margin: 0;
    color: #fff;
}

.poweredby a {
    color: #ff9900;
    text-decoration: none;
}

.poweredby a:hover {
    text-decoration: underline;
}

/* Social Media Icons */


.social-icon {
    margin: 0 10px;
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease;
}

.social-icon:hover {

    color: #ff9900;
}

/* Media Queries for Different Screen Sizes */

/* For large desktops */
@media (min-width: 1200px) {
    .container1 {
        padding: 30px;
    }
}

/* For tablets and small desktops */
@media (max-width: 1024px) {
    .fmenu {
        flex-direction: column;  /* Stack footer menu vertically */
        align-items: center;
    }
    
    .footer-menuitems, .service-items {
        font-size: 14px;  /* Slightly smaller text for tablets */
    }

    .contactinfo .info {
        font-size: 14px;
        justify-content: flex-start;  /* Align text to the left */
    }

    .social-media {
        justify-content: center;
    }
}

@media (max-width: 780px){
    .container1 {
        width: 100%; /* Full width */
        background-color: #050404;
        text-align: center;
        display: flex;
        flex-direction: column; /* Align items in a horizontal row */
        justify-content: space-around; /* Spread the items evenly */
        align-items: center; /* Center the items vertically */
        max-height: 1200vh;
        box-sizing: border-box; /* Ensure padding doesn't add to the width */
        overflow-x: hidden; /* Prevent horizontal overflow */
        padding: 20px; /* Add padding for spacing */
    }
}

/* For large smartphones and portrait tablets */
@media (max-width: 768px) {
    
    .fmenu {
        flex-direction: column;  /* Stack menus vertically */
        align-items: center;
    }

    .footer-menu, .service-list {
        text-align: center;  /* Center the list on smaller screens */
    }

    .contactinfo .info {
        justify-content: flex-start;
        padding-left: 10px;
        font-size: 14px;
    }

    .copyright h5, .poweredby h5 {
        font-size: 12px;  /* Smaller text for small devices */
    }

    .social-icon {
        font-size: 22px;  /* Slightly reduce icon size */
    }
}

/* For small smartphones */
@media (max-width: 480px) {
    .yclogo {
        width: 120px;  /* Reduce logo size */
    }

    .footer-menuitems, .service-items {
        font-size: 12px;  /* Smaller font for smaller screens */
    }

    .contactinfo h1 {
        font-size: 20px;
    }

    .contactinfo .info {
        font-size: 12px;  /* Smaller font for contact info */
    }

    .social-icon {
        font-size: 20px;  /* Smaller social media icons */
    }

    .copyright h5, .poweredby h5 {
        font-size: 10px;  /* Smaller copyright text */
    }

    .seperator {
        height: 2px;  /* Reduce separator thickness */
    }
}
