.hero-lab {
    position: relative;
    height: 700px;
    display: flex;
    flex-direction: column;
    background-image: url('../../assets/img/Landing\ image\ 10.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.lab-background {
    background: linear-gradient(190deg, #ffffff 10%, #e2e8f0 50%, #e2e8f0 100%);
    padding: 10rem 0 0 0;
    position: relative;
}

.lab-background2 {
    background: #f4f9ff;
    padding: 10rem 0 5rem 0;
    position: relative;
}

.lab-wrapper{
    width: 100%;
    position: relative;
    padding: 0 20px 10rem 20px;
}

.lab-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(30, 144, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 144, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent 10%, black 20%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 20%, black 100%);
}


.purpose-container {
    display: flex;
    justify-self: center;
    margin: 0 auto;
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 900px;
    padding: 0 20px;
    aspect-ratio: 1 / 1;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #1E90FF, #60A5FA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.2);
    z-index: 10;
    animation: centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.concept-circle {
    position: absolute;
    width: 46%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    background: white;
    border: 3px solid rgba(30, 144, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.concept-1 {
    top: 4%;
    left: calc(50% - 23%);
}

.concept-2 {
    bottom: 4%;
    left: 0%;
}

.concept-3 {
    bottom: 4%;
    right: 0%;
}

.concept-circle:hover {
    transform: scale(1.1);
    border-color: #1E90FF;
    box-shadow: 0 20px 50px rgba(30, 144, 255, 0.15);
}

.concept-title {
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5rem;
    width: 80%;
}

.concept-subtitle {
    color: rgba(75, 75, 75, 0.7);
    font-size: 0.9rem;
    text-align: center;
    padding: 0 1rem;
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.connection-path {
    fill: none;
    stroke: rgba(30, 144, 255, 0.4); /* soft DodgerBlue */
    stroke-width: 4;
    stroke-dasharray: 10, 6;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

.bg-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
}

.decor-1 {
    width: 200px;
    height: 200px;
    background: #60A5FA; /* light blue */
    top: 10%;
    left: 10%;
}

.decor-2 {
    width: 250px;
    height: 250px;
    background: #93C5FD; /* slightly lighter blue */
    top: 3%;
    right: 5%;
}

.decor-3 {
    width: 150px;
    height: 150px;
    background: #93C5FD; /* very soft */
    top: 26%;
    right: 25%;
}


.hero {
    text-align: center;
    padding: 0 50px;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #0B1F3A, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 4rem;
    background: linear-gradient(45deg, #0B1F3A, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
    margin: 0 auto 5rem auto;
}


.page-title {
    font-size: 3rem;
    line-height: 1.6;
    color: #061a35;
    margin-bottom: 3rem;
    position: relative;
}

.page-title::before {
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    content: '';
    position: absolute;
    right: 0;
    padding-left: 30px;
    gap: 40px;
    width: calc(100% - 15rem);
    height: 2px;
    color: black;
}

.structure-img img {
    display: flex;
    position: relative;
    width: 90%;
    padding: 10px;
    align-self: center;
    justify-self: center;
    box-shadow: none;
}

.structure-img {
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    position: relative;
    max-width: 1140px;;
    width: 100%;
    padding: 60px 0px;
    align-self: center;
    justify-self: center;
    justify-content: center;
}

.structure-title {
    font-size: 2rem;
    padding: 4rem 0 1rem 0;
}

.table-wrapper {
    overflow-x: auto;
    padding: 20px;
    position: relative;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background-color: #ffffff;
}

th, td {
    border: 2px solid #34495e;
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95rem;
}

th {
    background-color: #ecf0f1;
    font-weight: bold;
    color: #2c3e50;
}

.department {
    background-color: #bdc3c7;
    font-weight: bold;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    min-width: 80px;
}

.position {
    background-color: #d5dbdb;
    font-weight: 600;
    min-width: 60px;
}

.name {
    background-color: #ecf0f1;
    font-weight: 600;
    min-width: 60px;
}

.responsibility {
    background-color: white;
    text-align: left;
    min-width: 200px;
    line-height: 1.5;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    h1 {
        font-size: 1.2rem;
        padding: 12px 15px;
    }

    .table-wrapper {
        padding: 10px;

    }

    .table-wrapper table {
        width: 100%;
        table-layout: fixed;
    }

    th, td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .department {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .responsibility {
        text-align: center;
        min-width: 150px;
    }
}

@media screen and (max-width: 480px) {

    .structure-img {
        padding: 0;
    }

    th, td {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .responsibility {
        min-width: 120px;
        font-size: 0.75rem;
    }

    .table-wrapper {
        padding: 1rem 0 0 0 ;
    }

    .concept-title {
        font-size: 1rem;
    }

    .concept-subtitle {
        font-size: 0.8rem;
    }
}

/* Table scroll indicator */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/* --------------------연구이력------------------- */


.year-circle {
    position: relative;
    margin: 8rem 0;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #08417a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.72222222222222222222222222222222rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.timeline-content {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.year-circle.active .timeline-content {
    opacity: 1;
    visibility: visible;
}

.timeline-header {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.timeline-periods {
    display: flex;
    gap: 25px;
}

.period {
    flex: 1;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 0 8px 8px 0;
    border-left: 4px solid var(--link-color);
    width: 360px;
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.05);
}

.client-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.period-duration {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.period-title {
    font-size: 1rem;
    color: #242424;
}

.timeline-container {
    width: 100%;
    position: relative;
    margin-top: 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 8rem;
    bottom: 8rem;
    width: 2px;
    background-color: #bdc3c7;
}

/* Table scroll indicator */
.timeline-container::-webkit-scrollbar {
    height: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}


@media (max-width: 1439px) {

    .timeline-container {
        padding-left: 3rem;
    }

    .timeline-container::before {
        top: 15rem;
        bottom: 15rem;
        left: 100px;
    }

    .year-circle {
        margin: 12rem 0;
    }
    .period {
        width: 250px;
        min-width: 200px;
    }

}

@media(max-width: 990px) {

    .year-circle {
        display: flex;
        align-items: flex-start;
    }

    .timeline-container::before {
        left: 5.5rem;
    }


    .circle {
        width: 70px;
        height: 70px;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    
    }
}

@media (max-width: 768px) {
    .circle {
        width: 70px;
        height: 70px;
        font-size: 1.1rem;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .timeline-content {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        width: 100%;
        margin-left: 0;
    }

    .timeline-periods {
        flex-direction: column;
        gap: 15px;
        width: 71%;
        margin-left: 3rem;
    }

    .period {
        width: 100%;
        min-width: 30rem;
        margin: 0;
        border-radius: 8px;
        border-left-width: 4px;
    }

    .timeline-container {
        overflow-x: visible;
        padding-left: 0;
    }

    .timeline-container::before {
        left: 35px;
        top: 0;
        bottom: 40px;
    }

    .period-title {
        font-size: 1.2rem;
        color: #242424;
    }

    .timeline-container::before {
        left: 35px;
    }
}



@media (max-width: 480px) {
    .circle {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .timeline-container::before {
        left: 40px;
        bottom: 40px;
    }

    .period {
        min-width: 20rem;
        padding: 12px;
    }

    .period-title {
        font-size: 1.1rem;
    }

    .client-name {
        font-size: 1.5rem;
    }

    .period-duration {
        font-size: 0.8rem;
    }
}