.page-terms-conditions {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    background-color: #4B0082; /* Royal Purple background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
}

.page-terms-conditions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #4B0082; /* Purple text on gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-terms-conditions__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #4B0082; /* Royal Purple */
    margin-bottom: 40px;
    text-align: center;
}

.page-terms-conditions__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-terms-conditions__accordion {
    margin-top: 40px;
}

.page-terms-conditions__accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-terms-conditions__accordion-header {
    background-color: #f9f9f9;
    padding: 20px;
    cursor: pointer;
    font-size: 1.4em;
    color: #4B0082; /* Royal Purple */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-terms-conditions__accordion-header:hover {
    background-color: #f0f0f0;
}

.page-terms-conditions__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-terms-conditions__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-terms-conditions__accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-terms-conditions__accordion-content.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px;
}

.page-terms-conditions__accordion-content p {
    margin-bottom: 15px;
}

.page-terms-conditions__inline-link {
    color: #4B0082; /* Royal Purple link */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__inline-link:hover {
    color: #FFD700; /* Gold on hover */
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-terms-conditions__cta-section {
    background-color: #4B0082; /* Royal Purple */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 60px;
}

.page-terms-conditions__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.page-terms-conditions__cta-button--primary {
    background-color: #FFD700; /* Gold */
    color: #4B0082; /* Purple text */
}

.page-terms-conditions__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-terms-conditions__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border-color: #FFD700; /* Gold border */
}

.page-terms-conditions__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #4B0082; /* Purple text on hover */
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 3em;
    }

    .page-terms-conditions__section-title {
        font-size: 2em;
    }

    .page-terms-conditions__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: var(--header-offset, 100px);
        padding-bottom: 40px;
    }

    .page-terms-conditions__hero-title {
        font-size: 2.5em;
    }

    .page-terms-conditions__hero-description {
        font-size: 1em;
    }

    .page-terms-conditions__content-area {
        padding: 40px 15px;
    }

    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }

    .page-terms-conditions__accordion-header {
        font-size: 1.2em;
        padding: 15px;
    }

    .page-terms-conditions__accordion-content.active {
        padding: 15px;
    }

    .page-terms-conditions__cta-title {
        font-size: 1.8em;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-terms-conditions__cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Enforce image responsiveness for content area */
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

    .page-terms-conditions__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }

    .page-terms-conditions__cta-title {
        font-size: 1.5em;
    }
}