body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a202c;
}

.flip-card-container {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.flip-card-container:hover .flip-card,
.flip-card-container.is-flipped .flip-card {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
}

.flip-card-front {
    background-color: #fff;
    color: #1a202c;
    border: 1px solid rgba(0, 68, 170, 0.2);
    z-index: 2;
}

.flip-card-back {
    background-color: #003388;
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flip-card-back h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.flip-card-back p {
    font-size: 1.125rem;
    line-height: 1.6;
}

.compliance-table {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    border-collapse: collapse;
    overflow: hidden;
    min-width: 768px; /* Added for horizontal scrolling on mobile */
}

.compliance-table-header, .compliance-table-row {
    display: contents;
}

.compliance-table-cell {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.compliance-table-cell.header {
    background-color: #f8fafc;
    font-weight: 600;
    text-align: center;
}

.collapsible-header.open {
    background-color: #0044AA;
    color: white;
}

.collapsible-header.open h3 {
    color: white;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.collapsible-content {
    padding: 0 1rem;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 0;
}

.collapsible-content.expanded {
    max-height: 2000px; /* Increased to accommodate table */
    padding: 1rem;
}

.chevron {
    transition: transform 0.3s ease-in-out;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.collapsible-header.open .chevron {
    color: white;
}

ul.list-arrow {
    list-style-type: none;
    padding-left: 0;
}

ul.list-arrow li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 1rem;
}

ul.list-arrow li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.bottom-text {
    font-size: 0.75rem;
    color: #1a202c;
    margin-top: 0.5rem;
}


.collapsible-content ol{
    line-height: 1.6;
    list-style-type: decimal;
    list-style-position: outside;
    padding-left: 1.5em;
}

.collapsible-content li::marker {
    color: #EA4C88;
    font-weight: 600;
}

/* Webform */
/* Custom CSS for the slider switch */
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
}

input:checked + .slider {
background-color: #0044AA;
}

input:focus + .slider {
box-shadow: 0 0 1px #0044AA;
}

input:checked + .slider:before {
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}    

#hamburger-btn:hover, button {
    cursor: pointer;
}

.crameresults p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Styles for legal page */

.content-section {
    background-color: #f7fafc;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2rem;
}


.content-section h2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0044AA;
}

.content-section p, .content-section ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}