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

:root {
    --primary-color: #2d46b9;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --gradient: linear-gradient(135deg, #2d46b9, #1e3c72);
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s;
}

.logo a:hover {
    color: #1e3c72;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content .title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content .hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.cta-buttons {
    margin: 2rem 0;
}

.cta-buttons a {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    margin: 0 0.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-secondary {
    border: 2px solid white;
    color: white;
}

.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 1rem;
    color: white;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #a5b4fc;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: #555;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Projects Section */
.projects {
    padding: 8rem 2rem;
    background-color: var(--secondary-color);
}

.projects h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.projects h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.category-section {
    margin: 4rem auto;
    max-width: 1200px;
}

.projects .category-title {
    text-align: left;
    margin: 2rem auto;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 1rem 2rem;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    max-width: 1200px;
}

.projects .category-title::before {
    content: '';
    width: 6px;
    height: 35px;
    background: var(--gradient);
    margin-right: 15px;
    border-radius: 3px;
}

.project-grid {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.project-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 1px solid rgba(45, 70, 185, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.project-content {
    flex-grow: 1;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.project-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.4rem;
    text-decoration: none;
    color: var(--primary-color);
    background-color: rgba(45, 70, 185, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

.project-links a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.project-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .projects .category-title {
        font-size: 1.6rem;
        margin: 2rem 1rem;
        padding: 0.8rem 1.5rem;
    }

    .projects .category-title::before {
        width: 4px;
        height: 25px;
        margin-right: 12px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--gradient);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }

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

    .about, .projects {
        padding: 4rem 1rem;
    }
}

.wave-animation {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
} 