body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #eeb98f;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #111;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 1000;
}

.back-button:hover {
    background: #00c9a7;
    transform: scale(1.1);
}


/* SECTION */
.team-section {
    text-align: center;
    padding: 60px 20px;
    background: #ddedeb;
}

/* HEADER */
.team-header h1 {
    font-size: 50px;
    margin-bottom: 10px;
    color: #222;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif 

}

.team-header p {
    max-width: 600px;
    margin: 0 auto 25px;
    font-family: Arial, Helvetica, sans-serif;
    color: #666;
    line-height: 1.6;
    font-size: 17px;
}

.divider {
    width: 450px;
    height: 2px;
    background: #4e1c1c;
    margin: 0 auto 50px;
}

/* TEAM CONTAINER */
.team-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* CARD */
.team-card {
    max-width: 300px;
}

.team-card img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 3px solid brown;
    transition: 1s ease;
}

.team-card img:hover{
    scale:1.3;
}

.team-card h3 {
    margin-bottom: 5px;
    font-size: 20px;
    color: #222;
}

.team-card span {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.team-card p {
    font-size: 22px;
    color: #000000;
    line-height: 1.6;
    font-style: italic;

}

/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 40px 40px;
    gap: 40px;
}

.footer-column {
    max-width: 300px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #00c9a7;
}

.footer-social a {
    color: #bbb;
    margin-right: 15px;
    font-size: 20px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #00c9a7;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background: #0a0a0a;
    font-size: 14px;
    color: #888;
}

@media (max-width: 1024px) {

    .team-header h1 {
        font-size: 40px;
    }

    .divider {
        width: 70%;
    }

    .team-container {
        gap: 40px;
    }

    .team-card img {
        width: 250px;
        height: 250px;
    }

    .team-card p {
        font-size: 26px;
    }
}

@media (max-width: 768px) {

    /* Section Padding */
    .team-section {
        padding: 40px 15px;
    }

    /* Header */
    .team-header h1 {
        font-size: 32px;
    }

    .team-header p {
        font-size: 15px;
        max-width: 90%;
    }

    .divider {
        width: 60%;
        margin-bottom: 30px;
    }

    /* Stack Cards Vertically */
    .team-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .team-card {
        max-width: 90%;
    }

    .team-card img {
        width: 200px;
        height: 200px;
    }

    .team-card p {
        font-size: 24px;
    }

    /* Disable aggressive hover zoom on mobile */
    .team-card img:hover {
        scale: 1;
    }

    /* Back Button Slightly Smaller */
    .back-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Footer Stack */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .team-header h1 {
        font-size: 26px;
    }

    .team-card img {
        width: 170px;
        height: 170px;
    }

    .team-card p {
        font-size: 22px;
    }

    .divider {
        width: 50%;
    }
}