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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Header & Navigation */
header {
    background: #1a1a2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d9ff;
}

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

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

.nav-links a:hover {
    color: #00d9ff;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: white;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a2e;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #00d9ff;
    border-radius: 2px;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
    padding: 8rem 0;
}

#hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #00d9ff;
    color: #1a1a2e;
}

.btn-primary:hover {
    background: #00b8d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a2e;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.skill-category {
    margin-bottom: 1.5rem;
}

.skill-category h4 {
    font-size: 1rem;
    color: #00d9ff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-category ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-category li {
    background: #e8f4f8;
    color: #1a1a2e;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Experience Timeline */
.experience h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #00d9ff;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00d9ff;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #00d9ff;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h4 {
    font-size: 1.25rem;
    color: #1a1a2e;
}

.timeline-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-company {
    color: #00d9ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #00d9ff;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

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

.tech-stack {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #00d9ff;
    color: #1a1a2e;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.project-link {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.project-link:hover {
    color: #00b8d9;
}

/* Contact Section */
.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a2e;
}

input, textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00d9ff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type=submit] {
    background: #00d9ff;
    color: #1a1a2e;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

button[type=submit]:hover {
    background: #00b8d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

button:disabled {
    background: #b0b0b0;
    cursor: not-allowed;
    transform: none;
}

#form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
    font-weight: 500;
}

#form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.social-links a {
    color: #00d9ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #00b8d9;
}

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

    #hero {
        padding: 4rem 0;
    }

    #hero h2 {
        font-size: 2rem;
    }

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

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

    h2 {
        font-size: 2rem;
    }

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

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 3rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .hero-links {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
