body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E0E0E0; /* or #FFFFFF, whichever you prefer */
    color: #333;
}

.container {
    max-width: 1000px;
    background-color: #f5f5f5; /* Color for the main content background */
    margin: 0 auto;
    padding: 0 0px;
    border: 1px solid #CCCCCC; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

header {
    background-color: #fff;
    color: #004d99;
	padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
	text-align: center;
    position: relative; /* Ensures z-index applies */
    z-index: 101; /* Makes sure header stays on top of other content */
}

#logo {
    width: 100px;
    margin-bottom: 10px;
}

.logo-container {
    text-align: center; 
    padding: 10px; 
    background-color: #FFFFFF; 
}

.logo-container a {
    text-decoration: none; /* Removes underline */
    border: none; /* Removes any border */
    outline: none; /* Removes any outline when focused */
    display: inline-block; /* Ensures proper spacing */
}

.logo-container a img {
    display: block; /* Removes any default spacing around the image */
}


.logo-text {
    margin-top: 10px;
    color: #2B4D6D; 
    font-size: 24px; 
    font-weight: 900; 
    letter-spacing: 1px; 
    font-family: 'Arial', sans-serif; 
}

#home ul li {
    margin-bottom: 1rem; /* Adjust this value as desired */
}

main {
    padding: 10px 20px 10px 20px; 
    font-size: 20px; 
}

h1 {
    color: #2B4D6D;
}

h2 {
    color: #2B4D6D;
	font-size:  24px;
}

.external-link {
    font-size: 1.0em; 
    color: #0645ad; 
    text-decoration: none; 
}

.external-link i.fas {
    font-size: 0.7em;
    margin-left: 5px; 
}

.external-link i.fab {
    font-size: 1.0em;
}

footer {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative; /* Add this to ensure the z-index is respected */
    z-index: 10; /* Higher z-index to ensure the footer is above the Calendly button */
}

footer a {
    color: #B0B0B0;  
    text-decoration: underline;  
    transition: color 0.3s ease;  
}

/* Adjustments for mobile screens */
@media screen and (max-width: 850px) {
    footer {
        padding-bottom: 80px; /* Increase the bottom padding to make space for the Calendly button */
    }
}


/* Additional and Responsive Styles */

.contact-container {
    display: flex;
    flex-direction: column; /* Default to stacking vertically */
    align-items: center; /* Centers the blocks on smaller screens */
    gap: 2rem; /* Adjust spacing between blocks on smaller screens */
}

.contact-container p {
    margin: 0; /* To remove the default margin from the <p> tags */
    width: 100%; /* Take the full width on smaller screens */
}

/* Media query for larger screens */
@media screen and (min-width: 851px) {
    .contact-container {
        flex-direction: row;
        justify-content: center;
        gap: 8rem;
    }

    .contact-container p {
        width: auto;
    }
	
	.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000; 
    }

}

nav {
	position: sticky;
    top: 0; /* This makes the nav stick to the top */
    background-color: rgba(43, 77, 109, 0.1); 
    padding: 10px 0px 10px 0px;
    width: 90%; 
    max-width: 850px;
    margin: 0 auto;     
    border-radius: 80px;
    border:  1px solid #CCCCCC; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s; /* Optional: Smooth transition for any changes */
    z-index: 99; /* Keeps nav just below the header */
}

nav.sticky {
    background-color: #CCCCCC; /* Example: Change background when sticky */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for depth */
}

nav ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px; /* Reduced margin to give more space */
}

nav ul li a {
    color: #2B4D6D;
    text-decoration: none;
    padding: 10px 20px; 
    border: 1px solid #2B4D6D;
    border-radius: 5px;
    font-weight: 600; 
    transition: background-color 0.3s, color 0.3s; 
}

nav ul li a:hover, nav ul li a:focus {
    background-color: #2B4D6D;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}

nav ul li a.active {
    background-color: #2B4D6D;
    color: #fff;
}

/* Base grid styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
	padding: 10px;
}

.service {
    border: 1px solid #ccc;
    padding: 20px;
	background-color: #E9ECEF;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* Responsive styles for mobile */
@media only screen and (max-width: 850px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop styles */
@media only screen and (min-width: 851px) {
    .services-grid .service:last-child {
        grid-column: auto / span 2;
    }
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

.cta-button {
    display: inline-block; 
    margin: 20px 0; 
    padding: 12px 25px; 
    background-color: #007BFF;  /* brighter blue for better differentiation */
    color: #FFFFFF;
    border-radius: 7px;
    font-weight: bold;
    font-size: 1.1em; 
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s, box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.cta-button:hover, .cta-button:focus {
    background-color: #339CFF;  /* Original darker blue on hover for contrast */
    color: #fff;  /* Adjusted hover color to match the new button color */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
    transform: translateY(-2px); 
}

/* Media query for smaller screens */
@media only screen and (max-width: 850px) {
    main {
        padding: 0 10px 10px 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    nav {
        max-width: 80%;
        padding: 5px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        padding: 8px 16px;
    }

    nav li {
        margin: 5px 0;
    }
}

 #mission-statement {
    font-size: 1.2em; /* Adjust font size as needed */
    max-width: 950px; /* Adjust max width as needed */
    line-height: 1.4; /* This can help with readability */
    text-align: center;
	font-style: italic;
    margin: 1em auto; /* auto margins for left and right will center the block */
    display: block; /* This makes sure it's a block-level element, which it should be by default */
}
