/* ===== Base Styles ===== */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* ===== Navigation ===== */
.main-nav {
    background: #2c3e50;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: #f39c12;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f39c12;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

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

.highlight {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== Personal Statement ===== */
.personal-statement {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.tagline {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    position: relative;
}

.tagline::before,
.tagline::after {
    content: '"';
    font-size: 2rem;
    color: #6a11cb;
    opacity: 0.3;
    position: absolute;
}

.tagline::before {
    top: -20px;
    left: -10px;
}

.tagline::after {
    bottom: -30px;
    right: -10px;
}

/* ===== Projects Section ===== */
.featured-projects {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.btn {
    display: inline-block;
    background: #6a11cb;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #4d0b9a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== Contact Section ===== */
.contact {
    background: #ecf0f1;
    padding: 4rem 1.5rem;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.contact-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 200px;
}

.contact-card i {
    font-size: 2rem;
    color: #6a11cb;
    margin-bottom: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #2c3e50;
        padding: 2rem;
        flex-direction: column;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}