* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

.sidebar {
    width: 280px;
    background: #1a1a2e;
    color: #fff;
    padding: 2rem;
    position: fixed;
    height: 100%;
    transition: width 0.3s ease;
    z-index: 1000;
}

.sidebar .logo h1 {
    font-size: 1.8rem;
    color: #00d1b2;
    margin-bottom: 2rem;
    text-align: center;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin: 1.5rem 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #00d1b2;
    color: #1a1a2e;
}

.nav-links a i {
    margin-right: 0.8rem;
}

.last-updated {
    position: absolute;
    bottom: 2rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

main {
    margin-left: 280px;
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    width: calc(100vw - 280px);
}

main>h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

.back-link {
    display: inline-block;
    color: #00d1b2;
    text-decoration: underline;
    font-weight: 600;
    margin: 1rem 0;
    transition: color 0.3s;
    align-self: flex-start;
}

.back-link:hover {
    color: #1a1a2e;
}

.application-info,
.technologies-used,
.role,
.responsibilities {
    max-width: 900px;
    width: 100%;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease;
    margin-bottom: 1.5rem;
    text-align: left;
}

.application-info h3,
.technologies-used h3,
.role h3,
.responsibilities h3 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.application-info ul,
.technologies-used ul,
.responsibilities ul {
    list-style: none;
    padding: 0;
}

.application-info ul li,
.technologies-used ul li,
.responsibilities ul li {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.application-info ul li:before,
.technologies-used ul li:before,
.responsibilities ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #00d1b2;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.application-info ul li strong,
.technologies-used ul li strong,
.responsibilities ul li strong {
    color: #1a1a2e;
}

.role p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin: 0.8rem 0;
}

.role p strong {
    color: #1a1a2e;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }

    main {
        margin-left: 200px;
        width: calc(100vw - 200px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1rem;
    }

    main {
        margin-left: 0;
        padding: 1.5rem;
        width: 100%;
    }

    .application-info,
    .technologies-used,
    .role,
    .responsibilities {
        padding: 1.5rem;
    }

    main>h2 {
        font-size: 1.8rem;
    }

    .application-info h3,
    .technologies-used h3,
    .role h3,
    .responsibilities h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    main>h2 {
        font-size: 1.6rem;
    }

    .application-info h3,
    .technologies-used h3,
    .role h3,
    .responsibilities h3 {
        font-size: 1.2rem;
    }

    .application-info ul li,
    .technologies-used ul li,
    .responsibilities ul li,
    .role p {
        font-size: 1rem;
    }
}

.dropdown-button-bbocw::after {
    cursor: pointer;
    content: " ▼";
    margin-left: 5px;
}

.dropdown-button-bbocw.rotate::after {
    content: " ▲";
}

.image-description {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    margin-bottom: 0.5rem;
}

.image-description.open {
    opacity: 1;
}