body {
    font-family: 'Roboto', sans-serif;
    background-color: #e0e4cc; /* Earthy greenish background color */
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

header.parallax {
    background-image: url('../images/Banner.webp');
    height: 400px;
    width: 100%; /* Ensure the header takes up the full width of the screen */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: contain; /* Ensure the entire background image is visible */
    background-position: top; /* Center the background image */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    position: relative;
}

header h1 {
    font-size: 3em;
    margin: 0;
}

.top-right-nav {
    position: absolute;
    top: 20px;
    right: 20px;
}

.top-right-nav a {
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    margin-left: 10px;
}

.banner {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 24px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px;
    flex-wrap: wrap; /* Allow the cards to wrap */
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s;
    width: 300px;
    text-align: center;
    opacity: 0; /* Ensure the card is initially hidden */
    animation: fadeIn 4s forwards; /* Apply the fade-in animation */
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.card p {
    margin: 10px 0 0;
    font-weight: bold;
    font-size: 1.2em; /* Make the text in the cards a tad bigger */
}

.card hr {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.card a {
    color: inherit; /* Inherit color from parent */
    text-decoration: none; /* Remove underline */
}

a {
    color: black; /* Inherit color from parent */
    text-decoration: none; /* Remove underline */
}

a:hover {
    color:#00A0C6; 
    text-decoration:none; 
    cursor:pointer;  
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#contact, #map {
    margin: 20px 0;
}

.contact-map {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-map-table {
    display: flex;
    flex-wrap: wrap; /* Allow the table cells to wrap */
    justify-content: center;
    gap: 20px;
}

.contact-cell, .map-cell {
    flex: 1 1 300px; /* Allow the cells to grow and shrink */
    min-width: 300px; /* Minimum width for the cells */
    display: flex;
    justify-content: center;
    align-items: center;
}

#map-container {
    width: 100%;
    height: 400px; /* Adjust height as needed */
}

footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

/* Timeline styles */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #a3c9a8; /* More desaturated version of the green color */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1; /* Place the line behind the circles */
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5em 0; /* Add space between items */
    position: relative;
}

.timeline-item.left::after {
    content: '';
    position: absolute;
    width: calc(50% - 120px); /* Adjust width to be shorter */
    height: 4px;
    background-color: #a3c9a8;
    top: 50%;
    left: 50%;
    transform: translateX(0%);
}

.timeline-item.right::after {
    content: '';
    position: absolute;
    width: calc(50% - 120px); /* Adjust width to be shorter */
    height: 4px;
    background-color: #a3c9a8;
    top: 50%;
    right: 50%;
    transform: translateX(0%);
}

.timeline-item.left .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-item.right .timeline-content {
    order: 2;
    text-align: left;
}

.timeline-year {
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 1em; /* Make the text a bit larger */
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* Ensure the circles are above the line */
}

.timeline-content {
    flex: 1;
    margin: 0 20px;
    position: relative;
}

.timeline-content a {
    text-decoration: none;
}

.timeline-content img {
    width: 48px; /* Double the size */
    height: 48px; /* Double the size */
}

.table-container {
    margin: 20px;
    text-align: center;
}

table {
    width: 60%; /* Make the table 60% width of the screen */
    margin: 20px auto;
    border-collapse: collapse;
    border: none; /* Remove table borders */
}

table img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

td {
    padding: 20px;
}

.contact-map {
    margin: 20px;
}

.contact-map-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    width: 60%;
    border: none; /* Remove table borders */
}

.contact-map-table td {
    vertical-align: middle;
    text-align: center;
}

.map-container {
    margin: 20px;
    padding: 20px;
}

.map-iframe {
    border: 2px solid #4CAF50;
    border-radius: 5px;    
}

.contact-section, .map-container {
    margin: 20px;
    padding: 20px;
  
}

.contact-section h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
    .contact-map-table {
        flex-direction: column;
        align-items: center;
    }
    .contact-cell, .map-cell {
        width: 100%;
        max-width: 100%;
        align-self: center;
    }
    header.parallax {
        height: 160px !important;
    }
    .contact-map-table {
        width: 100%;
    }
}