:root {
    /* Light theme variables */
    --light-bg: #f8f9fa;
    --light-text: #333;
    --light-accent: #6c63ff;
    --light-secondary: #ff6584;
    --light-card-bg: rgba(255, 255, 255, 0.8);
    --light-shadow: rgba(0, 0, 0, 0.1);
    
    /* Dark theme variables */
    --dark-bg: #0f0f10;
    --dark-text: #f5f5f5;
    --dark-accent: #bb86fc;
    --dark-secondary: #03dac6;
    --dark-card-bg: rgba(30, 30, 30, 0.8);
    --dark-shadow: rgba(0, 0, 0, 0.3);
    
    /* Common variables */
    --gradient-1: linear-gradient(45deg, #6c63ff, #ff6584);
    --gradient-2: linear-gradient(45deg, #bb86fc, #03dac6);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    scroll-behavior: smooth;
}

/* Theme Styles */
body.light-theme {
    background-color: var(--light-bg);
    color: var(--light-text);
}

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* Enhanced Glassmorphism Card */
.glass-card {
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

body.light-theme .glass-card {
    background-color: var(--light-card-bg);
    box-shadow: 0 10px 30px var(--light-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .glass-card {
    background-color: var(--dark-card-bg);
    box-shadow: 0 10px 30px var(--dark-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-15deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Gradient Text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

body.light-theme .gradient-text {
    background-image: var(--gradient-1);
}

body.dark-theme .gradient-text {
    background-image: var(--gradient-2);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#theme-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.light-theme #theme-button {
    background-color: var(--light-card-bg);
    color: #ffa41b;
    box-shadow: 0 4px 15px var(--light-shadow);
}

body.dark-theme #theme-button {
    background-color: var(--dark-card-bg);
    color: #f5f5f5;
    box-shadow: 0 4px 15px var(--dark-shadow);
}

#theme-button:hover {
    transform: scale(1.1);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

body.light-theme nav a {
    color: var(--light-text);
}

body.dark-theme nav a {
    color: var(--dark-text);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: var(--transition);
}

body.light-theme nav a::after {
    background-image: var(--gradient-1);
}

body.dark-theme nav a::after {
    background-image: var(--gradient-2);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 20%;
    animation-delay: 4s;
}

body.light-theme .shape-1 {
    background: var(--light-accent);
}

body.light-theme .shape-2 {
    background: var(--light-secondary);
}

body.light-theme .shape-3 {
    background: rgba(108, 99, 255, 0.6);
}

body.dark-theme .shape-1 {
    background: var(--dark-accent);
}

body.dark-theme .shape-2 {
    background: var(--dark-secondary);
}

body.dark-theme .shape-3 {
    background: rgba(187, 134, 252, 0.6);
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scale(0);
    transition: 0.5s;
    border-radius: 30px;
}

.cta-button:hover::before {
    transform: scale(1);
}

body.light-theme .cta-button.primary {
    background-image: var(--gradient-1);
    color: white;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
}

body.dark-theme .cta-button.primary {
    background-image: var(--gradient-2);
    color: white;
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.3);
}

body.light-theme .cta-button.secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-accent);
}

body.dark-theme .cta-button.secondary {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--dark-accent);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* Team Section */
.team-section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.team-member::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
    z-index: -1;
}

body.dark-theme .team-member::after {
    background: var(--gradient-2);
}

.team-member:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.team-member:hover {
    transform: translateY(-15px);
}

.member-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    padding: 5px;
}

body.light-theme .member-image {
    background-image: var(--gradient-1);
}

body.dark-theme .member-image {
    background-image: var(--gradient-2);
}

.avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    border-radius: 50%;
    background-color: white;
}

body.light-theme .avatar {
    color: var(--light-accent);
}

body.dark-theme .avatar {
    color: var(--dark-accent);
    background-color: #1a1a1a;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.member-role {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.light-theme .social-icon {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--light-accent);
}

body.dark-theme .social-icon {
    background-color: rgba(187, 134, 252, 0.1);
    color: var(--dark-accent);
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Project Section */
.project-section {
    padding: 6rem 2rem;
}

.project-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .project-content {
        flex-direction: row;
        align-items: center;
    }
}

.project-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

body.light-theme .image-placeholder {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--light-accent);
}

body.dark-theme .image-placeholder {
    background-color: rgba(187, 134, 252, 0.1);
    color: var(--dark-accent);
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    transition: var(--transition);
}

body.light-theme .footer-links a {
    color: var(--light-text);
}

body.dark-theme .footer-links a {
    color: var(--dark-text);
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid;
    opacity: 0.7;
    font-size: 0.9rem;
}

body.light-theme .footer-bottom {
    border-color: rgba(0, 0, 0, 0.1);
}

body.dark-theme .footer-bottom {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Add more animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 