﻿
.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;  /* Horizontal centering */
    justify-content: center;  /* Vertical centering */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}


.team-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    place-items: center;  /* Ensures that grid items are centered */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));  /* Grid with auto-fit for responsiveness */
    text-align: center;  /* Align text to center in each item */
}

.builders-grid,
.verse-devs-grid {
    display: grid;
    place-items: center;  /* Ensures the grid content is centered */
    gap: 2rem;
    width: 100%;
}

.builders-grid {
    grid-template-columns: repeat(4, 250px);  /* 4 columns for large screens */
}

.verse-devs-grid {
    grid-template-columns: 1fr;  /* 1 column for Verse Devs section */
    max-width: 300px;
    margin: 0 auto;
}


.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;  /* Center the text inside */
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center items horizontally */
    justify-content: center;  /* Center items vertically */
    margin: 0 auto;  /* Center the team-member blocks */
}


@media (min-width: 1200px) {
    .builders-grid {
        grid-template-columns: repeat(4, 250px);
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .builders-grid {
        grid-template-columns: repeat(2, 250px);
    }
}

@media (max-width: 768px) {
    .builders-grid {
        grid-template-columns: 250px;
    }
}

.builders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1200px;
    width: 100%;
}


.profile-image {
    display: flex;
    justify-content: center;  /* Horizontally center the image */
    align-items: center;  /* Vertically center the image */
    margin-bottom: 1rem;  /* Optional: Add space below image */
}

.profile-image img {
    border-radius: 30%;
    width: 100px;  /* Adjust size as needed */
    height: 100px;  /* Adjust size as needed */
    object-fit: cover;
}


.role-tags {
    margin-top: 0.5rem;
}

.role-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    margin: 0.2rem;
    color: #fff;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 1rem;
}

.social-icon img {
    width: 24px;
    height: 24px;
    margin: 0 5px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.1);
    border-radius: 6px;
}


