/* style/terms-conditions.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #e0e0e0;
}

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

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

.page-terms-conditions__hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: var(--text-color-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.3;
    transform: rotate(20deg);
    z-index: 0;
}

.page-terms-conditions__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--text-color-light);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__subtitle a {
    color: #ffd700; /* Gold-like color for emphasis */
    text-decoration: underline;
    font-weight: bold;
}

.page-terms-conditions__subtitle a:hover {
    color: #ffeb3b;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-terms-conditions__cta-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button--small {
    padding: 10px 25px;
    font-size: 0.9em;
    border-radius: 30px;
    margin-top: 20px;
    background-color: var(--primary-color);
}

.page-terms-conditions__cta-button--small:hover {
    background-color: #0056b3;
}

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

.page-terms-conditions__article {
    background-color: var(--text-color-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-terms-conditions__article ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-terms-conditions__article ul li {
    margin-bottom: 8px;
}

.page-terms-conditions__article a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-terms-conditions__article a:hover {
    color: var(--secondary-color);
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
}

.page-terms-conditions__image--large {
    max-height: 450px;
}

.page-terms-conditions__image--medium {
    max-height: 350px;
}

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

.page-terms-conditions__faq-section .page-terms-conditions__section-heading {
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f8ff;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-terms-conditions__title {
        font-size: 2.8em;
    }
    .page-terms-conditions__subtitle {
        font-size: 1.2em;
    }
    .page-terms-conditions__section-heading {
        font-size: 2em;
    }
    .page-terms-conditions__article h3 {
        font-size: 1.4em;
    }
    .page-terms-conditions__article, .page-terms-conditions__faq-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-banner {
        padding: 60px 15px;
    }
    .page-terms-conditions__title {
        font-size: 2.2em;
    }
    .page-terms-conditions__subtitle {
        font-size: 1em;
    }
    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-terms-conditions__content-section {
        padding: 30px 0;
    }
    .page-terms-conditions__article {
        padding: 20px;
    }
    .page-terms-conditions__section-heading {
        font-size: 1.8em;
    }
    .page-terms-conditions__article h3 {
        font-size: 1.2em;
    }
    .page-terms-conditions__article p, .page-terms-conditions__article ul li {
        font-size: 1em;
    }
    .faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-terms-conditions__image--large, .page-terms-conditions__image--medium {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__title {
        font-size: 1.8em;
    }
    .page-terms-conditions__subtitle {
        font-size: 0.9em;
    }
    .page-terms-conditions__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-terms-conditions__section-heading {
        font-size: 1.5em;
    }
    .page-terms-conditions__article h3 {
        font-size: 1.1em;
    }
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .faq-question h3 {
        margin-bottom: 5px;
    }
    .faq-toggle {
        align-self: flex-end;
        margin-top: -25px;
    }
    .page-terms-conditions__article, .page-terms-conditions__faq-section {
        padding: 15px;
    }
}