/* style/terms-conditions.css */
:root {
    --primary-color: #4A148C; /* Deep Purple */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

.page-terms-conditions__hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6A1B9A 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

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

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

.page-terms-conditions__hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-terms-conditions__cta-button:hover {
    background: #FFEB3B; /* Slightly lighter gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__content-area {
    padding: 60px 20px;
    background-color: #ffffff;
}

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

.page-terms-conditions__article h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.page-terms-conditions__article h3 {
    font-size: 1.6em;
    color: #6A1B9A;
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-terms-conditions__article p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-terms-conditions__article ul {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-terms-conditions__article ol {
    list-style-type: decimal;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-terms-conditions__article li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-terms-conditions__article a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions__article a:hover {
    text-decoration: underline;
    color: #6A1B9A;
}

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

/* FAQ Section */
.page-terms-conditions__faq-section {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__faq-section h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
    text-align: left;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.faq-answer p {
    margin: 0;
    padding-bottom: 15px;
    font-size: 1.05em;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__hero-content h1 {
        font-size: 2.5em;
    }

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

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

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

    .page-terms-conditions__article h2 {
        font-size: 1.8em;
        margin-top: 40px;
    }

    .page-terms-conditions__article h3 {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-terms-conditions__article p,
    .page-terms-conditions__article li {
        font-size: 0.95em;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 12px 20px;
    }

    .page-terms-conditions__image {
        margin: 30px auto;
        border-radius: 8px;
    }

    .page-terms-conditions__faq-section {
        padding: 20px;
    }

    .page-terms-conditions__faq-section h3 {
        font-size: 1.8em;
    }
}

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

    .page-terms-conditions__hero-content p {
        font-size: 0.9em;
    }

    .page-terms-conditions__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-terms-conditions__article h2 {
        font-size: 1.6em;
    }

    .page-terms-conditions__article h3 {
        font-size: 1.2em;
    }
}