/* style/terms-conditions.css */

/* Base styles for the page content */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, default white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    color: #ffffff;
    background-color: #017439; /* Brand primary color */
    overflow: hidden;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    z-index: 10;
}

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for emphasis */
}

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

.page-terms-conditions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3; /* Subtle background image */
    z-index: 5;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

/* Video Section */
.page-terms-conditions__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-terms-conditions__video-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__video-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-terms-conditions__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    margin-bottom: 30px;
    background-color: #000; /* Fallback for video area */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
}

.page-terms-conditions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand primary color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-terms-conditions__section-title--white {
    color: #ffffff;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.6em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-terms-conditions ul {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

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

.page-terms-conditions a {
    color: #017439; /* Brand primary color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions a:hover {
    text-decoration: underline;
}

/* Image Grid */
.page-terms-conditions__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.page-terms-conditions__image-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Info */
.page-terms-conditions__contact-info {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* CTA Buttons */
.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

.page-terms-conditions__btn-primary {
    background-color: #C30808; /* Register/Login color for primary action */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid transparent;
}

.page-terms-conditions__btn-primary:hover {
    background-color: #e00b0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

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

.page-terms-conditions__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}