/* contact-us.css */

/* General Page Styles */
body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f7f9fc; /* Lighter background */
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 0.5em;
}

/* Contact Section Styles */
.contact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px; /* Increased padding */
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /*  subtle shadow */
    border-radius: 12px; /*  rounded corners */
    overflow: hidden; /* Ensure no content overflows */
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50; /*  primary color for heading */
}

.contact-header p {
    font-size: 1.2rem;
    color: #666;
}

.contact-content {
    display: flex;
    flex-wrap: wrap; /* Allows for responsiveness */
    justify-content: center; /* Center the form */
    gap: 40px; /*  space between form and contact info (if contact info is added back) */
}


/* Form Styles */
.contact-form-container {
    flex: 0 1 400px; /*  form takes available space, up to 400px */
    max-width: 600px; /* Maximum width for larger screens */
    padding: 20px; /*  padding inside the form */
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
}

.form-header p {
    font-size: 1rem;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px; /* Increased spacing */
    font-weight: 600; /* Bolder labels */
    color: #444;
}


.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px; /*  padding inside inputs */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /*  transition */
}

/* Focus style */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.input-focused /* Added this for JS focus class */ {
   border-color: #3498db; /* Highlight on focus */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none; /* Remove default focus outline */
}


.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: #2c3e50;
    color: white;
    padding: 14px 24px; /*  padding */
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    font-weight: 600;
}

.submit-button:hover {
    background-color: #f39c12; /*  yellow shade on hover */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 20px;
    }
    .contact-content{
       flex-direction: column; /* Stack on smaller screens */
        align-items: center;
    }
    .contact-form-container {
        width: 100%; /* Full width on mobile */
    }

}

/* Error message styles */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
/* Add this to your CSS */
.form-success-message {
    background-color: #d4edda; /* Light green background */
    border: 1px solid #c3e6cb; /* Green border */
    color: #155724; /* Dark green text */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    transition: opacity 0.5s ease-out; /* For fade-out effect */
}

.form-success-message i {
    margin-right: 10px;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/* Add these styles to your contact-us.css file */
.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    min-width: 300px;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Animation for the popup to fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


/* Footer Styles */
.footer-content {
    background-color: #2c3e50;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #f39c12
}

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

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #ffffff; /* Change text color to white */
    text-decoration: none;
}

.footer-column ul li a:active {
    color: #f39c12; /* Change text color to yellow when clicked */
}

.footer-column ul li a:hover {
    color: #f39c12; /* Change text color to yellow on hover */
}

.footer-bottom {
    font-size: 0.9em;
    color: #ffffff;
}
.social-icons {
    margin-top: 10px;
}
.social-icons a {
    display: inline-block;
    margin: 0 8px;
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f39c12;
}