/* CSS for the Team Members page */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #000;
    color: #fff;
}

/* Hero section styling */
.team-hero {
    height: 40vh;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    width: 100%; /* Ensure full width */
    background: url('../image/img1_2.jpeg') no-repeat center center;
    background-size: cover;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* Even lighter overlay */
    z-index: 0;
}

.team-hero-content {
    padding: 20px;
    max-width: 800px;
    color: #fff;
    z-index: 1;
    position: relative;
}

.team-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.team-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Main content container */
.team-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 20px;
    flex: 1;
}

/* Team intro section */
.team-intro {
    text-align: center;
    margin-bottom: 60px;
}

.team-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.team-intro .highlight {
    color: #FFD700;
}

.team-intro p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.6;
}

.intro-image-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.intro-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.intro-image:hover {
    transform: scale(1.05);
    border-color: #FFD700;
}

/* Team profiles section */
.team-profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.team-card {
    width: 300px;
    background-color: #111;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border: 1px solid #333;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 30px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styling for the user-tie icon */
.user-icon-container {
    background: linear-gradient(135deg, #111, #333);
}

.team-image .fa-user-tie {
    font-size: 80px;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.team-info {
    padding: 0 20px 30px;
}

.team-info h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.team-info h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.team-social {
    margin-top: 20px;
}

.team-social a {
    color: #ccc;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #FFD700;
}

/* Team values section - full width version */
.team-values {
    margin: 80px 0;
    padding: 80px 0; /* Removed horizontal padding */
    position: relative;
    overflow: hidden;
    background: url('../image/test.jpeg') no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%; /* Ensure full width */
    border-radius: 0; /* Remove border radius for full width */
}

/* Custom gradient overlay */
.team-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

/* Optional: Add a subtle pattern overlay */
.team-values::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.values-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding to the container instead */
}

.team-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    position: relative;
}

/* Decorative underline for heading */
.team-values h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,215,0,0), rgba(255,215,0,1), rgba(255,215,0,0));
    margin: 15px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.value-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.value-card:hover::before {
    transform: translateX(0);
}

.value-icon {
    margin-bottom: 25px;
    position: relative;
}

/* Icon style */
.value-icon i {
    font-size: 3rem;
    color: #FFD700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.3));
}

/* Circular background for icons */
.value-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, rgba(10,10,10,0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.value-card h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.value-card p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact section styling */
.contact-section {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.95)), url('../image/img3_2.jpeg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    color: #FFD700;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-content p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    background-color: #fff;
}

/* Footer styling */
footer {
    background-color: #111;
    padding: 50px 20px 20px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ccc;
}

.footer-contact h4, .footer-social h4 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-contact p {
    color: #ddd;
    margin-bottom: 10px;
}

.footer-contact a, .footer-social a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-social a:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
    .team-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .team-intro h2, .contact-content h2 {
        font-size: 1.8rem;
    }
    
    .team-values {
        padding: 60px 0;
        margin: 60px 0;
    }
    
    .values-container {
        padding: 0 20px;
    }
    
    .team-values h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .intro-image-container {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-image {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .team-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .team-hero-content p {
        font-size: 1rem;
    }
    
    .team-intro h2, .contact-content h2 {
        font-size: 1.5rem;
    }
    
    .team-values {
        padding: 40px 0;
        margin: 40px 0;
    }
    
    .values-container {
        padding: 0 15px;
    }
    
    .team-values h2 {
        font-size: 1.8rem;
    }
    
    .value-icon i {
        font-size: 2.5rem;
    }
    
    .value-card h3 {
        font-size: 1.3rem;
    }
    
    .team-info h3 {
        font-size: 1.5rem;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
    }
    
    .contact-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}