/* ==========================================
   CREATIVE TEAM SECTION
   ========================================== */

.creative-team-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}



/* Desktop: Horizontal Layout */
.team-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    gap: 80px;
}

.team-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 650px;
}

.team-label {
 


    font-family: Inter;
    font-size: 32px;
    font-weight: 900;
    color: rgb(34, 34, 34);
    text-align: right;
    letter-spacing: -2px;
    line-height: 1.2;
    border-radius: 0px;
    opacity: 1;

}

.team-main-title {
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 180px;
    font-weight: 900;
    color: #000;
    text-align: right;
    letter-spacing: -8px;
    line-height: 0.9;
    margin: 0 0 40px 0;
    white-space: pre-wrap;
    overflow: visible;
}

.team-description {
    font-family: Inter, "Open Sans", sans-serif;
    font-size: 2vw !important;
    font-weight: 400;
    color: rgb(34, 34, 34);
    text-align: right;
    line-height: 1.5;
    margin: 0;
}

.team-image-card {
    flex: 1;
    width: 100%;
    max-width: 650px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}

.team-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive design for team section */
@media (max-width: 1400px) {
    .team-main-title {
        font-size: 140px;
        letter-spacing: -6px;
    }
    
    .team-description {
        font-size: 24px;
    }
    
    .team-content-wrapper {
        gap: 60px;
    }
    
    .team-planet-icon {
        width: 100px;
        height: 100px;
        right: 60px;
    }
}

@media (max-width: 1024px) {
    .creative-team-container {
        padding: 60px 40px;
    }
    
    .team-content-wrapper {
        gap: 50px;
    }
    
    .team-label {
        font-size: 16px;
    }
    
    .team-main-title {
        font-size: 120px;
        letter-spacing: -5px;
        margin-bottom: 30px;
    }
    
    .team-description {
        font-size: 22px;
    }
    
    .team-planet-icon {
        width: 80px;
        height: 80px;
        right: 40px;
        top: 40px;
    }
}

/* Mobile: Vertical Layout with Right-Aligned Text */
@media (max-width: 768px) {
    .creative-team-container {
        padding: 50px 25px;
    }
    
    .team-planet-icon {
        display: none;
    }
    
    .team-content-wrapper {
        flex-direction: column;
        max-width: 1000px;
        gap: 0px;
    }
    
    .team-text-content {
        order: 2;
        max-width: 100%;
        align-items: flex-end;
    }
    
    .team-image-card {
        order: 1;
        max-width: 100%;
    }
    
    .team-label {
        align-self: flex-end;
        font-size: 32px;
        font-weight: 900;
        color: rgb(34, 34, 34);
        text-align: right;
        letter-spacing: -2px;
        line-height: 1.2;
        margin: 0px 0px 0px;
    }
    
    .team-main-title {
        align-self: center;
        font-size: 119px;
        font-weight: 900;
        text-align: right;
        letter-spacing: -7px;
        line-height: 0.8;
        padding: 4px 10px 0px 0px;
        margin: 0;
        width: 100%;
    }
    
    .team-description {
        font-size: 22px!important;
        text-align: right;
        line-height: 1.4;
        margin: 20px 0 0 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .team-label {
        font-size: 24px;
        letter-spacing: -1px;
        margin: 20px 0px 0px;
    }
    
    .team-main-title {
        font-size: 80px;
        letter-spacing: -5px;
        padding: 4px 8px 0px 0px;
    }
    
    .team-description {
        font-size: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .creative-team-container {
        padding: 40px 20px;
    }
    
    .team-content-wrapper {
        gap: 25px;
    }
    
    .team-label {
        font-size: 20px;
        letter-spacing: -0.5px;
        margin: 15px 0px 0px;
    }
    
    .team-main-title {
        font-size: 60px;
        letter-spacing: -4px;
        padding: 4px 5px 0px 0px;
    }
    
    .team-description {
        font-size: 18px!important;
        line-height: 1.5;
        margin-top: 12px;
    }
}

/* ==========================================
   FIXED BOOK BUTTON - TEAM SECTION ENHANCEMENTS
   ========================================== */

/* Team button glow effect - same as workshop button */
#glow-on-hover-trans-team {
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

#glow-on-hover-trans-team:hover:before {
    opacity: 1;
    filter: blur(10px);
    transition: filter .3s ease-in-out;
}

#glow-on-hover-trans-team:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(0px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    transition: filter .3s ease-in-out;
    border-radius: 10px;
}

#glow-on-hover-trans-team:active:after {
    background: transparent;
}

#glow-on-hover-trans-team:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 10px;
}

/* Ensure smooth transitions for the fixed book button when in team section */
body.creative-team-active .fixed-book-btn-container {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

