/* Team.css – Professional Design with Enhanced Animated Logo and Contact Info */
:root {
    --cyan-400: #00f5ff;
    --cyan-500: #00d1ff;
    --cyan-600: #00a8ff;
    --purple-500: #8a2be2;
    --zinc-900: #111827;
    --zinc-800: #1f2937;
    --zinc-700: #374151;
    --zinc-600: #4b5563;
    --white-5: rgba(255, 255, 255, 0.05);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-90: rgba(255, 255, 255, 0.9);
    --white-40: rgba(255,255,255,0.4);
    --cyan-300: #79e0ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #000;
    color: var(--white-70);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ----- NAVIGATION with Enhanced Logo ----- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--white-10);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(0, 0, 0, 0.95);
}

/* Enhanced Animated Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    position: relative;
}

@keyframes softGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 209, 255, 0.6);
    }
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600), var(--cyan-400));
    border-radius: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, var(--zinc-900), #000);
    border-radius: 1.1rem;
    z-index: 0;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(0, 209, 255, 0.3);
    }
    50% {
        transform: scale(1.03);
        text-shadow: 0 0 15px rgba(0, 209, 255, 0.7);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo:hover 

.logo:hover .logo-icon::before {
    opacity: 1;
    animation: rotateGlow 2s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo:hover 

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.98);
    }
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--white-70);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--cyan-500), var(--cyan-600));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--cyan-400);
}

/* ----- LANGUAGE SELECTOR ----- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.language-btn {
    background: var(--white-5);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    color: var(--white-70);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.language-btn:hover {
    background: var(--white-10);
    border-color: var(--cyan-400);
    color: white;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.language-btn i {
    font-size: 1rem;
    color: var(--cyan-400);
}

#currentLang {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--cyan-400);
}

.language-btn i.fa-globe {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.language-btn:hover i.fa-globe {
    animation: rotate 2s linear infinite;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    background: var(--zinc-900);
    border: 1px solid var(--white-10);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 160px;
    display: none;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-dropdown.show {
    display: block;
}

.language-option {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--white-70);
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-option::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyan-400);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.language-option:hover::before {
    opacity: 1;
}

.language-option:hover {
    background: var(--white-10);
    color: white;
    padding-left: 1.5rem;
}

.language-option.active-lang {
    background: linear-gradient(90deg, var(--white-10), transparent);
    color: var(--cyan-400);
    position: relative;
}

.language-option.active-lang::before {
    content: '✓';
    margin-right: 0.5rem;
    color: var(--cyan-400);
    font-weight: bold;
    opacity: 1;
}

/* ----- CTA BUTTON ----- */
.cta-button {
    background: linear-gradient(to right, var(--cyan-500), var(--cyan-600));
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 209, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 209, 255, 0.3);
    background: linear-gradient(to right, var(--cyan-400), var(--cyan-500));
}

/* ----- HERO ----- */
.team-hero {
    padding: 8rem 0 4rem;
    background: radial-gradient(ellipse at center, rgba(17, 24, 39, 0.5) 0%, #000 70%);
    position: relative;
    text-align: center;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25rem;
    height: 25rem;
    background: linear-gradient(135deg, var(--cyan-400), transparent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
}

.team-hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 25rem;
    height: 25rem;
    background: linear-gradient(135deg, var(--purple-500), transparent);
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(100px);
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.tag-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--cyan-400);
    border-radius: 50%;
}

.tag-text {
    color: var(--white-70);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 100;
}

.hero-title .cyan {
    background: linear-gradient(to right, var(--cyan-400), var(--cyan-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    color: var(--white-50);
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ----- FILTERS ----- */
.team-filters {
    padding: 2rem 0 1rem;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    color: var(--white-50);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-70);
}

.filter-btn.active {
    background: var(--cyan-500);
    color: white;
    border-color: var(--cyan-400);
}

/* ----- TEAM GRID – PHOTO FULL SCALE with Contact Info ----- */
.team-grid {
    padding: 3rem 0 5rem;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 209, 255, 0.3);
    box-shadow: 0 20px 30px rgba(0, 209, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.card-image {
    margin-bottom: 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--zinc-800), var(--zinc-900));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-card:hover .avatar-wrapper {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.2);
}

.card-body {
    width: 100%;
    margin-bottom: 0.75rem;
}

.card-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.card-role {
    font-size: 1rem;
    color: var(--cyan-400);
    font-weight: 500;
    display: inline-block;
    padding: 0.2rem 1rem;
    background: rgba(0, 209, 255, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(0, 209, 255, 0.1);
}

/* Contact email section for team members */
.card-contact {
    margin: 0.75rem 0 0.5rem;
    width: 100%;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-50);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-link i {
    font-size: 0.75rem;
    color: var(--cyan-400);
}

.contact-link:hover {
    color: var(--cyan-400);
    border-color: var(--cyan-400);
    background: rgba(0, 209, 255, 0.1);
    transform: translateX(3px);
}

.card-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white-70);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ----- JOIN CTA ----- */
.join-cta {
    padding: 6rem 0;
    background: radial-gradient(ellipse at center, rgba(17, 24, 39, 0.3) 0%, #000 70%);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 100;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-title .cyan {
    background: linear-gradient(to right, var(--cyan-400), var(--cyan-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-description {
    color: var(--white-50);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ===== CHAT BUTTON ===== */
.chat-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 209, 255, 0.3);
    z-index: 900;
    transition: all 0.3s ease;
    border: none;
}

.chat-button::before {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect x="8" y="8" width="32" height="32" rx="6" fill="%231f2937"/><circle cx="18" cy="18" r="4" fill="%2300f5ff"/><circle cx="30" cy="18" r="4" fill="%2300f5ff"/><rect x="16" y="28" width="16" height="2" rx="1" fill="rgba(255,255,255,0.3)"/><rect x="23" y="4" width="2" height="6" rx="1" fill="%2300f5ff"/></svg>') no-repeat center;
    background-size: contain;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 209, 255, 0.4);
}

/* ===== CHAT MODAL ===== */
.chat-modal {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 420px;
    height: 600px;
    max-height: 80vh;
    background: linear-gradient(135deg, var(--zinc-900), #000);
    border: 1px solid var(--white-10);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 245, 255, 0.1) inset;
    z-index: 1000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.chat-modal.open {
    display: block;
    transform: translateY(0);
}

.chat-header {
    background: linear-gradient(90deg, var(--zinc-800), var(--zinc-900));
    border-bottom: 1px solid var(--white-10);
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 85px;
}

.chat-avatar {
    width: 3.2rem;
    height: 3.2rem;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
    flex-shrink: 0;
}

.chat-avatar i {
    font-size: 1.6rem;
    color: white;
}

.chat-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.chat-title h3 {
    color: var(--cyan-400);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.chat-title p {
    color: var(--white-70);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.chat-close {
    width: 2.4rem;
    height: 2.4rem;
    background: var(--white-5);
    border: 1px solid var(--white-10);
    border-radius: 50%;
    color: var(--white-50);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-close:hover {
    background: var(--white-10);
    color: white;
    border-color: var(--cyan-400);
    transform: rotate(90deg);
}

.chat-close i {
    font-size: 1.2rem;
}

.chat-messages {
    padding: 1.5rem;
    height: calc(100% - 160px);
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    margin-bottom: 0.5rem;
    animation: messageSlide 0.3s ease;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    color: white;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 209, 255, 0.3);
}

.message.assistant {
    background: var(--white-5);
    color: var(--white-90);
    border: 1px solid var(--white-10);
    border-bottom-left-radius: 0.5rem;
}

.chat-input {
    background: var(--zinc-900);
    border-top: 1px solid var(--white-10);
    padding: 1.25rem;
    display: flex;
    gap: 0.75rem;
    min-height: 85px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    background: var(--white-5);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    padding: 0.85rem 1.5rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: 48px;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--cyan-400);
    background: var(--white-10);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.chat-input input::placeholder {
    color: var(--white-30);
    font-weight: 300;
}

.chat-input button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 209, 255, 0.3);
    flex-shrink: 0;
}

.chat-input button:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 209, 255, 0.5);
}

.chat-input button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
}

/* ----- FOOTER with Enhanced Logo ----- */

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .navbar.scrolled {
        padding: 0.7rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    
    
    
    
    .nav-right {
        gap: 0.6rem;
    }
    
    .language-btn {
        padding: 0.5rem 1rem;
    }
    
    .language-btn span:not(#currentLang) {
        display: none;
    }
    
    .language-dropdown {
        min-width: 140px;
        right: -20px;
    }
    
    .team-hero { 
        padding: 6rem 0 3rem; 
    }
    
    .hero-title { 
        font-size: 2.5rem; 
    }
    
    .team-cards { 
        grid-template-columns: 1fr; 
    }
    
    .avatar-wrapper { 
        width: 120px; 
        height: 120px; 
    }
    
    .card-name { 
        font-size: 1.4rem; 
    }
    
    .chat-modal {
        width: 95%;
        max-width: 420px;
        height: 90vh;
        max-height: 90vh;
        right: 2.5%;
        left: 2.5%;
    }
    
    
}

@media (max-width: 480px) {
    
    
    
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}