/* Global Styles */
* {
    font-family: 'Nunito';
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background-color: #003366;
    color: #fff;
    border-radius: 12px;
}

h1 {
    font-size: 48px;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

h2 {
    font-size: 32px;
    margin: 0 0 20px 0;
    color: #003366;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #003366;
    line-height: 1;
}

h4 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: lightsteelblue;
    line-height: 1;
}

p {
    color: darkslategray;
    margin-bottom: 15px;
}

.emphasise {
    font-size: 24px;
}

.subheading {
    color: white;
    font-size: 18px;
    margin: 0px;
}

strong {
    font-weight: 800;
}

.age {
    color: #db3b28;
}

.size {
    color: #439350;
}

/* Section Styles */
section {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
    padding: 30px;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.text-content {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.center-heading {
    text-align: center;
}

.australia-focus {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Chart Styles */
.chart {
    background-color: #fff;
    border-radius: 8px;
    max-width: 800px; /* Optional: Set a maximum width to prevent it from stretching too much */
    margin: 0 auto; /* Center the chart */
}

/* Center Chart Styles */
.center-chart {
    text-align: center;
    margin: 0 auto; /* Center the chart */
    display: block; /* Ensure it's a block element */
}

/* Tab Styles */
.tab-container {
    width: 100%;
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #003366;
}

.tab-button {
    background-color: #f8f9fa;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    transition: background-color 0.3s;
    border-radius: 8px 8px 0px 0px;
}

.tab-button:hover {
    background-color: #e9ecef;
}

.tab-button.active {
    background-color: #003366;
    color: #fff;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: #003366;
    border-radius: 12px;
    font-size: 16px;
}

footer p {
    color: rgb(208, 208, 208);

}

footer a {
    color: lightblue
}
a {
    color: #003366;
  }

/* Responsive Design */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    
    .text-content, .chart {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .chart {
        min-width: unset;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
}

.available-interactions {
    background-color: #f2f8ff; /* Light background for contrast */
    border-radius: 12px; /* Rounded corners */
    padding: 8px; /* Spacing inside the section */
    margin: 8px 0; /* Spacing outside the section */
}

.available-interactions h4 {
    color: #003366; /* Consistent heading color */
    margin-bottom: 15px; /* Space below the heading */
}

.available-interactions ul {
    list-style-type: "▸ ";
    padding: 0px 16px; /* Remove default padding */
}

.available-interactions li {
    margin-bottom: 10px; /* Space between items */
    color: darkslategray; /* Text color for readability */
}

.available-interactions strong {
    color: #003366; /* Strong emphasis on interaction types */
}

.collapsible-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f8f9fa; /* Light background for contrast */
    border-radius: 8px; /* Smaller rounded corners */
    margin: 20px 0; /* Spacing outside the section */
    padding: 10px; /* Smaller padding */
}

.collapsible-header {
    background-color: #003366; /* Header background color */
    color: #ffffff; /* Header text color */
    cursor: pointer; /* Pointer cursor for clickable headers */
    padding: 10px; /* Reduced padding */
    margin: 0; /* Remove default margin */
    border-radius: 6px; /* Smaller rounded corners for header */
    transition: background-color 0.3s; /* Smooth background transition */
    font-size: 18px; /* Smaller font size */
}

.collapsible-content {
    display: none; /* Hide content by default */
    padding: 10px; /* Reduced padding inside content area */
    background-color: #ffffff; /* White background for content area */
    border: 1px solid #003366; /* Border for content area */
    border-radius: 6px; /* Smaller rounded corners for content area */
}

.collapsible-content p {
    margin: 5px 0; /* Less space between paragraphs */
    font-size: 14px; /* Smaller font size for paragraphs */
}
