@import url(http://fonts.googleapis.com/css?family=Raleway:400,700,500);
/* General Section Styling */
.teamx-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.team-header {
    margin-bottom: 40px;
}

.team-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.team-subtitle {
    font-size: 16px;
    color: #666;
}

/* Team Content Grid */
.team-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Team Card */
.team-card {
    background: linear-gradient(to bottom right, #FF8C00, #ffffff);
    width: 265px; /* Card width */
    height: auto; /* Card height */
    padding: 20px; /* Padding on all sides */
    margin: 1px; /* Margin on all sides */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #FF8C00;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 5px;
}

/* Team Image Wrapper */
.team-card .image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* White Circular Border Around Image */
.team-card img {
    width: 100px; /* Image width */
    height: 100px; /* Image height */
    border-radius: 50%;
    border: 3px solid #ffffff; /* White Circular Border */
    background-color: #fff; /* Ensuring background stays white */
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Team Member Name */
.team-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Team Member Role */
.team-card p {
    font-size: 1.3rem;
    color: #777;
    margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    color: #555;
    font-size: 1.9rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-content {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 100%; /* Responsive card width */
        height: auto; /* Flexible height */
        padding: 25px; /* Adjust padding */
        margin: 1px; /* Adjust margin */
    }
} 