/* Reset some basic defaults for shortcode content */
.obataimu-test-page {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f9f9f9;
}

/* Container for the four boxes */
.top-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.container-width {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 16px;
}

.top-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: calc(25% - 20px);
    min-width: 200px;
    margin: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.top-box:hover {
    transform: translateY(-4px);
}

/* Detail section that holds timeline and content */
.detail-section {
    /* Hide by default */
    padding: 20px;
    border-top: 1px solid #ccc;
    background-color: #fff;
    transition: all 0.3s ease;
}

.child-timeline-container {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid;
    border-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    border-image-slice: 1;
    border-radius: 16px;
    padding: 50px 20px 50px 20px;

}

.work-streams-title-wrapper{
    display: flex;
    justify-content: space-between;
}

/* Hide timeline and subnav sections by default */
.child-timeline-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
	pointer-events: none;
	touch-action: none;
}

.content-wrapper {
    /* display: none; */
    flex-direction: row;
    border: 2px solid;
    border-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    border-image-slice: 1;
    border-radius: 16px;
    padding: 20px;
    margin-top: 40px;
    transition: all 0.3s ease;
}

/* Show timeline and content when active */
.child-timeline-inner.active {
    display: flex !important;
}

.content-wrapper.active,
.content-wrapper-inner {
    display: flex !important;
}

.content-wrapper-inner {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
}

.timeline-item {
    position: relative;
    margin: 20px 0;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    max-width: 12%;
    flex: 1;
    overflow-x:visible;
	
}

.diamond {
    width: calc(100% - 33%);
    margin: 0 auto;
    background-color: #673682;
    background-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    transform: rotate(45deg);
    border-radius: 8px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.diamond img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 40px;
    height: 40px;
}

.timeline-item .label {
    margin-top: 12px;
    font-size: 14px;
    color: #6f42c1;
}

/* Dashed line styles */
.dashed-line {
    width: 2px;
    height: 80px;
    background: repeating-linear-gradient(to bottom, #6f42c1 0px, #6f42c1 11px, transparent 11px, transparent 17px);
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.dashed-line::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #6f42c1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dashed-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #6f42c1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    max-width: 100%;
    overflow-x:visible;
}

.timeline-title .label {
    margin: 15px 0;
    font-size: 18px;
    height: 30px;
    width: 180px;
    overflow-x:visible;
}

/* Odd timeline items - show top label, hide bottom label */
.timeline-item:nth-child(odd) .timeline-title.top-label {
    opacity: 1;
}

.timeline-item:nth-child(odd) .timeline-title.bottom-label {
    opacity: 0;
}

/* Even timeline items - hide top label, show bottom label */
.timeline-item:nth-child(even) .timeline-title.top-label {
    opacity: 0;
}

.timeline-item:nth-child(even) .timeline-title.bottom-label {
    opacity: 1;
}

/* Timeline item hover and active effects */
.timeline-item:hover .diamond {
    background-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.5);
    transform: rotate(45deg) scale(1.1);
}

.timeline-item.active .diamond {
    background-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.5);
    transform: rotate(45deg) scale(1.1);
}

.timeline-item:hover .dashed-line {
    background: linear-gradient(to bottom, #7B1FA2, #DD1A18B3);
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.4);
}

.timeline-item.active .dashed-line {
    background: linear-gradient(to bottom, #7B1FA2, #DD1A18B3);
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.4);
}

.timeline-item:hover .dashed-line::before,
.timeline-item:hover .dashed-line::after {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
}

.timeline-item.active .dashed-line::before,
.timeline-item.active .dashed-line::after {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
}

.timeline-item:hover .label,
.timeline-item.active .label {
    color: #7B1FA2;
    font-weight: bold;
}

/* Breadcrumb styles */
.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.breadcrumb {
    padding: 10px 0px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    flex: 1;
}

.scroll-to-top-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-left: 15px;
    border: 1px solid transparent;
    border-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    border-image-slice: 1;
    padding: 15px 25px;
    border-radius: 5px;
    height: fit-content;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.scroll-to-top-btn img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    display: block;
}


.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item:not(:last-child)::after {
    content: " > ";
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: bold;
}

.breadcrumb-item:not(.active) {
    cursor: pointer;
}

.breadcrumb-item:not(.active):hover {
    color: #000;
}


.subnav-wrapper {
    padding-right: 20px;
    border-right: 2px solid rgb(171, 169, 169);
    width: 18%;
}

.subnav {
    margin: 0 auto 0 0;
    display: flex;
    flex-direction: column;
}

.subnav-btn {
    margin-bottom: 10px;
    padding: 12px 16px;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
    font-weight: 500;
    background: transparent;
}

.subnav-btn.active,
.subnav-btn:hover {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    color: #fff;
    font-weight: bold;
}

.subnav-btn.active {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.subnav-btn:hover {
    background: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

/* Table container should take the remaining space */
.table-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 82%;
    padding-left: 20px;
}

.table-container td,
.table-container th {
    background: #F1ECFF;
    border: 3px solid #fff;
    border-radius: 12px
}

.table-container th {
    color: #fff;
    font-weight: normal;
    background: #8620bf;
}

#tableContainer {
    flex: 1;
}

table {
    font-size: 12px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {



    /* Container adjustments */
    .container-width {
        max-width: 100%;
        border-radius: 8px;
    }



    .graphic-box {
        width: auto;
        padding: 15px;
        font-size: 0.8rem;
    }

    .right-panel .top-label,
    .right-panel .bottom-label {
        font-size: 16px;
        padding: 15px 0;
    }

    /* Timeline responsive */
    .child-timeline-inner {
        padding: 30px 10px 20px 10px;
        margin: 10px 0;
        gap: 5px;
    }

    .timeline-item {
        max-width: 32%;
        flex: 32%;
        width: 32%;
        min-height: 200px;
        justify-content: flex-start;
        margin: 0;
    }

    .diamond img {
        width: 25px;
        height: 25px;
    }

    .timeline-title .label {
        font-size: 14px;
        margin: 5px 0;
        width: 100%;
    }

    .timeline-title.top-label {
        display: none;
    }

    .timeline-title.bottom-label,
    .timeline-item:nth-child(odd) .timeline-title.bottom-label {
        opacity: 1;
    }

    .dashed-line {
        height: 40px;
    }

    /* Content wrapper responsive */
    .content-wrapper {
        flex-direction: column;
        padding: 15px;
        margin-top: 20px;
    }

    .content-wrapper-inner {
        padding: 15px;
        border-radius: 8px;
        flex-direction: column;
        width: auto;
    }

    .subnav-wrapper {
        width: 100%;
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid rgb(171, 169, 169);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .subnav-wrapper h3 {
        font-size: 18px;
        margin-bottom: 10px;
        text-align: center;
        margin-top: 0;
    }

    .subnav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .subnav-btn {
        flex: 1;
        min-width: 120px;
        margin-bottom: 0;
        padding: 10px 8px;
        font-size: 12px;
        text-align: center;
    }

    .subnav .subnav-btn {
        width: 50%;
        max-width: 50%;
        min-width: fit-content;
    }
    .table-container {
        width: 100%;
        padding-left: 0;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: scroll;
    }

    /* Table responsive */

    table {
        font-size: 10px;
    }

    .table-container td,
    .table-container th {
        padding: 6px 8px;
        border-radius: 6px;
    }

    /* Breadcrumb responsive */
    .breadcrumb-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .breadcrumb {
        font-size: 14px;
        padding: 8px 0;
        width: 100%;
    }

    .scroll-to-top-btn {
        font-size: 12px;
        margin-left: 0;
        padding: 6px 15px;
    }

    /* Detail section responsive */
    .detail-section {
        padding: 15px;
    }

    /* Hide some elements on mobile for cleaner look */
    .right-panel .top-label,
    .right-panel .bottom-label {
        background: none;
    }
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Top graphic section */
.top-section {
    width: 100%;
    background-size: cover;
    background-position: right center;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #833ca3;
}

.top-overlay {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    justify-content: space-between;
}



.left-text {
    width: 35%;
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.left-text-inner.align-center{
    text-align: center;
}

.left-text h1 {
    font-size: 40px;
    line-height: 1.3;
    margin: 0;
    color: #290032;
    font-weight: 500;
    text-align: center;
}

.left-text .logo-image {
    width: 100%;
    object-fit: contain;
    max-width: 300px;
    margin-bottom: 15px;
}

.left-text .graphic-box {
    width: fit-content;
    padding-left: 30px;
    padding-right: 30px;
    text-decoration: none;
    color: #fff !important;
}

.right-panel {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.right-panel .top-label,
.right-panel .bottom-label {
    padding: 30px 0;
    text-align: center;
    color: #022366;
    width: 100%;
    height: 50px;
    font-size: 25px;
}

@media (min-width: 768px) {
.top-label, .bottom-label {
   min-height: 90px;
   display: flex;
   justify-content: center;
   align-items: center;
}
}

.top-label a, .bottom-label a, .side-label a {
   cursor: pointer;
   text-decoration: none;
}

.top-label a:hover, .bottom-label a:hover, .side-label a:hover {
font-weight: bold;
}

.right-panel .bottom-label {
    background: url('../images/Polygon-3-1.png') no-repeat top center;
}

.right-panel .top-label {
    background: url('../images/Polygon-3.png') no-repeat bottom center;
}

.middle-panel {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.side-label {
    color: #022366;
    margin: 0 10px;
    height: 100%;
    background: url('../images/Polygon-8.png') no-repeat center right;
    background-size: contain;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 18%;
    font-size: 22px;
    text-align: center;
    
}

.side-label.left-label a{
    padding-right: 20px;
}
.side-label.right-label a{
    padding-left: 20px;
}
.side-label.right-label {
    background: url('../images/Polygon-7-Stroke.png') no-repeat center left;
    background-size: contain;
    margin-top: 10px;
}

.grid-buttons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    padding: 50px 20px;
    flex: 1;
    flex-wrap: wrap;
    gap: 20px;
    width: 60%;
}

@media (min-width: 768px) {
   .button-container .graphic-box-btn{width: 50%; display: flex;justify-content: center;align-items: center;}
}
.button-container{display: flex;gap:20px}

.graphic-box, .graphic-box-btn {
    background-color: #673682;
    color: #fff !important;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    background-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%)
}

.graphic-box:hover, .graphic-box-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.9);
}

.graphic-box-btn {
    text-decoration: none;
    padding: 20px 25px;
}

.graphic-box:hover, .graphic-box-btn:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

.graphic-box.active, .graphic-box-btn.active {
    box-shadow: 0 0 0 4px #007bff;
}

/* Responsive adjustments for top section */
@media (max-width: 768px) {
    .timeline-title .label {
        height: auto;
    }

    .top-overlay {
        display: block;
        margin: 0;
        width: auto;
        padding: 20px 10px
    }

    .left-text,
    .right-panel {
        width: 100%;
        padding: 0;
    }

    .grid-buttons {
        display: block;
        width: auto;
        padding: 0px 12px;
    }

    .graphic-box {
        margin-bottom: 10px;
    }

    .right-panel{margin-top: 50px;}
    .right-panel .top-label, .right-panel .bottom-label, .side-label{background-size: 100% 100%; font-size: 12px;}
    .right-panel .top-label, .right-panel .bottom-label{padding: 0 40px; height: 26px; }
    .right-panel .top-label{padding-bottom: 10px;}
    .right-panel .bottom-label{padding-top: 10px;}
    .side-label, .side-label.right-label{ min-height: 250px; height: fit-content; background-size: 100% 100%; width: 27%;}
    .side-label.left-label{ margin: 0; }
    .side-label.right-label{ padding-left: 10px; margin: 0;}
    .side-label.right-label a{padding-left: 0;}


    .side-label.left-label a{
        padding-right: 10px;
    }
    .side-label.right-label {
        margin-top: 0;
    }

    .button-container{flex-direction: column;}
    .graphic-box, .graphic-box-btn {
    font-size: 12px;
    padding: 16px 10px;
    }

}

/* Process flow ID link styles */
.process-flow-id-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #007bff;
}

.process-flow-id-link:hover {
    color: #0056b3;
    border-bottom: 1px solid #0056b3;
    text-decoration: none;
}

.process-flow-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #007bff;
    padding: 2px 4px;
    border-radius: 3px;
}

.process-flow-link:hover {
    color: #0056b3;
    text-decoration: underline;
    background-color: rgba(0, 123, 255, 0.1);
    border-bottom: 1px solid #0056b3;
}

/* Lightbox custom styling */
.lb-data .lb-caption {
    display: none !important;
}

.lb-data .lb-number {
    display: none !important;
}

.lb-data {
    display: none !important;
}

/* Card Elements Section */
.card-elements-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.card-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.card-item.active {
    border-color: #7B1FA2;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.3);
}

.card-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7B1FA2;
    text-align: center;
    background-color: #673682;
    color: #fff;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-image: linear-gradient(92deg, #7B1FA2 25%, #DD1A18B3 100%);
	pointer-events: none;
	touch-action:none;
	
		
}

.card-heading:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.5);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.card-text p {
    margin-bottom: 10px;
}

/* Responsive card grid */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-elements-section {
        padding: 20px 10px;
    }
}

.subnav-title {
    font-size: 18px;
    border-bottom: 1px solid #a0a0a0;
    margin-bottom: 15px;
    margin-top: 0;
    padding-bottom: 15px;
    font-weight: bold;
}

.blurred td{
    filter: blur(6px);
    opacity: 0.6;
    pointer-events: none;
}

.blurred td:nth-child(1){
    filter: none;
    opacity: 1;
}


/* Enhanced table styling for better gradient effect */

/* Custom Image Popup Styles */
#custom-image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.3s ease;
    background: white;
    padding: 10px;
}

.popup-close:hover {
    color: #ff0000;
}

.popup-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* Disable body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}

.elementor-slideshow__header{width: 95% !important;}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-container {
        max-width: 95%;
        max-height: 95%;
    }
    
    .popup-content {
        padding: 15px;
    }
    
    .popup-close {
        top: 5px;
        right: 10px;
        font-size: 25px;
    }
    
    .popup-image {
        max-height: 70vh;
    }

    .left-text h1{
        font-size: 28px;
        line-height: 1.7;
    }

    .work-streams-title-wrapper{
        flex-direction: column;
        align-items: flex-start;
    }
    .scroll-to-top-btn{width: fit-content;}
}