@media (max-width: 768px) {
    .profile-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: calc(100% / 6);
    background-color: #92BFB1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.profile-section {
    text-align: center;
    width: 100%;
}

.profile-picture {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    background-image: url("image/profilepicture.jpg");
    margin: 0 auto 30px;
    background-size: cover;
    background-position: center;
}

.name {
    color: white;
    font-size: 34px;
    font-weight: 600;
    word-break: break-word;
    margin-bottom: 10px;
}

.sidebar-subtitle {
    color: white;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 0;
}

.name-link {
    text-decoration: none;
    cursor: pointer;
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.fun-fact-btn {
    background-color: transparent;
    color: white;
    border: none;
    padding: 0 0 0 40px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.fun-fact-btn:hover {
    background-color: transparent;
    opacity: 0.8;
}

.analyze-btn {
    background-color: transparent;
    color: white;
    border: none;
    padding: 0 0 0 40px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.analyze-btn:hover {
    background-color: transparent;
    opacity: 0.8;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Main Content Styling */
.main-content {
    width: calc(100% * 5 / 6);
    padding: 40px 40px 40px 60px;
    background-color: #ffffff;
    overflow-y: auto;
}

.greeting {
    margin-bottom: 40px;
}

.greeting h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.greeting-subtitle {
    font-size: 24px;
    color: #034748;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.postit-grid {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 30px;
    align-items: center;
    overflow-x: visible;
}

.postit {
    padding: 0;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0;
    background-color: #f2f2f2;
    color: #333;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
}

.postit:hover {
    background-color: #e8e8e8;
}

.postit.active {
    background-color: #e0e0e0;
    font-weight: 600;
}

.postit-square {
    width: 32px;
    height: 32px;
    border-radius: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 550;
    font-size: 14px;
}

.postit-icon {
    width: 19px;
    height: 19px;
    filter: brightness(0) invert(1);
}

.postit-text {
    color: #333;
    font-size: 14px;
    font-weight: 550;
    padding: 0 16px;
}

/* Post-it Colors */
.postit.all {
    background-color: transparent;
    padding: 0;
    border: none;
}

.postit.all .postit-square {
    background-color: #f2f2f2;
}

.postit.all .postit-text {
    display: block;
    color: #eb9486;
}

.postit.career .postit-square {
    background-color: #eb9486;
}

.postit.education .postit-square {
    background-color: #b38a58;
}

.postit.mentorship .postit-square {
    background-color: #A4B0F5;
}

.postit.achievements .postit-square {
    background-color: #f3de8a;
}

/* Projects Container */
.projects-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
}

.project-item {
    background-color: #f9f9f9;
    padding: 0;
    border-radius: 8px;
    border-bottom: 5px solid #97a7b3;
    animation: fadeIn 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.project-item[data-category="career"] {
    border-bottom-color: #eb9486;
}

.project-item[data-category="achievements"] {
    border-bottom-color: #f3de8a;
}

.project-item[data-category="education"] {
    border-bottom-color: #b38a58;
}

.project-item[data-category="mentorship"] {
    border-bottom-color: #A4B0F5;
}

.project-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.project-item p {
    color: #666;
    line-height: 1.6;
}

.career-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    gap: 0;
}

.career-image {
    width: 100%;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-grow: 1;
}

.career-title {
    width: 100%;
    height: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f9f9f9;
    flex-shrink: 0;
}

.career-title h4 {
    color: #333;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.career-subtitle {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin: 5px 0 0 0;
}

.fun-fact-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    height: 100%;
    padding: 30px;
}

.fun-fact-page.blank {
    background-color: #ffffff;
}

.fun-fact-section {
    padding: 10px;
    background: none;
    border: none;
}

.fun-fact-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.fun-fact-section p {
    color: #666;
    line-height: 1.6;
}

.fun-fact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fun-fact-item {
    display: block;
}

.fun-fact-item p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.chicago-trip-hover {
  position: relative;
  text-decoration: underline;
  cursor: pointer;
}

.chicago-trip-preview {
  display: none;
  position: absolute;
  padding: 14px;
  top: 24px;
  left: -120px;
  width: 640px;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 100;
  background: white;
}

.chicago-trip-hover:hover .chicago-trip-preview {
  display: block;
}

.project-details-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px;
    background: none;
    box-shadow: none;
}

.project-detail-content {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.project-detail-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    background: none;
    text-align: left;
}

.detail-subtitle,
.detail-image,
.detail-description {
    display: none !important;
}

.back-button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #ced0ce;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #333;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.back-button:hover {
    background-color: #e0e0e0;
}

.back-button img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.project-detail-content {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 5px solid #92BFB1;
}

.project-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 10px;
}

.detail-subtitle {
    font-size: 18px;
    color: #034748;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-image {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin: 20px 0;
}

.detail-description {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

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

/* Analyze Me Page */
.analyze-me-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.analyze-me-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 30px;
    flex: 1;
}

.analyze-me-text-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.gallup-section {
    margin-bottom: 48px;
}

.gallup-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.gallup-title-row h3 {
    margin: 0;
}

.view-report-btn {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px;;
    font-size: 12px;
    padding: 0;
    border-radius: 6px;
    white-space: nowrap;
}

.view-report-btn:hover {
    opacity: 0.85;
}

.strengths-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.strength-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}

.strength-number {
    font-weight: 700;
    min-width: 20px;
}

.strength-name {
    font-weight: 600;
    padding: 0 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.strength-description {
    color: #333;
}

/* Highlight colors */
.strength-name.empathy,
.strength-name.relator,
.strength-name.individualization {
    background-color: #dfe8f1;
}

.strength-name.maximizer {
    background-color: #f3dfd2;
}

.strength-name.learner {
    background-color: #dcefe5;
}

.analyze-me-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
}

.analyze-me-image-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.analyze-me-image {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    position: relative;
}

.analyze-me-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}

.analyze-language-btn {
    background-color: #f2f2f2;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.analyze-language-btn:hover {
    background-color: #e8e8e8;
}

.analyze-language-btn.active {
    background-color: #e8e8e8;
    color: #333;
}

/* Magnifying Glass */
.analyze-me-image {
    position: relative;
}

.magnifying-glass {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 4px solid #333;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(0, 0, 0, 0.2);
    display: none;
}

.magnifying-glass-content {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.magnifying-glass-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .postit-grid {
        max-width: 100%;
    }
    
    .sidebar {
        width: 20%;
    }
    
    .main-content {
        width: 80%;
    }
}

@media (max-width: 768px) {

    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 30px 20px 0 20px;
    }
    .profile-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100vw;
        padding: 0 10px;
        gap: 24px;
        background: #92BFB1;
        box-shadow: none;
    }
    .profile-section-left {
        flex: 0 0 auto;
    }
    .profile-section-right {
        flex: 0 0 auto;
    }
    .profile-picture {
        width: 150px;
        height: 150px;
        margin: 0;
        background-size: cover;
        flex-shrink: 0;
    }
    .name {
        font-size: 22px;
        margin-bottom: 2px;
        color: white;
        text-align: center;
    }
    .sidebar-subtitle {
        font-size: 16px;
        color: white;
        text-align: center;
        margin-bottom: 0;
    }
    .mobile-menu-bar {
        width: 100vw;
        background: #92BFB1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 40px;
        padding: 0 0 0 38px;
        box-shadow: none;
        margin-bottom: 18px;
    }
    .mobile-menu-btn {
        background: transparent;
        border: none;
        padding: 0;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }
    .mobile-menu-btn img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
        display: block;
    }
    .mobile-menu-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #E2E2E2;
        width: 100vw;
        padding: 0;
        box-shadow: none;
    }
    .mobile-menu-list button {
        background: transparent;
        color: #333;
        border: none;
        font-size: 13px;
        padding: 12px 18px 0 50px;
        text-align: left;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .mobile-menu-list button:last-child {
        padding-bottom: 10px;
    }
    .mobile-menu-list button span {
        flex: 1;
        text-align: left;
    }
    .mobile-menu-list button .menu-arrow {
        flex: 0 0 auto;
        text-align: right;
        margin-left: 8px;
    }
    
    .main-content {
        width: 100%;
        padding: 20px;
    }
    
    .postit-grid {
        gap: 10px;
    }

    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        width: 100%;
    }

    .project-item {
        aspect-ratio: 1;
        width: 100%;
    }

    .career-title h4 {
        font-size: 15px;
    }

    .career-subtitle {
        font-size: 11px;
    }
}
