:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-terms-conditions {
    background-color: var(--background-color-page);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-terms-conditions h1,
.page-terms-conditions h2,
.page-terms-conditions h3 {
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-terms-conditions h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-terms-conditions h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    text-align: left;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green);
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

.page-terms-conditions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-terms-conditions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.page-terms-conditions__hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__content-section {
    padding: 50px 0;
    background-color: var(--background-color-page);
}

.page-terms-conditions__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__section-title {
    color: var(--gold-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-terms-conditions__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__card-title {
    color: var(--primary-color);
    margin-top: 0;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.page-terms-conditions__text-block {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}