body {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    padding: 0px;
    background-color: #f9f9f9;
    font-weight: 130;
}

.header {
    display: flex;
    background-color: black;
    height: auto;
    width: 100%;
    position: relative;
    left: 0; 
    top: 0;
    padding: 20px 13%;
    box-sizing: border-box;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header .nav {
    display: flex;
    gap: 20px;
}

.header .icon{
    display: none;
}

.header .nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    margin-left: 20px;

}

.header .nav a:hover, .header .logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.header .logo, .header .nav a, .centered-text h1, .main .text-image h1, .title-paragraph h1, .team-member .member h3 {
    font-family: 'Open Sans';
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
}

.header .nav a, .main .text-image a{
    text-decoration: none;
}

.main {
    padding: 50px 13%; /* Adjusted to account for the fixed header */
}

.main .text-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 20px;
}


.centered-text {
    flex-direction: column;
    text-align: center;
}

.title-paragraph, .centered-text {
    padding-bottom: 20px;
    padding-top: 20px;
}

.main .text-image .text {
    width: 100%;
}

.emoji-text {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    justify-content: center;
    gap: 150px;    
}
.emoji-text .emoji-text-item {
    border: 0px;
    text-align: center;
}

.emoji-text .emoji-text-item i {
    font-size: 70px;
}

.emoji-text .emoji-text-item p {
    font-size: 16px;
}

.emoji-text .emoji-text-item h3 {
    font-size: 20px;
    font-weight: 120;
}

.centered-text h1, .main .text-image .text h1 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 120;
}

.centered-text h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 120;
}

.centered-text p, .title-paragraph p, .main .text-image .text p, .grid-item p, .text-image p {
    text-align: justify;
}

.footer a {
    color: white;
}


.calendar {
    width: 100%;
    height: 700px;
    border: none;
    margin-top: 20px;
}

.main .text-image .text h2, .title-paragraph h1 {
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 120;
}

.main .text-image img, .main .text-image .text {
    max-width: 45%;
}
.main .text-image img{
    max-height: 400px;
    border-radius: 30px;
}

.main:nth-child(odd) {
    background-color: #fff;
}
.main:nth-child(even) {
    background-color: #f9f9f9;
}

.team {
    padding: 30px 13% 100px;
    background-color: white;
}

.team-member {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.team-member .member .image {
    width: 250px;
}

.team-member .member h3 {
    font-weight: 120;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 13%;
    box-sizing: border-box;
}

.grid-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.grid-item img {
    width: 100%;
    max-height: 250px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.grid-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 16px;
    margin-bottom: 20px;
}

.grid-item li {
    font-size: 16px;
}

.grid-item .more-info {
    color: #007BFF;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.grid-item .more-info:hover {
    background-color: #0056b3;
}

.footer {
    display: flex;
    align-items: flex-start; 
    padding: 30px 13%;
    font-weight: 120;
    font-size: 20px;
    gap: 50px;
    padding-bottom: 70px;
    background-color: #000;
    color: #fff;
}

.footer .title {
    flex: 1; /* Ensure the title occupies its own space */
}

.footer .contact-social-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.footer .contact, .footer .social {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.footer .title h2, .footer .contact h2, .footer .social h2 {
    font-size: 20px;
    font-weight: 120;
    margin-bottom: 20px;
}

.footer .title p, .footer .contact p, .footer .contact a, .footer .social p {
    font-size: 16px;
    font-weight: 120;
    margin-bottom: 20px;
    margin: 0;
}

.footer .social p {
    display: flex;
    gap: 20px;
}


.contact-form {
    max-width: 600px;
    padding-bottom: 100px;
    border-radius: 10px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 200px; /* Increased height for the textarea */
}

.contact-form button {
    font-size: 16px;
    padding: 10px 20px;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}




@media (max-width: 600px) {

    .header {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 30px 5%;
        position: relative;
    }
    
    .header .nav {
        flex-direction: column;
        align-items: center;
    }


    .main{
        padding: 0px 10%;
    }
    .main .text-image{
        flex-direction: column;
        align-items: center;
    }
    .main .text-image .text {
        max-width: 100%;
    }

    .main .text-image .text h1, .main .text-image .text h2{
        text-align: center;
    }

    .main .text-image img {
        margin-top: 20px;
        max-width: 100%;
        justify-content: center;
    }
    
    .emoji-text {
        flex-direction: column;
        gap: 10px;
    }

    .team-member {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .calendar {
        height: 1400px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        padding: 30px 0%;
    }

    .contact-form {
        padding: 0px 10%;
        padding-bottom: 100px;
    }

}






/* Header fade-in animation */
.header, .main, .team, .footer, .calendar {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


