* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0A0E17;
    color: #FFFFFF;
    background-image: linear-gradient(135deg, #0A0E17, #1A1F2E);
    background-blend-mode: overlay;
    background-attachment: fixed;
    line-height: 1.6;
    position: relative;
    margin: 0;
    padding: 0;
}

header {
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, #0A0E17, #1A1F2E);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .cta {
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    animation: pulse 2s infinite;
    font-size: 16px;
    font-weight: 600;
}

header .logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 100px);
    gap: 20px;
    padding: 20px;
}

.sidebar {
    width: 300px;
    background: rgba(26, 31, 46, 0.8);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conversation-btn {
    width: 100%;
    background: rgba(40, 45, 60, 0.6);
    color: #FFFFFF;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.conversation-btn:hover {
    background: rgba(60, 65, 80, 0.8);
    transform: translateX(5px);
}

.conversation-btn.active {
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

/* Special styling for the "Ik zoek werk" button */
.conversation-btn.job-search {
    background: linear-gradient(45deg, #4CAF50, #00D4FF);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    font-weight: 600;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.conversation-btn.job-search:hover {
    background: linear-gradient(45deg, #5CBF60, #20E4FF);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    transform: translateX(8px) scale(1.02);
}

.conversation-btn.job-search.active {
    background: linear-gradient(45deg, #4CAF50, #00D4FF);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.8);
    animation: job-search-pulse 2s infinite;
}

@keyframes job-search-pulse {
    0% { box-shadow: 0 8px 25px rgba(76, 175, 80, 0.8); }
    50% { box-shadow: 0 8px 35px rgba(76, 175, 80, 1), 0 0 20px rgba(76, 175, 80, 0.5); }
    100% { box-shadow: 0 8px 25px rgba(76, 175, 80, 0.8); }
}

.conversation-btn i {
    font-size: 18px;
    width: 20px;
}

.main-chat {
    flex: 1;
}

.chatbot {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 60px auto 40px auto;
    width: 100%;
    max-width: 1000px;
}

.chatbot .options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 17px;
    justify-items: center;
    min-height: 170px;
}

.chatbot button,
.chatbot .input-area button {
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    border: none;
    color: #FFFFFF;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    font-weight: 600;
}

.chatbot button {
    padding: 12.75px;
    font-size: 15.3px;
    margin-left: 10px;
}


.chatbot-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
}

/* Optional: Make buttons the same width as input boxes if you have them */
.chatbot-buttons button {
  min-width: 160px;
  padding: 0.75em 1.5em;
  font-size: 1rem;
}

.chatbot button:hover,
.chatbot .input-area button:hover {
    transform: scale(1.05);
}

.chatbot .input-area {
    display: flex;
    gap: 17px;
    margin-top: 21.25px;
    align-items: center;
}

.chatbot input {
    flex: 1;
    padding: 13.6px;
    border: 1px solid #00D4FF;
    border-radius: 8px;
    background: rgba(26, 31, 46, 0.5);
    color: #FFFFFF;
    font-size: 15.3px;
    line-height: normal;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
}

.chatbot .input-area button {
    padding: 13.6px 27.2px;
    border-radius: 8px;
    font-size: 15.3px;
}

#chat {
    border: 1px solid #ccc;
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    background: rgba(10, 14, 23, 0.7);
    border-radius: 8px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.user {
    color: yellow;
    margin-bottom: 0.5rem;
}

.bot {
    color: lightblue;
    margin-bottom: 1rem;
}

/* Responsive styles */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 10px 10px;
        text-align: center;
    }
    header .logo {
        font-size: 22px;
    }
    header .cta {
        font-size: 14px;
        padding: 8px 12px;
        margin-top: 10px;
    }
    .chatbot {
        flex-direction: column;
        gap: 12px;
    }
    .chatbot .input-area {
        flex-direction: column;
        gap: 10px;
    }
    .chatbot input {
        font-size: 14px;
        padding: 10px;
    }
    .chatbot .input-area button {
        width: 100%;
        font-size: 14px;
        padding: 10px 0;
    }
    #chat {
        height: 200px;
        font-size: 14px;
        padding: 0.5rem;
    }
    .chatbot .options {
        grid-template-columns: 1fr;
        min-height: 100px;
    }
    #auth-buttons button {
        width: 90%;
        margin: 8px 0;
        font-size: 15px;
        padding: 12px 0;
    }
    #user-info {
        font-size: 15px;
    }
}

/* Canvas background */
canvas#neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 5px #00D4FF; }
    50% { box-shadow: 0 0 20px #00D4FF; }
    100% { box-shadow: 0 0 5px #00D4FF; }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Chatbot typing effect */
.chatbot .static-text,
.chatbot .dynamic-text {
    display: inline;
    min-width: 17px;
}

.chatbot .cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
    font-weight: bold;
    color: #00D4FF;
}

/* Accessibility Buttons */
.accessibility-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.accessibility-btn {
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    color: white;
    border: none;
    border-radius: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 16px;
    position: relative;
}

.accessibility-btn:hover {
    transform: scale(1.05);
}

.accessibility-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2A2F3E;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    border: 1px solid #00D4FF;
}

.accessibility-btn[title="Translate"]:hover::after {
    content: "Translate &#127475;&#127473;&#127468;&#127463;&#127480;&#127462;&#127481;&#127479;&#127482;&#127462;";
    font-size: 14px;
    padding: 5px 10px;
}

.flag-icon {
    font-size: 14px;
}

.accessibility-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    /* Value Proposition Section */
    .value-proposition {
        padding: 80px 20px;
        text-align: center;
        background: rgba(10, 14, 23, 0.7);
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        position: relative;
        z-index: 1;
    }

    .value-proposition.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .value-proposition h2 {
        font-size: 48px;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #A855F7, #00D4FF);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        z-index: 1;
    }

    .value-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .value-card {
        background: #1A1F2E;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
        transition: transform 0.3s;
    }

    .value-card:hover {
        transform: translateY(-5px);
    }

    .value-card .icon-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70px;
        height: 70px;
        background: linear-gradient(45deg, #A855F7, #00D4FF);
        border-radius: 50%;
        margin: 0 auto 20px;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }

    .value-card i {
        color: #FFFFFF;
        font-size: 35px;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    .value-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #A855F7, #00D4FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    }

    .value-card p {
        font-size: 16px;
        color: #D1D5DB;
    }

    /* Success Stories Section */
    .success-stories {
        padding: 80px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        z-index: 1;
    }

    .success-stories::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
        z-index: 0;
    }

    .success-stories.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .success-stories h2 {
        font-size: 48px;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #A855F7, #00D4FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        z-index: 1;
    }

    .success-stories .logo-wrapper {
        position: relative;
        z-index: 1;
        margin-bottom: -25px;
    }

    .success-stories .logo-wrapper img {
        width: 100px;
        height: auto;
        filter: brightness(0) invert(1);
        background: linear-gradient(45deg, #A855F7, #00D4FF);
        -webkit-mask-image: url('logo-placeholder.png');
        mask-image: url('logo-placeholder.png');
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
    }



    /* Carousel Styles for Success Stories */
.carousel-container {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.stories {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 960px;
    scroll-behavior: smooth;
}

.story {
    flex: 0 0 300px;
    margin-right: 30px;
    background: #1A1F2E;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
    transition: transform 0.3s;
    box-sizing: border-box;
}

.story:hover {
    transform: translateY(-5px);
}

.story img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.story p {
    font-size: 16px;
    color: #D1D5DB;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    background: linear-gradient(45deg, #A855F7, #00D4FF);
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: scale(1.05) translateY(-50%);
}

.story:last-child {
    margin-right: 0;
}

/* Responsive for carousel */
@media (max-width: 1100px) {
    .stories {
        width: 660px;
    }
    .carousel-container {
        max-width: 720px;
    }
}
@media (max-width: 700px) {
    .stories {
        width: 330px;
    }
    .carousel-container {
        max-width: 350px;
    }
    .story {
        flex: 0 0 300px;
    }
}

/* Vacancy Action Buttons */
.vacancy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #1A1F2E, #2A2F3E);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.vacancy-action-btn {
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vacancy-action-btn:hover {
    background: linear-gradient(135deg, #45A049, #3D8B40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vacancy-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vacancy-action-btn.clicked {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.vacancy-action-btn.clicked::after {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vacancy-action-btn .icon {
    font-size: 16px;
}

/* Blog Detail Section Styling */
#blog-detail {
    display: none;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-detail-header {
    position: relative;
    margin-bottom: 30px;
}

.blog-detail-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.blog-detail-close:hover {
    background: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.blog-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.blog-detail-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    flex-wrap: wrap;
}

.blog-detail-author,
.blog-detail-date {
    color: #7f8c8d;
    font-size: 1.1em;
    font-weight: 500;
}

.blog-detail-author::before {
    content: "👤 ";
    margin-right: 5px;
}

.blog-detail-date::before {
    content: "📅 ";
    margin-right: 5px;
}

.blog-detail-intro {
    font-size: 1.3em;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #3498db;
    line-height: 1.6;
}

.blog-detail-body {
    font-size: 1.1em;
    line-height: 1.8;
    color: #2c3e50;
    text-align: justify;
}

.blog-detail-body p {
    margin-bottom: 20px;
}

.blog-detail-body br {
    margin-bottom: 10px;
}

/* Responsive design for blog detail */
@media (max-width: 768px) {
    #blog-detail {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .blog-detail-title {
        font-size: 2em;
    }
    
    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-detail-intro {
        font-size: 1.2em;
        padding: 15px;
    }
    
    .blog-detail-body {
        font-size: 1em;
    }
    
    .blog-detail-close {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #blog-detail {
        margin: 10px 5px;
        padding: 15px;
    }
    
    .blog-detail-title {
        font-size: 1.8em;
    }
    
    .blog-detail-intro {
        font-size: 1.1em;
        padding: 12px;
    }
}

/* Tooltip for vacancy buttons */
.vacancy-action-btn .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: #2A2F3E;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    width: 350px;
    max-width: 90vw;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
    border: 1px solid #4CAF50;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.vacancy-action-btn .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #2A2F3E;
}

.vacancy-action-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    animation: tooltipFadeIn 0.3s ease;
}

@keyframes tooltipFadeIn {
    from { 
        opacity: 0; 
        transform: translateX(-50%) translateY(0px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateX(-50%) translateY(-5px) scale(1); 
    }
}

/* Mobile responsiveness for vacancy buttons */
@media (max-width: 768px) {
    .vacancy-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vacancy-action-btn {
        max-width: none;
        justify-content: center;
    }
    
    .vacancy-action-btn .tooltip {
        width: 280px;
        left: 50%;
        transform: translateX(-50%);
    }
}