
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}


header {
    background-color: #ff6e4e;
    color: white;
    margin: 0; /* Remove default margin */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distributes space evenly between logo/site name and nav */    
    height: 100%; /* Ensures the container fills the header height */
    width: 100%;
}


.logo img {
    height: 100px;
    width: auto;
    margin-left: 30px;

}


nav .menu-toggle {
    display: none; /* Hidden on large screens */
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin-right: 20px;
    gap: 20px; /* Space between each navigation item */
    justify-content: flex-end; /* Pushes the nav items to the right */

}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 0px;
}

.main-content.container {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    flex-wrap: wrap; /* Prevent wrapping */

}

.about-sectionfrm {
    position: relative; /* Establishes a containing block for the absolutely positioned logo */
    text-align: center;
    padding: 20px;
    width:100% ;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}


form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.562);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}



form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #ff6e4e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #e55c3e;
}

.success-message {
    color: green;
    font-weight: bold;
}

.error-message {
    color: red;
    font-weight: bold;
}

/* Footer Styles */
footer {
    margin-top: auto;
    background-color: #ff6e4e; /* Dark background */
    color: #fff; /* White text */
    text-align: left;
    height: 100px; /* Fixed height for the header */
    align-items: center;
    margin: 0; /* Remove default margin */
    position: relative; /* Ensure it doesn’t overlap content */ 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px;
    height: 100%;
    
}

.footer-left {
    display: flex;
    margin-left: 90px; /* Space from the start of the footer */
    height: 80%;
    align-content: center;

}

.footer-links,
.footer-policies {
    list-style: disc;
    padding: 0;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    gap: 0px; /* Space between each link in the list */
    padding: 0px;
   

}

.footer-policies {
    margin-left: 60px; /* Space between the two sets of links */
}

.footer-links li,
.footer-policies li {
    margin-bottom: 10px; /* Remove any default bottom margin */
}

.footer-links a,
.footer-policies a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover,
.footer-policies a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligns social icons to the right end */
    margin-right: 40px; /* Space from the right end of the footer */
    margin-top: 0px;
    height: 80%;
}

.footer-social-media {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the WhatsApp icon horizontally */
    margin-right: 20px;
    
}

.social-row {
    display: flex;
    gap: 10px; /* Space between Facebook and Instagram icons */
    justify-content: center; /* Center align the icons in their container */
}

.whatsapp-wrapper {
    margin-top: 10px; /* Space between the WhatsApp icon and the row above */
    display: flex;
    justify-content: center; /* Center WhatsApp under the row */
    width: 100%; /* Ensure the WhatsApp icon is centered under the full width */
}

/* Social Icon Size */
.social-icon {
    width: 30px;
    height: 30px;
    margin-left: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    header .container {
        display: flex;
        flex-direction: row;
        height: 80px;
        align-items: center;
        justify-content: space-between; /* Distributes space evenly between logo, search bar, and nav */

    }

    .logo {
        margin-bottom: 0px;
    }

   

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 10%; /* Position it below the header */
        width: auto;
        right: 0;
        padding: 20px;  
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add a shadow for the popup effect */
        z-index: 1000; /* Ensure it is on top */
        align-items: start;
        
    }

    nav ul.active {
        display: flex; /* Show the menu when active */
        
    }

    nav ul.active li a {
        color: #ff6e4e; /* Change to your desired color */
    }

    nav .menu-toggle {
        display: inline-block;
        position: relative;
        cursor: pointer;
        margin-right: 20px;
    }

    nav .menu-toggle div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 4px 0;
    }

    
   .main-content.container {
    padding: 10px;

}

.about-sectionfrm {
    
    padding: 10px;

}
    
form {
    width: 400px;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
  
}

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        text-align: left;
        margin: 10px 0;
    }

    .footer-right {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
   
    .logo img {
        height: 100px;
        width: auto;
        margin-left: 0px;
    
    }
    
  .main-content.container {
    padding: 05px;

}

.about-sectionfrm {
    
    padding: 10px;

}
    
form {
    width: 300px;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
  
}
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        text-align: left;
        margin: 10px 0;
    }

    .footer-right {
        align-items: center;
    }
}

/* Handle landscape mode specifically for smaller screens */
@media (orientation: landscape) and (max-width: 812px) {
    header {
        padding: 0; /* Remove padding to ensure header stretches across screen */
        width: 100vw; /* Ensure full width in landscape mode */
    }

    footer {
        padding: 0; /* Remove padding to ensure footer stretches across screen */
        width: 100vw; /* Ensure full width in landscape mode */
    }

}
