/* General body styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f8f9fa; /* Light background */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Container and Layout */
.container {
    max-width: 1500px;
    margin: auto;
    padding: 0 15px;
}



/* Navbar Styling */
.navbar {
    background-color: #002a33;
    padding: 1rem 0; /* Adjust top and bottom padding */
}

.navbar-nav {
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: center; /* Center items */
    gap: 15px; /* Add spacing between items */
}

.navbar .nav-link {
    font-family: 'Arial', sans-serif;
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    white-space: nowrap; /* Prevent text from wrapping */
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.navbar-toggler {
    border: none;
}

.navbar-collapse {
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        gap: 10px;
    }
    .nav-link {
        font-size: 1.1rem; /* Reduce font size */
        padding: 0.4rem 0.8rem;
    }
}

/* Contact Us Section */
.contact-us-section {
  margin: 50px auto;
  padding: 20px;
  max-width: 1000px !important; /* Ensure the width is applied */
  width: 100% !important; /* Make sure the section stretches across the available space */
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

/* Contact Information Box */
.contact-info-box, .message-form-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

/* Section Headers */
.contact-info-box h3, .message-form-box h3 {
  color: #007bff; /* Bootstrap primary blue */
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

/* Contact Info Paragraphs */
.contact-info-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Message Form Styling */
.message-form-box {
  background-color: blanchedalmond;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-form-box h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.message-form-box .form-group {
  margin-bottom: 15px;
}

.message-form-box .form-label {
  display: block;
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}

.message-form-box .form-control {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
}

.message-form-box .form-control:focus {
  border-color: #007bff;
  outline: none;
}

.message-form-box .btn {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.message-form-box .btn:hover {
  background-color: #0056b3;
}

/* Center the Send Button */
.message-form-box .d-flex {
  justify-content: center;
}

/* Responsiveness */
@media (max-width: 768px) {
  .contact-us-section {
    padding: 15px;
    margin: 20px auto;
  }
  
  .contact-info-box h3, .message-form-box h3 {
    font-size: 1.2rem;
  }

  .message-form-box .btn {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}

/* Dropdown menu matches the navbar */
.navbar-nav .dropdown-menu {
    background-color: #002a33; /* Matches default navbar background */
    border-radius: 0; /* Removes rounded corners */
    border: none; /* Removes border */
    box-shadow: none; /* Removes shadow */
}

.navbar-nav .dropdown-item {
    color: white; /* Text color */
    padding: 0.5rem 1rem; /* Matches navbar link spacing */
    background-color: transparent; /* Ensures no background effect */
}

.navbar-nav .dropdown-item:hover {
    color: #007bff; /* Text color on hover */
    background-color: transparent; /* No background effect on hover */
    text-decoration: underline; /* Underline on hover */
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.255em;
}

/* Ensures all nav links, including dropdown items, are styled similarly */
.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
