body,
html {
    min-height: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: baseline;
    padding: 0;
}

nav li {
    display: inline;
    padding: 0 20px;
}

main {
    display: flex;
    flex-direction: column;
}

section {
    margin: 0 16.667%;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 20px 0 20px;
}

h1,
h2,
h3,
h4,
p {
    font-family: Helvetica, Arial, sans-serif;
}

h1 {
    text-align: center;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    /* or any color you prefer */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    /* Change color as needed */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loaded-content {
    opacity: 0;
    /* Start with content invisible */
    transition: opacity 0.5s ease-in-out;
}

#loaded-content.loaded {
    opacity: 1;
}

/* Hide SVG definitions */
.svg-wrap {
    position: absolute;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

#nav-logo {
    position: relative;
    top: 8px;
}

#featured-image img {
    object-fit: contain;
    width: 100vw;
}

#navigation-list {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    align-items: center;
}

#navigation-list a {
    text-decoration: none;
    color: black;
    position: relative;
    display: inline-block;
}

/* Remove the original hover effect */
#navigation-list a:hover {
    border-bottom: none;
    margin-bottom: 0;
}

/* SVG underline effect */
.link-svgline a svg.link-svgline {
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 20px;
    transition: stroke-dashoffset 0.3s ease-in-out;
    transform: translateY(-50%);
    fill: none;
    stroke: #FF7D5E;
    /* Black underline to match your original color */
    stroke-width: 2;
    /* Slightly thinner line */
    stroke-dasharray: 400px;
    stroke-dashoffset: 400px;
}

.link-svgline a:hover svg.link-svgline {
    stroke-dashoffset: 0px;
}

.link-svgline a.active svg.link-svgline {
    stroke-dashoffset: 0px;
    stroke: #FF7D5E;
}

/* Disable SVG underline for the logo */
#navigation-list a:nth-child(3) svg.link-svgline {
    transform: translateY(-70%);
}


#main-content {
    display: flex;
    flex-direction: column;
}

.heading-group h2 {
    text-align: center;
    margin-top: 15px;
}

.heading-group h1 {
    margin-bottom: 0;
}


.page-navigation-section-group {
    display: flex;
    box-sizing: border-box;
    transition: outline-color 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    outline: 4px solid transparent;
}

.page-navigation-section-group:hover {
    outline-color: rgba(255, 125, 94, 1);
    z-index: 2;
}

.page-navigation-section-image-content {
    flex: 1 1 0px;
    box-sizing: border-box;
    width: 50%;
}

#page-navigation-section a {
    text-decoration: none;
    color: black;
}


.page-navigation-section-text-content h2 {
    text-align: center;
}

.page-navigation-section-text-content p {
    padding: 2% 15% 0 15%;
}

.page-navigation-section-text-content {
    flex: 1 1 0px;
    box-sizing: border-box;
    width: 50%;
}

.page-navigation-section-image-content img {
    width: 100%;
    height: 100%;
}

#three-featured-sections {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

#three-featured-sections a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    text-decoration: none;
}

.featured-section-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-section {
    display: flex;
    flex-direction: column;
    transition: outline-color 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    outline: 6px solid transparent;
    align-items: center;
    width: 30%;
    padding: 10px 20px;
}

.featured-section:hover {
    outline-color: rgba(255, 125, 94, 1);
    z-index: 2;
}

.featured-section p {
    text-align: justify;
    font-size: 1.1rem;
    padding: 0 8%;
}

.featured-section h2 {
    text-align: center;
}

.featured-section li {
    font-size: 1.1rem;
}

.featured-section img {
    width: 100%;
}

#footer-image-logo {
    display: flex;
    justify-content: center;
}

#footer-social {
    margin-left: auto;
    display: flex;
    gap: 15px;
    z-index: 1;
}


#footer-image-logo img {
    box-sizing: border-box;
}


.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-container {
    width: 100%;
    max-width: 80%;
    margin: auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Adjust based on your content needs */
    padding: 15px 20px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* To customize the accordion appearance to match your site's design */
.accordion-header {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.accordion-item.active .accordion-header {
    border-bottom-color: #e0e0e0;
}
