/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #ffffff;
    color: #131417;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Hamburger button */
/* Hamburger menu */
.hamburger-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fbfbfb;
    z-index: 1002;
}

.hamburger {
    display: none;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1003;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #131417;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span {
    background-color: #ffffff;
}

.hamburger.active {
    z-index: 1003;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Container layout */
.container {
    display: flex;
    gap: 8px;
    padding: 16px 0 16px 24px;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    background-color: #2a2a2a;
    border-radius: 15px;
    width: 300px;
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-shrink: 0;
    height: calc(100vh - 32px);
    position: sticky;
    top: 16px;
    overflow-y: auto;
}

.sidebar-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.profile-pic {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #c4c4c4;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.intro-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.125rem;
}

.intro-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.125rem;
}

/* Categories navigation */
.categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.category.expanded {
    margin-bottom: 15px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.category-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.category.expanded .category-arrow {
    transform: rotate(180deg);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

.category-items {
    list-style: none;
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.category:not(.expanded) .category-items {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

.category.expanded .category-items {
    max-height: 500px;
    opacity: 1;
}

.category-items li {
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.25rem;
}

.category-items li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s ease;
}

.category-items li a:hover {
    opacity: 0.7;
}

.category-items li.active {
    font-weight: 400;
}

.category-items li.active a {
    font-weight: 600;
}

/* Contact section */
.contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}



.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 2.34rem;
    transition: opacity 0.2s ease;
}

.contact-email:hover {
    opacity: 0.7;
}

.email-feedback {
    position: absolute;
    left: 0;
    top: -30px;
    background-color: #131417;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.email-feedback.show {
    opacity: 1;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 2.34rem;
    transition: opacity 0.2s ease;
}

.contact-phone:hover {
    opacity: 0.7;
}

.phone-feedback {
    position: absolute;
    left: 0;
    top: -30px;
    background-color: #131417;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.phone-feedback.show {
    opacity: 1;
}

.linkedin-icon {
    width: 22px;
    height: 16px;
    color: #ffffff;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    line-height: 2.34rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.sidebar-bottom {
    margin-top: auto;
}

/* Cookie Consent Popup */
#cookie-consent-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 320px;
    z-index: 10000;
    font-family: 'Manrope', sans-serif;
    animation: slideIn 0.3s ease-out;
}

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

.consent-content p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #191919;
    margin: 0 0 15px 0;
}

.consent-buttons {
    display: flex;
    gap: 10px;
}

.consent-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accept-btn {
    background-color: #2a2a2a;
    color: #ffffff;
}

.accept-btn:hover {
    background-color: #1a1a1a;
}

.decline-btn {
    background-color: #f0f0f0;
    color: #191919;
}

.decline-btn:hover {
    background-color: #e0e0e0;
}

@media (max-width: 768px) {
    #cookie-consent-popup {
        bottom: 90px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

/* Cookie Re-evaluation Prompt (Privacy Policy page) */
#cookie-reevaluation-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 320px;
    z-index: 10000;
    font-family: 'Manrope', sans-serif;
    animation: slideIn 0.3s ease-out;
}

.reevaluation-content h2 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #191919;
    margin: 0 0 10px 0;
}

.reevaluation-content p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #191919;
    margin: 0 0 15px 0;
}

.reevaluation-buttons {
    display: flex;
    gap: 10px;
}

.reevaluation-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yes-btn {
    background-color: #2a2a2a;
    color: #ffffff;
}

.yes-btn:hover {
    background-color: #1a1a1a;
}

.no-btn {
    background-color: #f0f0f0;
    color: #191919;
}

.no-btn:hover {
    background-color: #e0e0e0;
}

@media (max-width: 768px) {
    #cookie-reevaluation-prompt {
        bottom: 90px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
}

/* Main content */
.main-content {
    background-color: #fbfbfb;
    border-radius: 15px 0 0 15px;
    flex: 1;
    padding: 149px 42px 149px 42px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 85%;
}

.hero-title {
    font-size: 30px;
    font-weight: 600;
    background: linear-gradient(90deg, #022640 0%, #5786ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 35px;
}

.hero-text {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 22px;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 85%;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 85%;
}

.section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #131417;
    line-height: 37.44px;
}

/* Cards */
.card {
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card.light {
    background-color: #f7f9fb;
    color: #000;
}

.card.light .card-title {
    color: #000;
}

.card.light .card-title::after {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
}

.card.large {
    border-radius: 15px;
    padding: 30px 30px;
}

.card.collapsible.expanded .card.large {
    padding: 20px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-label {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 37.44px;
}

.card-text {
    font-size: 16px;
    color: #191919;
    font-weight: 400;
    line-height: 22px;
}

.card-title {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    line-height: 37.44px;
    margin: 0;
}

.objective-label {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 37.44px;
}

.objective-text {
    font-size: 16px;
    color: #191919;
    font-weight: 400;
    line-height: 22px;
}

.card-content {
    font-size: 16px;
    color: #000;
    line-height: 22px;
    font-weight: 400;
}

.card.light .card-content {
    color: #191919;
}

.card.light .card-content p {
    color: #191919;
    font-weight: 400;
}

.card.light .card-text {
    font-size: 16px;
    color: #191919;
    line-height: 22px;
    font-weight: 400;
}

.highlight-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 22px;
}

.card-content ul {
    list-style: disc;
    padding-left: 24px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.card-content ul li {
    margin-bottom: 8px;
}

.card-content ul ul {
    margin-top: 8px;
}

.card-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(35, 35, 35, 0), #232323);
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Collapsible cards */
.card.collapsible .card-title {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    user-select: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card.collapsible .card-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transition: transform 0.3s ease;
}

.card.collapsible.expanded .card-title::after {
    transform: translateY(-50%) rotate(-135deg);
}

.card.collapsible .collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card.collapsible.expanded .collapsible-content {
    max-height: 5000px;
    opacity: 1;
    margin-top: 0px;
}

/* UX Strategy page specific styles */
.objective-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 85%;
}

.objective-label {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 37.44px;
}

.objective-text {
    font-size: 16px;
    color: #191919;
    font-weight: 400;
    line-height: 22px;
}

.images-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}

.grid-image {
    flex: 1;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.info-card {
    border-radius: 15px;
}

.info-card.light {
    background-color: #f7f9fb;
}

.info-card p {
    font-size: 16px;
    line-height: 22px;
    color: #000;
}

.info-card strong {
    font-weight: 700;
}

.section-large {
    gap: 20px;
    background-color: #f2f5f8;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: left;
}

/* Horizontal info cards */
.info-cards-horizontal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    max-width: 85%;
}

.card-horizontal {
    flex: 1;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.card-horizontal.light {
    background-color: #f7f9fb;
    color: #000;
}

.card-horizontal h2 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 37.44px;
    margin: 0;
    white-space: nowrap;
}

.card-horizontal p {
    font-size: 16px;
    font-weight: 400;
    color: #191919;
    line-height: 22px;
    margin: 0;
}

/* Collapsible info cards */
.info-cards-collapsible {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 85%;
}

.subsection {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 37.44px;
}

.body-text {
    font-size: 16px;
    font-weight: 400;
    color: #191919;
    line-height: 22px;
}

.body-text strong {
    font-weight: 700;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-main {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 22px;
}

.highlight-main strong {
    font-weight: 700;
}

.highlight-note {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    line-height: 22px;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.market-item {
    background-color: #f7f9fb;
    border-radius: 15px;
    padding: 10px 20px;
    font-size: 16px;
    color: #000;
    line-height: 22px;
}

.market-item strong {
    font-weight: 800;
}

.large-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.large-image img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Section title */
.section-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    color: #131417;
    margin: 0 0 20px 0;
}

/* Content images */
.content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    margin: 20px 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Note text */
.note {
    font-size: 16px;
    line-height: 22px;
    color: #191919;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive design */
@media (min-width: 1024px) {
    .category-header h3 {
        font-size: 1rem;
        font-weight: 500;
    }

    .category-items li {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

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

    .hamburger {
        display: flex;
    }

    .container {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: unset;
        border-radius: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero,
    .section,
    .content-section,
    .objective-card,
    .info-cards-horizontal,
    .info-cards-collapsible {
        max-width: 100%;
    }

    .hero-title {
        font-size: 42px;
        line-height: 48px;
    }
}

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

    .hamburger {
        top: 20px;
        left: 20px;
    }
    
    .sidebar {
        padding: 80px 30px 30px;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .category-items li {
        font-size: 1.2rem;
        line-height: 2rem;
    }
    
    .main-content {
        padding: 100px 24px 50px;
        width: 100%;
        font-size: 1rem;
    }

    .main-content p,
    .main-content li,
    .main-content ul,
    .main-content ol {
        font-size: 1rem;
        line-height: 1.625rem;
    }

    .hero,
    .section,
    .content-section,
    .objective-card {
        max-width: 100%;
    }

    .info-cards-horizontal {
        flex-direction: column;
    }

    .info-cards-collapsible {
        width: 100%;
    }

    .card-horizontal h2 {
        white-space: normal;
    }
    
    .section h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .images-grid {
        flex-direction: column;
    }

    .market-list {
        padding-left: 0;
    }
}
