/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* 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 > span {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease;
}
nav a::after, .dropdown > span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #81589a;
    transition: all 0.3s ease;
}
nav a:hover, .dropdown:hover > span {
    color: #81589a;
}
nav a:hover::after, .dropdown:hover > span::after {
    width: 100%;
    left: 0;
}
.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;
   
}
.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;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-content a:hover {
    background-color: lightgray;
    color: #81589a;
}
.dropdown-content a::after {
    display: none;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}
.auth-buttons a {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.auth-buttons .login-button {
    background-color: rgb(233, 233, 233);
    color: #81589a;
}
.auth-buttons .signup-button {
    background-color: #81589a;
    color: white;
}

/* Hero section styles */
.hero {
    width: 100%;
    height: 20%;/* Adjusted for better responsiveness */
    object-fit: cover;
    display: flex;
}


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

.side-content { 
    background-color: #81589a;
    padding: 1rem;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.side-content h1 {
    margin-bottom: 1rem;
    font-size: 30px;
}

/* Main content styles */
.main-content {
    padding: 1.5rem 1rem;
    text-align: center;
    background-color: #f9f9f9;
}
.main-content p {
    font-size: 1.2rem;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
.section {
    margin-bottom: 3rem;
}
.section h2 {
    color: #81589a;
    padding: 1rem 0;
}
.section-content {
    display: flex;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap; /* Added for better responsiveness */
}
.section-text {
    flex: 1;
    padding: 0 20px;
    min-width: 300px; /* Added for better responsiveness */
}
.section-image {
    flex: 1;
    text-align: center;
    padding-top: 10px;
    min-width: 300px; /* Added for better responsiveness */
}
.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.team-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

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