/* style/terms-conditions.css */
:root {
    --primary-color: #1A202C; /* Dark background for professional look */
    --secondary-color: #FFD700; /* Gold/Amber for accents and highlights */
    --text-light: #F0F0F0; /* Light text on dark backgrounds */
    --text-dark: #333333; /* Dark text on light backgrounds */
    --bg-light: #FFFFFF; /* Light background for content sections */
    --bg-dark: #2D3748; /* Slightly lighter dark background for contrast */
    --border-color: #E0E0E0;
    --button-hover-bg: #E6C200; /* Slightly darker gold on hover */
}

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

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

.page-terms-conditions .terms-hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.page-terms-conditions .terms-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-terms-conditions .terms-hero p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-terms-conditions .cta-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-terms-conditions .terms-section:last-of-type {
    border-bottom: none;
}

.page-terms-conditions .terms-section h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-terms-conditions .terms-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-terms-conditions .terms-section h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

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

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

.page-terms-conditions .terms-section li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-terms-conditions .terms-section a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

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

.page-terms-conditions .section-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.1);
    object-fit: cover;
}

.page-terms-conditions .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section Specific Styles */
.page-terms-conditions .faq-section {
    background-color: #F9F9F9;
    padding: 80px 0;
}

.page-terms-conditions .faq-section h2 {
    color: var(--primary-color);
}

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

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

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

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

.page-terms-conditions .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
    border-left: none;
    padding-left: 0;
}

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

.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-answer p {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-terms-conditions .terms-hero h1 {
        font-size: 2.8em;
    }
    .page-terms-conditions .terms-hero p {
        font-size: 1em;
    }
    .page-terms-conditions .terms-section h2 {
        font-size: 2em;
    }
    .page-terms-conditions .terms-section h3 {
        font-size: 1.4em;
    }
    .page-terms-conditions .faq-question h3 {
        font-size: 1.1em;
    }
    .page-terms-conditions .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions .terms-hero {
        padding: 60px 0;
    }
    .page-terms-conditions .terms-hero h1 {
        font-size: 2.2em;
    }
    .page-terms-conditions .terms-hero p {
        font-size: 0.95em;
    }
    .page-terms-conditions .terms-section {
        padding: 40px 0;
    }
    .page-terms-conditions .terms-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-terms-conditions .terms-section h3 {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-terms-conditions .terms-section p,
    .page-terms-conditions .terms-section li {
        font-size: 0.95em;
    }
    .page-terms-conditions .terms-section ul {
        margin-left: 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: 20px;
    }
    .page-terms-conditions .faq-answer {
        padding: 0 20px;
    }
    .page-terms-conditions .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions .terms-hero h1 {
        font-size: 1.8em;
    }
    .page-terms-conditions .terms-hero p {
        font-size: 0.9em;
    }
    .page-terms-conditions .terms-section h2 {
        font-size: 1.6em;
    }
    .page-terms-conditions .terms-section h3 {
        font-size: 1.1em;
    }
    .page-terms-conditions .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-terms-conditions .section-image {
        margin: 20px auto;
        border-radius: 5px;
    }
}