/* style/terms-conditions.css */

:root {
    --primary-color: #1A202C; /* Dark Slate Gray */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #F8F8F8; /* Off-white for dark backgrounds */
    --text-dark: #333333; /* Dark gray for light backgrounds */
    --background-light: #FFFFFF; /* White */
    --background-dark: #2D3748; /* Darker Gray */
    --border-color: #E0E0E0; /* Light gray border */
    --hover-color: #E6B800; /* Slightly darker gold on hover */
}

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

.page-terms-conditions-hero {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.9), rgba(255, 215, 0, 0.1));
    z-index: 1;
}

.page-terms-conditions-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-terms-conditions-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.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(255, 215, 0, 0.4);
}

.page-terms-conditions-cta-button:hover {
    background: var(--hover-color);
    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(--background-light);
}

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

.page-terms-conditions-text-block {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions-text-block h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions-text-block h3 {
    font-size: 1.8em;
    color: var(--background-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions-text-block p {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.05em;
}

.page-terms-conditions-text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-terms-conditions-text-block ul li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-terms-conditions-text-block a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions-text-block a:hover {
    color: var(--secondary-color);
}

/* FAQ Styles */
.page-terms-conditions .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
}

.page-terms-conditions .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-terms-conditions .faq-question:hover {
    background: #f5f5f5;
}

.page-terms-conditions .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--primary-color);
    flex-grow: 1;
}

.page-terms-conditions .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-terms-conditions .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.page-terms-conditions .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px 25px;
    background: #f9f9f9;
}

.page-terms-conditions .faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-terms-conditions-hero h1 {
        font-size: 2.8em;
    }

    .page-terms-conditions-hero p {
        font-size: 1.1em;
    }

    .page-terms-conditions-text-block h2 {
        font-size: 2em;
    }

    .page-terms-conditions-text-block h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions-hero {
        padding: 60px 15px;
    }

    .page-terms-conditions-hero h1 {
        font-size: 2.2em;
    }

    .page-terms-conditions-hero p {
        font-size: 1em;
    }

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

    .page-terms-conditions-content-section {
        padding: 40px 0;
    }

    .page-terms-conditions-container {
        padding: 0 15px;
    }

    .page-terms-conditions-text-block {
        padding: 20px;
    }

    .page-terms-conditions-text-block h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-terms-conditions-text-block h3 {
        font-size: 1.4em;
        margin-top: 25px;
    }

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

    .page-terms-conditions .faq-question h3 {
        font-size: 1em;
    }

    .page-terms-conditions .faq-toggle {
        font-size: 1.5em;
    }

    .page-terms-conditions .faq-item.active .faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions-hero h1 {
        font-size: 1.8em;
    }
    .page-terms-conditions-hero p {
        font-size: 0.9em;
    }
    .page-terms-conditions-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-terms-conditions-text-block h2 {
        font-size: 1.5em;
    }
    .page-terms-conditions-text-block h3 {
        font-size: 1.2em;
    }
    .page-terms-conditions-text-block p, .page-terms-conditions-text-block ul li {
        font-size: 0.95em;
    }
}