* {
    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;
    margin: 0;
    padding: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo span {
    color: #0ea5e9;
}

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

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

.nav-links a:hover {
    color: #0ea5e9;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f9fafb 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-content h1 .highlight {
    color: #0ea5e9;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
}

.btn-primary:hover {
    background: #0284c7;
}

.btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Section Styles */
section {
    padding: 5rem 0;
    width: 100%;
}

.section-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* About Section */
#about {
    padding: 5rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0ea5e9;
}

.about-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    color: #666;
}

.skill-list li:before {
    content: "✓ ";
    color: #0ea5e9;
    font-weight: bold;
    margin-right: 0.5rem;
}

.about-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Experience Section */
.experience {
    background: #f9fafb;
    width: 100%;
}

.timeline {
    position: relative;
    padding-left: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 2rem;
    padding-left: calc(3rem + 2rem);
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0ea5e9;
    border: 3px solid white;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.timeline-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-date {
    background: #0ea5e9;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.timeline-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f3f4f6;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #555;
}

/* Projects Section */
#projects {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 6rem 0;
    width: 100%;
}

#projects .section-title,
#projects > p {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background: #0ea5e9;
    color: white;
    border-color: #0ea5e9;
}

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

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0ea5e9;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-content h4 {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    width: 100%;
}

.contact h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    font-size: 1.1rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    background: white;
    color: #667eea;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Information */
.contact-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
    transition: transform 0.3s;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.email-icon,
.phone-icon,
.location-icon {
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-details strong {
    font-weight: 600;
    color: white;
    font-size: 1.05rem;
}

.contact-details span,
.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

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

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background: white;
    color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
}


/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

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

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

    .timeline {
        padding-left: 2rem;
    }

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