@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-roman.var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-italic.var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Imperial';
    src: url('fonts/imperial-urw.otf') format('opentype');
    font-weight: 400; 
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


body {
    font-family: 'Inter';
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

path {
    transition: all 0.3s ease;
    cursor: pointer;
    stroke: #fff;
    stroke-width: 2px;
}

path:hover {
    filter: brightness(1.3);
}

path.active {
    /*stroke: rgba(0, 0, 0, 0.3); */
    stroke-width: 4px;
    filter: brightness(1.2);
    z-index: 10;
}

.back-btn {
    margin-bottom: 20px;
    padding: 10px 20px; 
    background: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer; 
    font-weight: bold;
    transition: background 0.2s;
    margin-top: 30px;
}
            
 a {
    color: #489FA9;
}               
/*text {
    pointer-events: none;
    font-family: sans-serif;
}*/

/*---------
2L wheel
----------*/
.container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 40px;
    width: 100%;
    transition: all 0.5s ease;
}
.container.active-layout #wheel-container {
    width: 420px;
    height: 420px;
}

.container.active-layout #info-panel.visible {
    width: 550px;
    max-width: 550px;
    min-height: 300px; 
    height: auto;
}

.container.active-layout .center-text {
    font-size: 26px
}

.container.active-layout .wheel-text {
    font-size: 20px;
}

#wheel-container {
    width: 600px;
    height: 600px;
    max-width: 100%
    position: relative;
    /* filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.1));*/
    margin: 0 auto;
    transition: width 0.5s ease, height 0.5s ease;
}

#wheel text, #wheel tspan {
    font-family: inherit; 
    font-weight: 600;
    user-select: none;
    pointer-events: none; 
}

/* Main Sections */
.section-text {
    font-size: 16px;
    font-weight: 900;
    fill: #fff; 
    letter-spacing: 2px;
    dominant-baseline: middle; 
}

/* Subsections */
.wheel-text {
    font-size: 15px;
    font-weight: 600;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: middle;
  
}

.center-circle {
    fill: white;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.1));
}

.center-text {
    font-size: 18px;
    font-weight: 800;
    fill: #333;
    text-anchor: middle;
    dominant-baseline: middle;
}

/* Box container sytle */
#info-panel {
    width: 0;
    max-width: 0;
    padding: 0; 
    opacity: 0;
    margin-top: 0;
    min-height: 0;
    height: 0;
    overflow: hidden;
    border: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    /*transition: none !important;*/
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);*/
}
/*#info-panel {
    width: 360px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 10px solid #ddd;
    min-height: 300px;
    transition: border-color 0.3s ease; opacity 0.3s ease;
    
    opacity: 0; 
    pointer-events: none;
}*/
#info-panel.visible {
    width: 360px;
    max-width: 360px;
    padding: 40px;
    opacity: 1;
    min-height: 300px;
    height: auto;
    /*margin-top: 30px;*/
    border-top: 10px solid #ddd;
}


#info-panel.visible {
    opacity: 1;
    pointer-events: auto;
}

#info-title {
    margin-top: 0;
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

#info-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    text-align: left;
}


/*---------
3L wheel
----------*/
.container-3L {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 40px;
    width: 100%;
    transition: all 0.5s ease;
}

.container-3L.active-layout #wheel-container-3L {
    width: 470px;
    height: 470px;
}

.container-3L.active-layout #info-panel-3L.visible {
    width: 500px;
    max-width: 500px;
    min-height: 300px; 
    height: auto;
}

.container-3L.active-layout .center-text-3L {
    font-size: 26px
}

.container-3L.active-layout .wheel-text-3L {
    font-size: 16px;
}

#wheel-container-3L {
    width: 600px;
    height: 600px;
    max-width: 100%
    position: relative;
    margin: 0 auto;
    transition: width 0.5s ease, height 0.5s ease;
}

#wheel-3L text, #wheel-3L tspan {
    font-family: inherit; 
    font-weight: 600;
    user-select: none;
    pointer-events: none; 
}

.section-text-3L {
    font-size: 15px; 
    font-weight: 900;
    fill: #fff;
    letter-spacing: 2px
    dominant-baseline: middle;
}

.wheel-text-3L { 
    font-size: 14px;
    font-weight: 600;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: middle;
}

.level3-text-3L {
    font-size: 14px;
    font-weight: 500;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}


#info-panel-3L {
    width: 0;
    max-width: 0;
    padding: 0; 
    opacity: 0;
    margin-top: 0;
    min-height: 0;
    height: 0;
    overflow: hidden;
    border: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    /*transition: none !important;*/
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);*/
}


#info-panel-3L.visible {
    width: 360px;
    max-width: 360px;
    padding: 40px;
    opacity: 1;
    min-height: 300px;
    height: auto;
    /*margin-top: 30px;*/
    border-top: 10px solid #ddd;
}



#info-panel-3L.visible {
    opacity: 1;
    pointer-events: auto;
}



/*---------
Content text
----------*/
.content-section {
    max-width: 1100px;
    margin-bottom: 10px;
    text-align: center;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    color: #491E5D;
    margin-bottom: 10px;
    margin-top: 0;
    
    /* Collapsible parameters */
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.main-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #489FA9;
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: justify;
}

.main-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    column-count: 2;
    column-gap: 50px;
}

.main-text p {
    margin-top: 0;
    margin-bottom: 15px;
}
.main-text ul {
    margin: 15px 0 15px 15px;
    padding-left: 20px;
    list-style-type: disc;
}
.main-text li {
    margin-bottom: 5px;
    padding-left: 5px;
}

.main-text-1col {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    column-count: 1;
    /*column-gap: 50px;*/
}

.main-text-1col p {
    margin-top: 0;
    margin-bottom: 15px;
}
.main-text-1col ul {
    margin: 15px 0 15px 15px;
    padding-left: 20px;
    list-style-type: disc;
}

/*.main-text-1col ol {
    list-style-type: decimal;!important;
    padding-left: 20px;
}*/

.main-text-1col li {
    margin-bottom: 5px;
    padding-left: 5px;
}

.highlighted-text {
    color: #FF8F28;
    font-weight: 700;
}


.panel-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;

}

.panel-text p {
    margin-top: 0;
    margin-bottom: 15px;
}
.panel-text ul {
    margin: 15px 0 15px 15px;
    padding-left: 20px;
    list-style-type: disc;
}
.panel-text li {
    margin-bottom: 5px;
    padding-left: 5px;
}

.panel-label-red {
    font-size: 17px;
    line-height: 1.6;
    color: #D44F4E;
    text-align: justify;
    font-weight: 700;
}

.panel-label-green {
    font-size: 17px;
    line-height: 1.6;
    color: #5A9A70;
    text-align: justify;
    font-weight: 700;
}

.panel-label-orange {
    font-size: 17px;
    line-height: 1.6;
    color: #FF8F28; /*#FFCB00;*/
    text-align: justify;
    font-weight: 700;
}

.panel-label-purple {
    font-size: 17px;
    line-height: 1.6;
    color: #491E5D;
    text-align: justify;
    font-weight: 700;
}

.panel-label-blue {
    font-size: 17px;
    line-height: 1.6;
    color: #489FA9;
    text-align: justify;
    font-weight: 700;
}

.panel-label-darkblue {
    font-size: 17px;
    line-height: 1.6;
    color: #354159;
    text-align: justify;
    font-weight: 700;
}

.highlighted-panel {
    font-size: 17px;
    color: #FF8F28;
    font-weight: 700;
}
.highlighted-panel-red {
    font-size: 17px;
    color: #D44F4E;
    font-weight: 700;
}

/* Table */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: #fff;
    min-width: 600px;
}

.custom-table thead th {
    background-color: #491E5D;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
    text-align: left;
}

.custom-table tbody tr:last-of-type td {
    border-bottom: 2px solid #491E5D; 
}

/* Alternating row colors */
.custom-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.custom-table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.2s ease;
}


/* Cards */
.cards-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 50px auto;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
    flex-wrap: wrap;
}

/* Individual card */
.info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    flex: 1;
    min-width: 180px;
    transition: transform 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}


.card-header {
    color: white;
    padding: 15px;
    text-align: center;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 20px;
    text-align: left;
    font-family: inherit;
}


.card-body h4 {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 700;
}

.card-body p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}


.card-body ul {
    margin: 15px 0 15px 15px;
    padding-left: 20px;
    list-style-type: disc;
    font-size: 15px;
    color: #555;
}
.card-body li {
    margin-bottom: 5px;
    padding-left: 5px;
}

.highlighted-card {
    font-size: 15px;
    color: #FF8F28;
}


/* Collapsible content */
.accordion-toggle {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.accordion-toggle:hover {
    color: #a960cc;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.accordion-content.open {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.accordion-content.open .accordion-inner {
    opacity: 1;
}

.toggle-icon {
  display: inline-block;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

.accordion-toggle.collapsed-active .toggle-icon {
    transform: rotate(0deg);
}


/* Switch to 1 column on small screens */
@media (max-width: 768px) {
    .main-text {
        column-count: 1;
    }
}