 /* General styles for the entire page */
 body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: white;
}

/* New styles for the image container */
.top-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    opacity: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
}

.top-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Header styles */
header {
    background-color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

nav a, .dropdown > a {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s ease;
}

nav a:hover, .dropdown > a:hover {
    color: #81589a;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: normal;
    font-size: 15px;
}

.dropdown-content a:hover {
    background-color: lightgray;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    background-color: #81589a;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.login-button {
    background-color: rgb(233, 233, 233);
    color: #81589a;
}

/* Main content styles */
main {
    background-color: white;
    padding: 0;
}

.container {
    width: 100%;
    height: auto;
    padding: 0.0005rem 0;
    background-color: #81589a; 
    color: white;
    margin-top: 0;
    padding-top: 0.05px;
    padding-bottom: 0.05px;
}

h1 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-top: 1%;
}

.subtitle {
    text-align: center;
    color: whitesmoke;
    margin-bottom: 2rem;
}

/* Contact form styles */
.contact-form {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    padding: 2rem 0;
}

.form-group {
    width: 48%;
    margin-bottom: 1rem;
}

.form-group.full-width {
    width: 100%;
}

input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

textarea {
    height: 150px;
    background-color: #f9f9f9;
}

.submit-button {
    background-color: #81589a;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

/* Map and contact info styles */
.map-container {
    width: 80%;
    margin: 4rem auto 0;
}

.map-and-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.map {
    width: 60%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 

.map-container {
    width: 80%;
    margin: 4rem auto 0;
}

.map-and-info {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start;
}

.map {
    width: 60%;
    height: 300px; 
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
    position: relative;
    }
    
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    width: 35%;
}

.contact-info {
    width: 35%;
}

.social-media {
    padding: 2rem 0;
    text-align: center;
}

.social-media h2 {
    color: #333;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #81589a;
}

footer {
    background-color: #81589a;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}