.organization-page {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    min-height: 100vh;
    color: #fff;
}

.org-container {
    padding-top: 100px;
    padding-bottom: 2rem;
}

.title-text {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
    color: transparent;
    -webkit-text-stroke: 1px #007bff;
    position: relative;
}

.title-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #007bff;
    -webkit-text-stroke: 0px;
    border-right: 2px solid #007bff;
    overflow: hidden;
    animation: animate 6s linear infinite;
}

@keyframes animate {
    0%, 10%, 100% {
        width: 0;
    }
    70%, 90% {
        width: 100%;
    }
}

.org-chart {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.connector {
    width: 2px;
    height: 50px;
    background: #007bff;
    margin: 0 auto;
    position: relative;
    animation: drawLine 1s ease forwards;
    transform-origin: top;
}

@keyframes drawLine {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.org-box {
    background: transparent;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.org-box.ceo {
    background: transparent;
}

.draw-border {
    position: relative;
}

.line-drawing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawBox 2s ease forwards;
}

@keyframes drawBox {
    to {
        stroke-dashoffset: 0;
    }
}

.content {
    position: relative;
    z-index: 1;
}

.handwritten {
    font-family: 'Dancing Script', cursive;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.org-box:nth-child(1) .handwritten { animation-delay: 0.5s; }
.org-box:nth-child(2) .handwritten { animation-delay: 0.7s; }
.org-box:nth-child(3) .handwritten { animation-delay: 0.9s; }

.org-box h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.org-box p {
    font-size: 1.2rem;
    color: #fff;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .title-text {
        font-size: 2.5rem;
    }

    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .org-box {
        width: 100%;
        max-width: 300px;
    }

    .connector {
        height: 30px;
    }
}

.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: #007bff;
    border-color: #007bff;
} 