/* Import Calluna font */
@import url("https://use.typekit.net/calluna.css");

/* Reset and base styles */
body {
    font-family: 'calluna', serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}

/* Header styles */
header {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header img {
    max-height: 80px;
    width: auto;
    margin: 5px 0;
}

/* Navigation styles */
#menu-toggle {
    display: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    margin-left: 2in;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #2d6a4f;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
    font-family: 'calluna', serif;
}

nav ul li a:hover {
    color: #f4a261;
}

nav ul li a.contact-btn {
    background-color: #f4a261;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

nav ul li a.contact-btn:hover {
    background-color: #e76f51;
}

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    height: auto;
}

.hero-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1400px;  /* Added to control maximum width */
    padding: 0 30px;    /* Increased padding */
    z-index: 2;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
    font-family: 'calluna', serif;
}

.hero p {
    font-size: 1.5em;
    margin: 20px 0;
    font-family: 'calluna', serif;
}

.hero button {
    background-color: #f4a261;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-family: 'calluna', serif;
}

.hero button:hover {
    background-color: #e76f51;
}

/* About page hero section */
.team-hero {
    background-color: #2d6a4f;
    color: #ffffff;
    text-align: center;
    padding: 40px 30px 30px 30px;
}

.team-hero h1 {
    font-size: 2.5em;
    margin: 0;
    font-family: 'calluna', serif;
    margin-bottom: 15px;
}

.team-hero p {
    font-size: 1.2em;
    margin: 10px auto;
    max-width: 1000px;
    line-height: 1.5;
    font-family: 'calluna', serif;
}

/* About and Mission sections */
.about, .mission {
    padding: 60px 40px;
    max-width: 100%;
    margin: 0;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.about:hover, .mission:hover {
    transform: scale(1);
}

.about {
    background-color: white;
}

.about h2 {
    color: #2d6a4f;
    font-size: 3em;
    font-family: 'calluna', serif;
    margin-bottom: 40px;
}

.about p {
    color: #333;
    font-family: 'calluna', serif;
    font-size: 1.5em;
    line-height: 1.5;
    margin: 20px 0;
}

.mission {
    background-color: #2d6a4f;
}

.mission h2 {
    color: white;
    font-size: 3em;
    font-family: 'calluna', serif;
    margin-bottom: 40px;
}

.mission p {
    color: white;
    font-family: 'calluna', serif;
    font-size: 1.5em;
    line-height: 1.5;
    margin: 20px 0;
}

.about-content, .mission-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mission columns */
.mission-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.mission-column {
    text-align: center;
}

.mission-column h3 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-family: 'calluna', serif;
    text-align: center;
}

.mission-column p {
    color: white;
    font-size: 1.2em;
    line-height: 1.5;
    margin: 0;
    text-align: center; 
}

/* About section - Updated for single person layout */
.team-page {
    padding: 30px 40px 60px 40px;
    background-color: #f9f9f9;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 40px 40px 50px 40px;
    border-radius: 15px;
    background-color: white;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: 25px;
    object-fit: cover;
    border: 4px solid #2d6a4f;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    color: #2d6a4f;
    margin: 0 0 8px 0;
    font-size: 1.8em;
    font-family: 'calluna', serif;
}

.team-member .role {
    font-size: 1.3em;
    margin: 0 0 25px 0;
    text-align: center;
    color: #2d6a4f;
    font-weight: bold;
}

.team-contact-info {
    margin: 25px 0;
    padding: 18px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.team-contact-info a,
.team-contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
    color: #333;
    font-family: 'calluna', serif;
}

.team-contact-info .email-link {
    color: #2d6a4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-contact-info .email-link:hover {
    color: #f4a261;
    text-decoration: underline;
}

.team-contact-info .linkedin-link {
    color: #2d6a4f;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.team-contact-info .linkedin-link:hover {
    color: #f4a261;
    text-decoration: underline;
}

.team-bio {
    margin-top: 25px;
    text-align: left;
}

.team-bio p {
    margin: 18px 0;
    line-height: 1.8;
    font-size: 1.05em;
    color: #333;
    font-family: 'calluna', serif;
}

/* Contact page */
.contact-page {
    margin: 40px auto;
    max-width: 1200px;
    padding: 40px;
    background-color: #2d6a4f;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'calluna', serif;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-page h2 {
    margin-bottom: 20px;
    font-size: 2.5em;
}

.contact-page a {
    color: #f4a261;
    text-decoration: none;
}

.contact-page a:hover {
    text-decoration: underline;
}

.form-row {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.contact-page label {
    display: block;
    margin-bottom: 5px;
}

.contact-page input,
.contact-page textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    font-family: 'calluna', serif;
}

.contact-page button {
    background-color: #f4a261;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    font-family: 'calluna', serif;
}

.contact-page button:hover {
    background-color: #e76f51;
}

/* Footer */
footer {
    background-color: white;
    padding: 30px;
    font-size: 1.1em;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

footer img {
    max-height: 50px;
    position: absolute;
    left: 30px;
    top: 30px;
    background-color: transparent;
    padding: 10px;
    border-radius: 8px;
}

footer div {
    text-align: center;
    color: #333;
    font-family: 'calluna', serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 10px 0;
    text-align: center;
}

footer .email-link {
    color: #2d6a4f;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

footer .email-link:hover {
    text-decoration: underline;
    color: #f4a261;
}

footer a {
    color: #2d6a4f;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #2d6a4f;
        font-size: 2.5em;
        cursor: pointer;
        margin: 10px auto;
        padding: 5px 15px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    nav ul.show {
        display: flex;
    }

    .hero-image {
        height: 60vh;
        object-position: center center;
    }

    .hero-content {
        width: 90%;
    }

    .hero h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1.1em;
        margin: 15px 0;
    }

    .hero button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .team-hero {
        padding: 30px 20px 20px 20px;
    }

    .team-hero h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .team-hero p {
        font-size: 1.1em;
        margin: 8px auto;
    }

    .about p, .mission p {
        font-size: 1.3em;
    }

    .about h2, .mission h2 {
        font-size: 2.2em;
    }

    .mission-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Updated About styles for tablet */
    .team-page {
        padding: 25px 20px 40px 20px;
    }

    .team-member {
        padding: 35px 25px 40px 25px;
    }

    .team-member img {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }

    .team-member h3 {
        font-size: 1.6em;
    }

    .team-member .role {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .team-contact-info {
        margin: 20px 0;
        padding: 15px 0;
    }

    .team-bio {
        margin-top: 20px;
    }

    .team-bio p {
        font-size: 1em;
        margin: 15px 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-image {
        height: 50vh;
    }

    .hero-content {
        width: 80%;
    }

    .hero h1 {
        font-size: 1.6em;
    }

    .hero p {
        font-size: 1em;
    }

    /* Updated About styles for mobile */
    .team-hero {
        padding: 25px 15px 15px 15px;
    }

    .team-hero h1 {
        font-size: 1.8em;
    }

    .team-hero p {
        font-size: 1em;
    }

    .team-page {
        padding: 20px 15px 30px 15px;
    }

    .team-member {
        padding: 30px 20px 35px 20px;
    }

    .team-member img {
        width: 160px;
        height: 160px;
        margin-bottom: 18px;
    }

    .team-member h3 {
        font-size: 1.5em;
    }

    .team-member .role {
        font-size: 1.1em;
        margin-bottom: 18px;
    }

    .team-contact-info {
        margin: 18px 0;
        padding: 12px 0;
    }

    .team-contact-info a,
    .team-contact-info p {
        font-size: 0.95em;
        margin: 8px 0;
    }

    .team-bio {
        margin-top: 18px;
    }

    .team-bio p {
        font-size: 0.95em;
        margin: 12px 0;
    }

    .contact-page {
        margin: 20px;
        padding: 20px;
    }

    .contact-container {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        width: 100%;
    }

    .contact-page input,
    .contact-page textarea {
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
}

@media screen and (max-width: 390px) {
    .hero-image {
        height: 35vh;
    }

    .hero-content {
        width: 85%;
        padding: 0 10px;
    }

    footer {
        padding: 80px 20px 30px;
    }

    footer img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }

    footer div {
        width: 100%;
        padding: 0;
    }

    footer p {
        width: 100%;
        text-align: center;
        margin: 10px auto;
    }
}