.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f9bb6f;
    margin-top: 40px;
    margin-bottom: 40px;
    gap: 10px;
}
.hero h1 {
    font-size: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards;
    margin: 0;
}
.hero h2 {
    font-size: 1.8rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 1s forwards 0.3s;
    margin: 0;
    color: white;
}
.hero p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
    color: #9d9d9d;
    max-width: 400px;
    font-family: RedHat;
}
.hero h1,
.hero p {
    transition: font-size .3s;
}
.associates {
    background: #525252;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.associates h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: white;
}
.associates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    width: calc(100% - 40px);
    max-width: 1200px;
}
.associate-card {
    display: flex;
    height: 103px;
    background: #2e2e2e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    border-top: 4px solid #f9bb6f;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow .3s;
    cursor: pointer;
    text-decoration: none;
}
.associate-card:hover {
    box-shadow: 0px 4px 10px rgb(249 187 111 / 21%);
}
.associate-card h3 {
    font-size: 1.5rem;
    color: #f9bb6f;
    margin-top: 0;
    margin-bottom: 0;
}
.associate-card p {
    margin: 5px 0;
    font-size: 1rem;
    color: white !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.associate-name-and-role {
    text-align: left;
}
.associate-name-and-role p {
    color: #b7b7b7;
    font-family: system-ui;
    font-weight: 400;
    margin-top: 0;
    font-family: RedHat;
}
.associate-info {
    font-family: RedHat;
    text-decoration: none;
    color: white !important;
}
.associate-info p {
    text-decoration: none !important;
    color: inherit !important;
    -webkit-touch-callout: none; /* Prevents callout menu */
    -webkit-user-select: none; /* Disables text selection */
}


.contact-section {
    padding: 20px;
    background: #525252;
    color: white;
    text-align: center;
    margin-top: 20px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
    width: calc(100% - 40px);
    max-width: 600px;
}
.contact-section h2 {
    font-size: 2rem;
    margin: 0;
}
.contact-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    font-family: RedHat;
    color: #e2e2e2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.associate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.associate-modal-content {
    background: #444444;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: RedHat;
    width: calc(100% - 80px);
    max-width: 300px;
}
.associate-modal-content h3 {
    margin: 0;
}
.associate-modal-content a {
    display: block;
    margin: 0;
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 10px;
    border-radius: 15px;
    transition: background-color .3s;
    width: calc(100% - 20px);
}
.associate-modal-content a:hover {
    background-color: #956d3c;
}
.close {
    margin: 0;
    cursor: pointer;
    font-size: 1.2rem;
    color: #ffffff;
    padding: 5px;
    background-color: #cd2828;
    border-radius: 8px;
    width: 100px;
}

@media (max-width: 1000px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    .hero h2 {
        font-size: 1.6rem;
    }
    .associates h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .contact-section {
        width: calc(100% - 40px);
        padding: 10px;
        gap: 5px;
        border-radius: 20px;
    }

    .contact-section h2 {
        font-size: 1.4rem;
    }
    .contact-section p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    .hero h2 {
        font-size: 1.4rem;
    }
    .associates h2 {
        font-size: 1.4rem;
    }
    .hero p {
        font-size: 1rem;
        max-width: 300px;
    }

    .associates-container {
        width: calc(100% - 20px);
        gap: 10px;
    }
    .associate-card {
        width: 100%;
        padding: 10px;
    }
    .associate-card h3 {
        font-size: 1.3rem;
        color: #f9bb6f;
    }

}