/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6b5b95;
    --secondary-color: #ff6b9d;
    --accent-color: #ffa502;
    --dark-bg: #0f0f1e;
    --light-bg: #1a1a2e;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 91, 149, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-content img {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 1s ease-out;
}

.hero .tagline {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

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

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

/* Sections */
section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.5) 0%, rgba(15, 15, 30, 0.8) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(107, 91, 149, 0.2), rgba(255, 107, 157, 0.2));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Team Section */
.team {
    background: var(--light-bg);
}

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

.team-member {
    background: linear-gradient(135deg, rgba(107, 91, 149, 0.1), rgba(255, 107, 157, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.team-member .role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects Section */
.projects {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.5) 0%, rgba(15, 15, 30, 0.8) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, rgba(107, 91, 149, 0.15), rgba(255, 107, 157, 0.15));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 91, 149, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: var(--dark-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card p:last-child {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.contact-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.3);
}

/* Footer */
.footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

.footer p {
    margin: 0.5rem 0;
}

.footer p:last-child {
    font-style: italic;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .nav-brand img {
        width: 32px !important;
        height: 32px !important;
    }

    .hero-content img {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-links {
        gap: 1rem;
    }

    .contact-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-brand img {
        width: 28px !important;
        height: 28px !important;
    }

    .hero-content img {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }
}
