body {
    font-family: 'Montserrat', sans-serif;
    /*letter-spacing: 1px;*/
    margin: 0;
    padding: 0;
    /*padding-top: 60px; /* Ajust this value based on the height of the fixed header */
}

html {
    scroll-behavior: smooth;
}

header {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    justify-content: center;  /* Centres items vertically within the container - vertically because the flex-direction is column*/
    align-items: center; /* Centres items horizontally within the container */
    /* background-color: #D1D1D1; */ 
    /* background-color: #001F3F; */
    background: linear-gradient(to top, #000000 0%, #001F3F 100%);
    color: #C0C0C0;
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures the header stays above other content */
    
}

.logo {
    /* Centers the content within the header */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Takes the full width of its parent to help with centering */
    margin-bottom: 30px;
}

.logo img {
    /* Styles directly targeting the image */
    max-width: 20%; /* Adjusts the image size to be smaller than its original size */
    height: auto; /* Maintains the aspect ratio of the image */
    display: block; /* Makes the image a block-level element, enabling margin auto to work */
    margin: auto; /* Centers the image horizontally within the .logo div */
}

nav {
    display: flex;
    justify-content: center;  /* Centres the nav contents horizontally - horizontally because flex-direction defaults to row */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;  /* ensures the list items are centred within the nav */
    flex-wrap: wrap; /* Allows the items to wrap on smaller screens */ 
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #C0C0C0; /* adjust as needed */
    text-decoration: none; /* Removes underline from links */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 20px; /* Adjusts the text size, set to your desired value */
    /* letter-spacing: 2px; */
}
      

nav ul li a.active {
    color: #C0C0C0; /* Replace with your active link color */
}

#welcome {
    background-color: #f0f0f0; /* Light grey, for example */
    background-image: url('images/AstrolomyWelcome4.png'); /* Update with your image path */
    background-size: cover; /* Ensures the background covers the entire section */
    background-position: center top; /* Aligns the background image to the top */
    background-repeat: no-repeat; /* Prevents the background from repeating */
    min-height: 70vh; /* Adjusts the section height to at least 80% of viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*padding-top: var(--header-height); /* Adjust based on the header's height */
    /*box-sizing: border-box;*/
    color: #C0C0C0; /* Sets the text colour to white for all text within the section */
    text-align: center;  /* Horizontally centers the text */
}

.welcome-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 72px; /* Example size, adjust as needed */
    /* letter-spacing: 4px; */
    margin: 0 0 20px; /* Adjust bottom margin to control spacing between this and the next line */
}

.welcome-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Light */
    font-size: 40px; /* Example size, adjust as needed */
    /* letter-spacing: 4px; */ 
    margin: 0; /* Adjust as needed */
}

.welcome-description-container {
    max-width: 800px; /* Adjust as needed */
    margin: 20px auto; /* Adds top and bottom spacing, and auto margins for centering */
    padding: 0 15px; /* Adds some padding inside the container */
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; /* Light */
    font-size: 20px; /* Example size, adjust as needed */
    text-align: center; /* Optional: Centers the text inside the container */
}

#gallery { 
    /* background-color: #C3E6E8; /* just to see the bounds of the section for testing */
    padding-top: 100px;
    background: linear-gradient(to top, #001F3F 0%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
} 

.scroll-container {
    position: relative;
    transform: translate(0%, 10%);
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 5px 0; /* Adds vertical padding for visual space */
    width: 100%;
    white-space: nowrap; /* Ensures inline or inline-block elements do not wrap */
}

.scroll-container a {
    flex: 0 0 auto; /* Allows the links to grow to fill the container */
    margin-right: 20px; /* Space between items */
    text-decoration: none; /* Ensure anchor tags don't have underlines or other default styles */
}

.scroll-container a:last-child {
    margin-right: 0; /* Removes the margin from the last box */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.box img {
    width: 100px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Cover the area without losing aspect ratio */
}


.box:last-child {
    margin-right: 0; /* Removes the margin from the last box */
}

.row-spacing {
    height: 10px; /* Adjust the space between rows as needed */
}

.gallery-instructions {
    position: relative;
    transform: translate(0%, 10%);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Light */
    font-size: 20px; /* Example size, adjust as needed */
    color: #C0C0C0;
    margin: 0; /* Adjust as needed */
    
}

#who-we-are {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to top, #000000 0%, #001F3F 100%);
    color: #C0C0C0;
}


.who-we-are-content {
    text-align: center;
    position: relative;
    transform: translate(0%, -20%);
    padding-top: 500px;
    padding-bottom: 0px;
}

.who-we-are-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 72px; /* Example size, adjust as needed */    
    margin: 0 0 20px; /* Adjust bottom margin to control spacing between this and the next line */
}

.who-we-are-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
    font-size: 40px; /* Example size, adjust as needed */
    margin: 0; /* Adjust as needed */
}

.who-we-are-content p {
    max-width: 800px; /* Adjust as needed */
    margin: 20px auto; /* Adds top and bottom spacing, and auto margins for centering */
    padding: 0 15px; /* Adds some padding inside the container */
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
    font-size: 20px; /* Example size, adjust as needed */
    text-align: center;
    margin: 0; /* Adjust as needed */
}

.who-we-are-content ul {
    max-width: 800px; /* Adjust as needed */
    text-align: center;
    list-style-type: disc; /* or your preferred style */
    list-style-position: inside; /* Moves the bullet points inside the content flow */
    padding: 0; /* Adjusts padding to help with centering */
}

.who-we-are-content li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
    font-size: 20px; /* Example size, adjust as needed */
    /* letter-spacing: 4px; */
    margin: 0; /* Adjust as needed */
}

.who-we-are-content li span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 20px; /* Example size, adjust as needed */
    /* letter-spacing: 4px; */
    margin: 0; /* Adjust as needed */
}

.services-container {
    width: 100%;
    max-width: 800px; /* Adjust width as necessary */
    margin: 0px auto;
    text-align: center;
    padding-top: 0px;
    transform: translate(0%, -20%);
}

.services-container h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Medium */
    font-size: 40px;
    color: #C0C0C0;
    margin-bottom: 5px; /* Space between the heading and text */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two columns */
    gap: 10px 80px; /* Spacing between columns */
    text-align: left;
}

.service h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 20px;
    color: #C0C0C0;
    margin-bottom: 0px; /* Space between the heading and text */
}

.service p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Lighter font for description */
    font-size: 20px;
    color: #C0C0C0;
    margin-top: 5px;
    margin-bottom: 0px;
}

/* Optional: Responsive adjustment for smaller screens */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* Stacks the services in one column on small screens */
    }
}

#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, #001F3F 0%, #000000 100%);
    margin: 0;
}

.contact-container {
    position: relative;
    /*top: 50%;
    left: 50%;*/
    transform: translate(0%, -10%);
    width: 50%;
    min-width: 20%;
    padding: 20px;
    background: #C0C0C0;
    padding-top: 50px;
    
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 40px);  /* Adjusts width to account for padding on .contact-container */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    height: 100px;
}

button[type="submit"] {
    /*background-color: #02AEB6; /* Green */
    background-color: #001F3F;
    color: #C0C0C0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
    font-size: 20px; /* Example size, adjust as needed */
    /* letter-spacing: 4px; */
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #17A2B8; /*Planetary Teal */
}

footer {
    height: 100px; /* Example fixed height, adjust as needed */
    background-color: #C0C0C0; /* Light background color, adjust to match your site's theme */
    color: #001F3F; /* Text color, adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    text-align: center;
    padding: 0 20px; /* Adds padding on the sides */
    box-sizing: border-box; /* Ensures padding is included in the height calculation */
}