/* style/terms-conditions.css */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #F0F2F5;
    --text-dark: #333333;
    --bg-dark: #1A2E47;
    --bg-light: #FFFFFF;
    --border-color: #3A4F6A;
}

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

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

.page-terms-conditions__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--text-light);
}

.page-terms-conditions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-terms-conditions__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.page-terms-conditions__subsection-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-light);
}

.page-terms-conditions__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__text-block a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-terms-conditions__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

/* FAQ styles */
.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: var(--text-light);
}

.faq-question:hover {
    background: #2A3F5B;
    border-color: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--text-light);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #1A2E47;
    color: var(--text-light);
    border-radius: 0 0 8px 8px;
}

.faq-answer p {
    padding-bottom: 15px;
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-terms-conditions__cta-banner {
    background: linear-gradient(45deg, var(--secondary-color) 0%, #e6c200 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--primary-color);
}

.page-terms-conditions__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-text {
    font-size: 1.2em;
    max-width: 700px;
    margin-bottom: 30px;
    color: var(--primary-color);
    opacity: 0.9;
}

.page-terms-conditions__cta-button--secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.4);
}

.page-terms-conditions__cta-button--secondary:hover {
    background-color: #050E1A;
    color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.6);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-terms-conditions__hero-title {
        font-size: 3em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__subsection-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 0 40px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__hero-description,
    .page-terms-conditions__cta-text {
        font-size: 1em;
    }
    .page-terms-conditions__content-section {
        padding: 40px 0;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-terms-conditions__subsection-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer p {
        font-size: 0.95em;
    }
    .page-terms-conditions__cta-banner {
        padding: 40px 15px;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.6em;
    }
    .page-terms-conditions__subsection-title {
        font-size: 1.2em;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.6em;
    }
    .faq-question h3 {
        font-size: 0.95em;
    }
    .faq-toggle {
        font-size: 18px;
    }
    .page-terms-conditions__content-image {
        border-radius: 4px;
    }
}