/* style/terms-conditions.css */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-terms-conditions .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #007BFF; /* Primary color background */
    color: #ffffff;
    overflow: hidden;
}

.page-terms-conditions .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-terms-conditions .hero-image-content {
    width: 100%;
    max-height: 400px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-terms-conditions .hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-terms-conditions .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFC107; /* Secondary color for CTA */
    color: #333333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions .small-button {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 20px;
}

.page-terms-conditions .content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-terms-conditions .terms-article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions .section-title {
    font-size: 2.2em;
    color: #007BFF; /* Primary color for headings */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 3px solid #FFC107;
    padding-bottom: 10px;
}

.page-terms-conditions h3 {
    font-size: 1.5em;
    color: #0056b3; /* Darker shade of primary for sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444444;
}

.page-terms-conditions .terms-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444444;
}

.page-terms-conditions .terms-list li {
    margin-bottom: 10px;
}

.page-terms-conditions .terms-list strong {
    color: #0056b3;
}

.page-terms-conditions a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-terms-conditions .content-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styling */
.page-terms-conditions .faq-container {
    margin-top: 40px;
}

.page-terms-conditions .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

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

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

.page-terms-conditions .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333333;
}

.page-terms-conditions .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
    transition: transform 0.3s ease;
}

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

.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;
    background-color: #f9f9f9;
    color: #555555;
}

.page-terms-conditions .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to show content */
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.page-terms-conditions .faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-terms-conditions .hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions .hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions .section-title {
        font-size: 2em;
    }
    .page-terms-conditions h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions .hero-section {
        padding: 40px 15px;
    }
    .page-terms-conditions .hero-image-content {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-terms-conditions .hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-terms-conditions .hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .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 .terms-article {
        padding: 20px;
    }
    .page-terms-conditions .section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-terms-conditions h3 {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    .page-terms-conditions p {
        font-size: 0.95em;
    }
    .page-terms-conditions .terms-list {
        margin-left: 20px;
    }
    .page-terms-conditions .faq-question {
        padding: 15px 20px;
    }
    .page-terms-conditions .faq-question h3 {
        font-size: 1.1em;
    }
    .page-terms-conditions .faq-toggle {
        font-size: 1.5em;
    }
    .page-terms-conditions .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions .hero-image-content {
        max-height: 200px;
    }
    .page-terms-conditions .hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions .hero-description {
        font-size: 0.9em;
    }
    .page-terms-conditions .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-terms-conditions .section-title {
        font-size: 1.6em;
    }
    .page-terms-conditions h3 {
        font-size: 1.2em;
    }
    .page-terms-conditions .faq-question h3 {
        font-size: 1em;
    }
}