/* Mobile-only class */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .desktop-only .nav a { /* Targets the 'Home' and 'About' links */
  font-size: 30px; /* Example desired font size */
}
.desktop-only .nav {
        display: none !important;
    }
  .main-content {
    background-color: #122b4a; /* Fallback color */
    padding: 2em;
    /* Remove background image for mobile */
    background-image: none !important;
  }
  .main-content p {
    width: 100%;
  }
  .main-content h3 {
    width: 100%;
  }
  .footer .grid-container .grid-x {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.coming-soon-inline {
    color: red;
    font-size: 0.8em;
    margin-left: 5px;
    vertical-align: middle; /* Align with the heading text */
}
/* Desktop-only class */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
   .mobile-nav-links {
        display: none !important;
    }
    .desktop-only .nav a { /* Targets the 'Home' and 'About' links */
  font-size: 16px; /* Example desired font size */
}
  .main-content {
    background-color: #122b4a; /* Base background color */
    background-image: url('imgs/callout-bg.png');
    background-repeat: no-repeat;
    background-position: right bottom; /* Lock vertical to top, adjust horizontal */
    background-size: contain; /* Adjust as needed */
    padding: 4em;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: space-between; /* Distribute space */
  }
  .main-content .inner-content {
    max-width: 50%; /* Keep text to the left */
  }
  .main-content h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 2em;
  }
  .main-content p {
    color: white;
    line-height: 1.7;
    margin-bottom: 2em;
    font-size: 1.1em;
  }
  .main-content .grid-x.align-middle {
    flex-direction: column; /* Stack the cells */
    align-items: flex-start; /* Align items to the left */
    margin-top: 2em; /* Add some space above this section */
  }

  .main-content .grid-x > .cell {
    width: 100%; /* Make each cell take full width */
    padding-bottom: 1em; /* Add spacing between text and button */
  }

  .main-content .cell:first-child p { /* Style the smaller text cell */
    line-height: 1.7; /* Improve line spacing */
    margin-bottom: 0; /* Remove default bottom margin */
  }

  .main-content .cell:last-child { /* Style the button cell */
    text-align: left; /* Align button to the left */
  }

  .main-content .button {
    /* Keep existing button styles */
  }

  /* Adjust background for larger screens */
  @media (min-width: 1200px) {
    .main-content {
      background-position: right bottom; /* Adjust horizontal, vertical locked to top */
      background-size: 55%; /* Adjust size as a percentage */
    }
    .main-content .inner-content {
      max-width: 45%; /* Give more space to the background */
    }
  }
}

.full-screen {
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: flex-end;
  top: 50%;
  
}

.nav:hover {
  /*background: #001639;*/
  background: linear-gradient(to bottom, #f0f0f0, #001639);
  color: white;
}

.about a {
	color:white;
}
.about a:hover {
  color: #faebd7;
}
.products {}
.products a {
	color:white;
}
.products a:hover {
	color: #faebd7;
}

.solutions {}
.solutions a {
	color:white;
}
.solutions a:hover {
	color: #faebd7;
}
#solutions-sub-menu {
	display:none;
	text-align:left !important;
	background-color: #001639;
}
#solutions-sub-menu a:hover{
	/* background-color:#122b4a; */
	background: #2d63b8;
	font-weight:lighter;
	
}
#solutions-sub-menu a{
	color:white;
	font-weight:bolder;
}
#products-sub-menu {
	display:none;
	text-align:left;
}
#products-sub-menu a:hover{
	/* background-color:#122b4a; */
	background: #2d63b8;
	font-weight:lighter;
}
#products-sub-menu a {
	color:white !important;
	font-weight:bolder;
}
#booknow {
  background-color: #e6e6e6; /* Light gray */
  color: #0a0a0a; /* Dark text */
  border: 1px solid #cacaca;
  padding: 0.85em 1.7em;
  font-size: 1rem;
  border-radius: 0; /* Or your preferred radius */
  cursor: pointer;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}

#booknow:hover {
  background-color: #cacaca;
  color: #0a0a0a;
}

.benefits-section {
  background-color: #f8f8f8; /* Light gray or white */
  color: #122b4a; /* Your darker blue for text */
  padding: 20px;
}

.benefits-section h2 strong,
.benefits-section h4 strong {
  color: #122b4a;
}

.benefits-section .lead,
.benefits-section p {
  color: #333; /* Slightly darker gray for regular text */
}

.benefit-item {
  background-color: white;
  color: #122b4a;
  padding: 15px;
  margin-bottom: 10px;
  border: none;
  /*border: 1px solid #ddd; /* Optional subtle border */
}

.benefit-item h4 strong {
  color: #122b4a;
}

.benefit-item p {
  color: #333;
}

.footer {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 20px 0 !important; /* Add some vertical padding */
  background-color: #f0f0f0; /* Optional: Add a background color to see the footer clearly */
}

.footer .grid-container {
  max-width: 1200px !important; /* Or your preferred max width */
  margin: 0 auto !important; /* Center the grid container within the footer */
  padding-left: 20px !important; /* Add some left padding */
  padding-right: 20px !important; /* Add some right padding */
}

.footer .grid-container .grid-x {
  display: flex !important;
  flex-direction: column !important; /* Stack on small screens */
  align-items: center !important; /* Center items horizontally on small screens */
  justify-content: center !important; /* Center items vertically on small screens */
  width: 100% !important;
  text-align: center !important; /* Center text within items on small screens */
}

.footer .grid-container .grid-x .cell.small-12.medium-6 {
  width: 100% !important;
  margin-bottom: 10px;
}

.footer .grid-container .grid-x .cell.small-12.medium-6:last-child .menu {
  display: flex !important;
  justify-content: center !important; /* Center menu items */
}

.footer .grid-container .grid-x .cell.small-12.medium-6:last-child .menu li {
  margin: 0 10px;
}



/* Styling for Mission and Values Section (matching benefits-section) */


.mission-values-section {
  background-color: #f8f8f8; /* Light gray or white - same as benefits-section */
  color: #122b4a; /* Your darker blue for text - same as benefits-section */
  padding: 20px; /* Adjust padding as needed */
  margin-top: 20px; /* Add some space */
  margin-bottom: 20px; /* Add some space */
  border-top: 1px solid #eee; /* Optional: Add a subtle top border */
  border-bottom: 1px solid #eee; /* Optional: Add a subtle bottom border */
}

.mission-values-section h3 {
  color: #122b4a; /* Your darker blue for heading */
  margin-bottom: 1em;
  text-transform: uppercase;
  text-align: left; /* Keep heading left-aligned */
}

.mission-values-section p {
  color: #333; /* Slightly darker gray for regular text - similar to benefits-section lead/p */
  font-size:larger;
  line-height: 1.6;
  text-align: left; /* Keep paragraph left-aligned */
}

.mission-values-section h4 {
  color: #122b4a; /* Your darker blue for core value titles */
  margin-top: 1.5em; /* Add some space above each value */
  margin-bottom: 0.5em;
  text-align: left;
}

.mission-values-section .cell {
  text-align: left;
}

.mission-values-section hr {
  border-top: 1px solid #ddd; /* Lighter horizontal rule */
  margin: 2em 0;
}

.content-section-dark {
  background-color: #122b4a; /* Same dark blue as main-content */
  color: white;
  padding: 4em; /* Adjust padding as needed */
}

.content-section-dark h3 {
  color: white;
  margin-top: 0;
  margin-bottom: 1.5em;
  font-size: 2em; /* Match main-content h3 */
}

.content-section-dark h4 {
  color: white;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.content-section-dark p {
  color: white;
  line-height: 1.7;
  margin-bottom: 1em;
  font-size: 1.1em; /* Match main-content p */
}

.content-section-dark ul {
  list-style: none;
  padding-left: 0;
}

.content-section-dark ul li {
  margin-bottom: 0.5em;
}

.content-section-dark ul li a.button {
  /* You might need to adjust button styles here if they inherit unwanted styles */
}

.content-section-dark .inner-content {
    /* Optional: Keep inner-content for consistent padding if used elsewhere */
}

/* Mobile Navigation Links */
.mobile-nav-links {
    display: none; /* Initially hidden */
    background-color: #001639;
    padding: 1em;
    width: 100%;
    text-align: center; /* Center the links */
}

.mobile-nav-links .nav {
    padding: 0.5em;
    margin: 0.5em 0; /* Add some spacing between links */
    border-bottom: 1px solid #122b4a; /* Optional: Add a separator */
}

.mobile-nav-links .nav:last-child {
    border-bottom: none; /* Remove separator from the last link */
}

.mobile-nav-links .nav a {
    color: white;
    text-decoration: none; /* Remove underlines */
    display: block; /* Make the entire area clickable */
    font-size: 1.2em; /* Adjust font size as needed */
}

.mobile-nav-links .nav-parent .sub-menu {
    background-color: #122b4a; /* Slightly darker background for the sub-menu */
    margin-top: 0.5em;
    border-radius: 5px; /* Optional: Rounded corners */
    overflow: hidden; /* Hide any content that overflows */
}

.mobile-nav-links .nav-parent .sub-menu a {
    padding: 0.7em 1em;
    display: block;
    text-decoration: none;
    color: white;
}

.mobile-nav-links .nav-parent .sub-menu a:hover {
    background-color: #1e4070; /* Darker hover effect */
}

#overlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent black */
    z-index: 1000; /* Ensure it's on top of everything */
    align-items: center;
    justify-content: center;

}

#overlay-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
	font-size: x-large;
    font-weight: 400;
}

#close-overlay-button {
    margin-top: 10px;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

/* Terms of service page content specific */ 

.terms-of-service-container {
  background-color: #122b4a; /* Or any background color you prefer */
  color: white;
  padding: 2em; /* Adjust padding as needed */
  width: 100%; /* Ensure it takes full width of its parent */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.terms-of-service-container h1,
.terms-of-service-container h2,
.terms-of-service-container h3,
.terms-of-service-container h4 {
  color: white;
  margin-top: 1em;
  margin-bottom: 0.5em;
  width: 100%;
  box-sizing: border-box;
}

.terms-of-service-container h1 {
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 1em;
}

.terms-of-service-container h2 {
  font-size: 2em;
}

.terms-of-service-container h3 {
  font-size: 1.75em;
}

.terms-of-service-container h4 {
  font-size: 1.5em;
}

.terms-of-service-container p {
  color: white;
  line-height: 1.7;
  margin-bottom: 1em;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

.terms-of-service-container ul {
  list-style: disc;
  padding-left: 1.5em;
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.terms-of-service-container ul li {
  margin-bottom: 0.5em;
}

/* Media query for medium screens and above */
@media (min-width: 640px) {
  .footer .grid-container .grid-x {
    flex-direction: row !important; /* Row on larger screens */
    justify-content: space-between !important; /* Space out items */
    align-items: center !important; /* Vertically align */
    text-align: left !important; /* Left align text by default */
  }

  .footer .grid-container .grid-x .cell.small-12.medium-6 {
    width: auto !important;
    margin-bottom: 0 !important;
    text-align: left !important; /* Left align copyright */
  }

  .footer .grid-container .grid-x .cell.small-12.medium-6:last-child {
    text-align: right !important; /* Right align menu container */
  }

  .footer .grid-container .grid-x .cell.small-12.medium-6:last-child .menu {
    justify-content: flex-end !important; /* Right align menu items */
  }
}