
.CONTACT {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #ffffff;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
header {
    background-color: #000;
    color: #fff;
    padding: 15px 20px;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

header .nav-links li {
    margin-left: 20px;
}

header .nav-links a {
    color: #fff;
    text-decoration: none;
}

header .nav-links a.active {
    text-decoration: underline;
}

/* Main Section Styles */
.contact-section {
    background-color: #000;
    color: #fff;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.contact-section h1 {
    padding-top: 45px;
    margin-bottom: 10px;
    font-size: 36px;
}

.contact-section p {
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}

/* Contact Form Styles */
.contact-form {
    background-color: #222;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 100%; /* Ensure the form fits within the container */
    box-sizing: border-box; /* Include padding in the element's width and height */
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6f00;
}

.contact-form input, 
.contact-form textarea {
    width: 100%; /* Ensure input fields fit within the container */
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box; /* Include padding in the element's width and height */
    transition: background-color 0.3s, border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff6f00;
    outline: none;
    background-color: #444;
}

.contact-form textarea {
    resize: none; /* Prevent textarea from being resized */
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #ff6f00;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background-color: #e65b00;
}

.contact-form button:active {
    transform: scale(0.98); /* Slightly scale down the button when pressed */
}

/* Contact Info Styles */
.contact-info {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6f00;
}

.contact-info p,
.contact-info-bottom p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info-bottom {
    background-color: #111;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Increase gap if needed for more spacing */
    justify-items: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}

.contact-details li {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    font-size: 16px;
    min-width: 200px; /* Ensures minimum width for each item */
}


.contact-details li i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ff6f00;
}

.contact-details li div {
    text-align: left;
}

.contact-details li span {
    display: block;
    font-size: 16px;
    color: #fff;
}

.contact-info .contact-icon {
    margin-top: 4px;
    font-size: 13px;
}

#map {
    width: 100%; /* Ensure the map fits within the container */
    height: 200px;
    background-color: #666;
    margin-top: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
    border-radius: 5px; /* Optional: Add border radius to the map container */
}

/* CTA Section Styles */
.cta-section {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.cta-section button {
    background-color: #ff6f00;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.cta-section button:hover {
    background-color: #e65b00;
}

/* Footer Styles */
footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
    text-align: left; /* Ensure the content aligns to the left */
}

footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the logo and contact info */
    flex-wrap: nowrap; /* Prevent wrapping */
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-contact {
    flex: 1; /* Allow the contact section to take up the remaining space */
    max-width: 700px; /* Adjust this width as needed */
    text-align: left; /* Align text to the left */
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff;
}

footer .contact-info-bottom {
    list-style: none;
    padding: 0;
}

footer .contact-info-bottom li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #bbb;
}

footer .contact-info-bottom li i {
    margin-right: 10px;
    color: #ff6f00;
    font-size: 18px;
}

footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    text-align: center;
    width: 100%;
}

footer .footer-logo {
    text-align: left;
    max-width: 300px; /* Increase the width to allow more space for the logo and text */
}

footer .footer-logo img {
    max-width: 100%;
    height: auto;
}

.footer-logo p {
    padding-left: 10px;
    text-align: left;
}

.footer-social {
    margin-top: 10px;
}

footer .footer-social .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

footer .footer-social .social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #111;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 18px;
    transition: background-color 0.3s;
}

footer .footer-social .social-icon:hover {
    background-color: #e65b00;
}

footer .footer-links ul {
    list-style: none;
    padding: 0;
}

footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
}

footer .footer-contact p {
    margin: 5px 0;
}

footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack the elements vertically */
        padding: 20px;
    }

    .contact-form,
    .contact-info,
    .contact-info-bottom {
        margin-bottom: 20px;
        max-width: 100%; /* Ensure the form and info sections take up full width */
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start for better stacking */
        text-align: center; /* Center-align text on smaller screens */
    }

    .footer-logo,
    .footer-contact,
    .footer-social {
        margin-bottom: 20px;
        text-align: center; /* Center-align the content */
    }

    .contact-details {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 20px; /* Adjust gap for better spacing */
        text-align: center; /* Center the text */
    }

    .contact-details li {
        width: 100%; /* Ensure each item takes up full width */
        display: flex;
        flex-direction: row; /* Align icon and text horizontally */
        justify-content: flex-start; /* Align items to the start */
        align-items: center; /* Center items vertically */
        padding: 10px 0; /* Add some padding for better spacing */
    }

    .contact-details li i {
        font-size: 30px;
        margin-right: 15px; /* Increase space between icon and text */
        color: #ff6f00; /* Ensure icon color matches the design */
    }

    .contact-details li div {
        text-align: left; /* Align text to the left */
        flex: 1; /* Allow text to take up remaining space */
    }

    .contact-details li span {
        display: block;
        font-size: 16px;
        color: #fff; /* Ensure text color is readable */
    }

    .contact-info .contact-icon {
        font-size: 14px; /* Adjust size for better readability */
        color: #bbb; /* Slightly lighter color for icons */
    }
}

/* Keyframes for Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
