/* style/terms-conditions.css */

/* Base Styles */
.page-terms-conditions {
    background-color: #000000; /* Body background is dark, so main content background is dark */
    color: #ffffff; /* Default text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 900px;
}

.page-terms-conditions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
}

.page-terms-conditions__hero-cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 2; /* Ensure button is above image */
}

.page-terms-conditions__hero-cta-button:hover {
    background-color: #1e87b7; /* Darker shade on hover */
    transform: translateY(-3px);
}

/* Content Area */
.page-terms-conditions__content-area {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-terms-conditions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-terms-conditions__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions a {
    color: #26A9E0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
    color: #1e87b7;
}

/* Contact Button */
.page-terms-conditions__contact-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.page-terms-conditions__contact-button:hover {
    background-color: #c76706;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
}

.page-terms-conditions__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-terms-conditions__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for cards */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-terms-conditions__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
}

.page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes an X */
}

.page-terms-conditions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

/* Video Section */
.page-terms-conditions__video-section {
    padding: 60px 0;
    background-color: #000000;
    text-align: center;
}

.page-terms-conditions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer; /* Indicate clickable video */
}

.page-terms-conditions__video-cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

.page-terms-conditions__video-cta-button:hover {
    background-color: #1e87b7;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 3em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }
    .page-terms-conditions__hero-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1em;
    }
    .page-terms-conditions__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__paragraph {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-terms-conditions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-terms-conditions__hero-image-wrapper,
    .page-terms-conditions__container,
    .page-terms-conditions__content-area,
    .page-terms-conditions__faq-section,
    .page-terms-conditions__video-section,
    .page-terms-conditions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsiveness */
    .page-terms-conditions video,
    .page-terms-conditions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Button responsiveness */
    .page-terms-conditions__hero-cta-button,
    .page-terms-conditions__contact-button,
    .page-terms-conditions__video-cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-terms-conditions__faq-question {
        padding: 15px;
    }
    .page-terms-conditions__faq-title {
        font-size: 1.1em;
    }
    .page-terms-conditions__faq-answer {
        padding: 0 15px;
    }
    .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__paragraph {
        font-size: 0.9em;
    }
    .page-terms-conditions__hero-content,
    .page-terms-conditions__faq-list {
        padding: 0 10px;
    }
}