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

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0px;
    left: 0px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #666;
}

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

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

.nav-links a:hover {
    color: #000000;
    font-weight: 520;
}

/* Sections */
section {
    padding: 5rem 2rem;
    margin: 0 auto;
}

/* Section Headers - Consistent Styling with Animation */
.section-header {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.section-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Animation classes for content */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

/* Hero Section */
.hero {
    background: #ffffff;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
}

.profile-picture {
    width: 350px;
    height: 500px;
    border-radius: 1px;
    background-image: url('../images/profile.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #999;
    animation: fadeInUp 2s ease;
    border: 1px solid #afafaf;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    color: #333;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    animation: fadeInUp 2s ease 0.4s both;
    color: #333;
}

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

/* Skills Section */
.skills {
    background: #ffffff;
    padding: 5rem 2rem;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem 4rem;
}

.skill-item {
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.skill-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.skill-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Projects Section */
.projects {
    background: white;
    text-align: center;
}

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

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

.project-card {
    position: relative;
    height: 300px;
    border-radius: 1px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.8s ease;
    background: #ddd;
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-card:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 46, 46, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}

/* About Section */
.about {
    background: #ffffff;
    padding: 5rem 2rem;
}

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

.about-left {
    display: flex;
    flex-direction: column;
}

.about-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-description p {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.about-description p.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-section,
.education-section {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.experience-section.animate,
.education-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.experience-item,
.education-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.experience-item.animate,
.education-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.job-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3rem;
}

.company-period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.job-description {
    padding-left: 2%;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.degree-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3rem;
}

.school-period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.degree-details {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    background: white;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.form-group.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.submit-btn {
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.8s ease, transform 0.8s ease;
    width: 100%;
    font-family: inherit;
    opacity: 0;
    transform: translateY(20px);
}

.submit-btn.animate {
    opacity: 1;
    transform: translateY(0);
}

.submit-btn:hover {
    background: #555;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.linkedin-link:hover {
    background: #555;
    color: white;
    text-decoration: none;
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    section {
        padding: 3rem 1rem;
    }

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

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}