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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

#bgvideo{
   opacity: 0.5;
   position:fixed;
   z-index: -1;
   object-fit: cover;
   width: 100%;
   height: 100%;
}

.navbar {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding-bottom: 5px;
    padding-top: 5px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    width: 60px;
    height: 60px;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ff0000;
}


.main-content {
    margin-top: 35px;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.members-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #000000;
    background: rgb(255, 255, 255);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    box-shadow:10px 10px 2px black;
}

.members-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.single-member-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-card {
    background: rgb(191, 191, 191);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 17rem;
    height: 28rem;
    box-shadow: 10px 10px 1px black;
    flex-shrink: 0;
}

.member-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.904);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.386);
    background: rgb(255, 255, 255);
}

.member-image {
    width: 13rem;
    height: 13rem;
    margin: 0 auto 1.5rem;
    border-radius: 10%;
    overflow: hidden;
    border: 4px solid rgba(0, 0, 0);
    transition: all 0.3s ease;
    position: relative;
}

.member-card:hover .member-image {
    border-color: rgb(255, 0, 0);
    transform: scale(1.05);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
    transition: all 0.3s ease;
}

.member-card:hover h3 {
    color: #ff6a00;
}

.member-role {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.4;
}


.member-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.link-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgb(0, 0, 0);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    top: 0;
    left: -100%;
    transition: all 0.5s ease;
}

.link-icon:hover::before {
    left: 100%;
}

.link-icon:hover {
    background: rgba(0, 0, 0);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.email::after {
    content: '✉';
    font-size: 20px;
    color: #ffffff;
}

.linkedin::after {
    content: 'in';
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}


@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .member-card {
        padding: 1.5rem;
        max-width: none;
        height: 29rem;
    }
    
    .member-image {
        width: 14rem;
        height: 14rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .member-card h3 {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
}


html {
    scroll-behavior: smooth;
}


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

.member-card {
    animation: fadeInUp 0.6s ease-out;
}

.member-card:nth-child(2) {
    animation-delay: 0.1s;
}

.member-card:nth-child(3) {
    animation-delay: 0.2s;
}