/* Students Page Styles */

/* Hero Section */
.students-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.students-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: white;
}

.students-hero p {
    font-size: 1.2rem;
    opacity: 1;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.students-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab, #f9d423, #a1ffce, #f857a6, #ff5858);
    background-size: 400% 400%;
    animation: gradientShift 10s ease-in-out infinite;
    opacity: 0.18;
    z-index: 1;
    filter: blur(2px) brightness(1.2);
    box-shadow: 0 0 80px 20px #fff7, 0 0 120px 40px #f9d42355;
}

.gradient-orbs::before,
.gradient-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px) brightness(1.3);
    opacity: 0.35;
    animation: float 7s ease-in-out infinite;
    box-shadow: 0 0 80px 40px #fff7, 0 0 120px 60px #f857a655;
}

.gradient-orbs::before {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 30% 30%, #23a6d5 60%, #e73c7e 100%, #f9d423 80%);
    top: 18%;
    left: 8%;
    animation-delay: 0s;
}

.gradient-orbs::after {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 70% 70%, #ee7752 60%, #23d5ab 100%, #a1ffce 80%);
    bottom: 18%;
    right: 8%;
    animation-delay: 2.5s;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.students-hero .container {
    position: relative;
    z-index: 2;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 400px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

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

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #667eea;
}

.team-info {
    text-align: center;
    width: 100%;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.team-contribution {
    color: #666;
    font-size: 0.9rem;
}

/* Project Details */
.project-details {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.project-details h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.tech-stack h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.tech-icons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-icons i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.tech-icons i:hover {
    transform: scale(1.2);
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .students-hero h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .team-image {
        height: 250px;
    }

    .project-details {
        padding: 30px;
    }
}

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .tech-icons {
        gap: 20px;
    }

    .tech-icons i {
        font-size: 2rem;
    }
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 16px 0;
    }
}

.pattern-3d {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.pattern-cube {
    top: 15%;
    left: 80%;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: rotateCube 7s linear infinite;
}

.pattern-cube::before, .pattern-cube::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #23a6d5 60%, #f857a6 100%);
    border-radius: 12px;
    box-shadow: 0 0 40px 10px #23a6d555;
    opacity: 0.7;
}
.pattern-cube::before {
    transform: rotateY(0deg) translateZ(30px);
}
.pattern-cube::after {
    transform: rotateY(90deg) translateZ(30px);
    background: linear-gradient(135deg, #f9d423 60%, #23d5ab 100%);
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.pattern-sphere {
    bottom: 10%;
    left: 12%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #a1ffce 60%, #ff5858 100%);
    box-shadow: 0 0 60px 20px #a1ffce77, 0 0 80px 40px #ff585877;
    opacity: 0.7;
    animation: floatSphere 6s ease-in-out infinite;
}

@keyframes floatSphere {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
} 