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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #0d0d0d;
    background: url('/pictures/background_main.jpg') no-repeat center top fixed;
    background-size: cover;
}

header {
    background: url('/pictures/background_top.jpg') no-repeat center center;
    background-size: cover;
    color: #0d0d0d;
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #0d0d0d;
    text-shadow: none;
}

.tagline {
    font-size: 0.95rem;
    color: #565656;
    opacity: 1;
    letter-spacing: 0;
    text-transform: capitalize;
}

nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

nav a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #565656;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0;
}

nav a:hover {
    color: #0d0d0d;
    border-bottom-color: #0d0d0d;
    text-shadow: none;
}

nav a.active {
    color: #0d0d0d;
    border-bottom-color: #0d0d0d;
    text-shadow: none;
}

main {
    padding: 2rem 0;
}

section {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

section.active {
    display: block;
}

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

.section-content {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#contact .section-content {
    padding: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0d0d0d;
    text-transform: capitalize;
    letter-spacing: 0;
    text-shadow: none;
    font-weight: 700;
}

section h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    color: #0d0d0d;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 700;
}

h3 {
    font-size: 1.1rem;
    color: #0d0d0d;
    margin: 1.5rem 0 0.8rem;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #565656;
    line-height: 1.7;
    font-size: 1rem;
}

ul {
    margin-left: 2rem;
    color: #565656;
}

ul li {
    margin-bottom: 0.6rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0d0d0d;
}

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

.info-card {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #d5d5d5;
}

.info-card h3 {
    margin-top: 0;
    color: #0d0d0d;
}

.info-card p {
    color: #565656;
    margin-bottom: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.tech-badge {
    background: #e5e5e5;
    color: #0d0d0d;
    padding: 0.6rem 1.2rem;
    border: 1px solid #d5d5d5;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tech-badge:hover {
    background: #d5d5d5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-card {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-left: 3px solid #0d0d0d;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    border-left-color: #565656;
    border-color: #d5d5d5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.category-badge {
    background: linear-gradient(135deg, #0d0d0d 0%, #2d2d2d 100%);
    font-size: 0.75rem;
}

.portfolio-count {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    background: #e5e5e5;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.portfolio-items {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.portfolio-card.expanded .portfolio-items {
    max-height: 1000px;
}

.portfolio-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.portfolio-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.portfolio-item:hover {
    padding-left: 0.5rem;
}

.item-title {
    font-weight: 600;
    color: #0d0d0d;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.item-position {
    font-size: 0.85rem;
    color: #565656;
    font-style: italic;
    margin-bottom: 0.2rem;
}

.item-timeframe {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

.portfolio-card h3 {
    color: #0d0d0d;
    margin-top: 0;
}

.portfolio-type-badge {
    display: inline-block;
    background: #0d0d0d;
    color: #ffffff;
    padding: 0.35rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.portfolio-position {
    font-size: 0.95rem;
    color: #565656;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.portfolio-date {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 0.8rem;
    text-transform: capitalize;
    letter-spacing: 0;
}

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

.tag {
    background: #e5e5e5;
    color: #0d0d0d;
    padding: 0.35rem 0.7rem;
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
}

form {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

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

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #0d0d0d;
    font-size: 0.85rem;
    text-transform: capitalize;
    letter-spacing: 0;
}

input, textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #0d0d0d;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-radius: 6px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0d0d0d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.1);
}

textarea {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
}

button {
    background: #0d0d0d;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: capitalize;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-item {
    padding: 0;
}

.contact-item strong {
    color: #0d0d0d;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    font-size: 0.9rem;
    letter-spacing: 0;
    font-weight: 600;
}

.contact-item div {
    color: #565656;
}

.success-message {
    background: #f7f7f7;
    border: 1px solid #d4f5d4;
    color: #0d7d0d;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0;
}

.success-message.show {
    display: block;
}

.loading {
    text-align: center;
    color: #0d0d0d;
    padding: 2rem;
}

.description-image-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem 0;
}

.description-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.build-using-image-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem 0;
}

.build-using-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.competencies-image-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem 0;
}

.competencies-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.portfolio-image-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1rem 0;
}

.portfolio-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .section-content {
        padding: 1.5rem;
    }

    nav ul {
        padding: 0 1rem;
    }

    nav a {
        padding: 1rem 0.8rem;
        font-size: 0.8rem;
    }
}
