body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: rgb(6, 20, 29);
}

.navbar {
    position: sticky;
    top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    color: #bebebe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* Hamburger animation */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #333;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.show {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-top: 1px solid #444;
    }

    .nav-links a:hover {
        background-color: #444;
    }
}

/* Social buttons */
.social-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #1F2937;
    border-radius: 0.5rem;
    color: #9CA3AF;
    transition: all 0.2s;
    height: 40px;
}

.social-button:first-child {
    padding: 0.5rem 1rem;
}

.social-button:hover {
    background-color: #374151;
    color: #FFFFFF;
}

.social-icon {
    width: 20px; 
}

/* Wave animation */
.wave {
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
    z-index: 1;
}

@keyframes wave {
    0% { transform: rotate(0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate(0.0deg) }
    100% { transform: rotate(0.0deg) }
}

/* Section styles */
.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4.08rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #374151;
}

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

.timeline-marker {
    position: absolute;
    left: -3rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #3B82F6;
    border: 2px solid #1F2937;
    transform: translateX(1.625rem);
}

.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    bottom: -2rem;
    width: 2px;
    background-color: #374151;
    transform: translateX(-50%);
}

.company-logo {
    position: absolute;
    left: -5rem;
    background-color: #1F2937;
    border-radius: 50%;
    padding: 0.25rem;
}

.timeline-content {
    background-color: #1F2937;
    border-radius: 0.5rem;
    padding: 1.25rem;
}

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

.timeline-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
}

.date {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.job-title {
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.job-details {
    list-style-type: disc;
    margin-left: 1.25rem;
    color: #D1D5DB;
}

.job-details li {
    margin-bottom: 0.5rem;
}

.project-link {
    margin-top: 0.75rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

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

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

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

.link-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: white;
    font-size: 0.875rem;

}

.disabled {
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.281);
}

.projects-header {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

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

.contact-header {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.375rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #64748b;
}

textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1rem;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    color: #0f172a;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #f1f5f9;
}

.privacy-notice {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.privacy-notice a {
    color: #94a3b8;
    text-decoration: underline;
}

.privacy-notice a:hover {
    color: white;
}

button.loading {
    position: relative;
    color: transparent;
}

button.loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #0f172a;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

.more {
    font-size: 1rem;
    font-weight: 600;
    color: #D1D5DB;
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;

}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 8px;
}

.footer-icons {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.footer-fixed {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 8px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.divider {
    display: flex;
    flex-direction: row;
    height: 1px;
    width: 40px;
    background-color: #4b5563;
}

.footer-icon {
    display: flex;
    width: 30px;
    color: #888f9b;
    transition: all 0.2s;
}

.footer-icon:hover {
    color: #FFFFFF;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #828ea1;
    padding-bottom: 1rem;
}

.extra-line {
    padding: 12px;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1500px) {
    .extra-line {
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

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

    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}