/* style/terms-conditions.css */
/* Thiết lập biến màu dựa trên yêu cầu */
:root {
    --primary-color: #0A2463; /* hi88 Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f7fa;
    --background-dark: #1a3a70; /* Darker variant of primary for contrast */
    --border-color: #e0e0e0;
}

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

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

/* Hero Banner Section */
.page-terms-conditions .hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a70 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-terms-conditions .hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

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

.page-terms-conditions .hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-terms-conditions .hero-image {
    width: 100%;
    max-width: 1000px; /* Adjust based on desired visual impact */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    object-fit: cover;
    display: block; /* Ensure it behaves as a block element */
    position: relative;
    z-index: 1;
}


/* General Section Styling */
.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 .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

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

.page-terms-conditions p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

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

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

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

/* Call to Action Buttons */
.page-terms-conditions .cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-terms-conditions .primary-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-terms-conditions .primary-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-terms-conditions .secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .final-cta-section .cta-button {
    margin-top: 30px;
}

/* Highlighted text for keywords */
.page-terms-conditions .highlight-text {
    color: var(--primary-color);
    font-weight: bold;
    background-color: rgba(255, 215, 0, 0.2); /* Light gold background */
    padding: 2px 5px;
    border-radius: 3px;
}

/* Content Images */
.page-terms-conditions .content-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions .hero-title {
        font-size: 3em;
    }
    .page-terms-conditions .hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions .section-title {
        font-size: 2em;
    }
    .page-terms-conditions .subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions .hero-banner {
        padding: 60px 15px;
    }
    .page-terms-conditions .hero-title {
        font-size: 2.5em;
    }
    .page-terms-conditions .hero-description {
        font-size: 1em;
    }
    .page-terms-conditions .section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions .subsection-title {
        font-size: 1.4em;
    }
    .page-terms-conditions p,
    .page-terms-conditions ul li {
        font-size: 1em;
    }
    .page-terms-conditions .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-terms-conditions .content-image {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions .hero-banner {
        padding: 40px 10px;
    }
    .page-terms-conditions .hero-title {
        font-size: 2em;
    }
    .page-terms-conditions .hero-description {
        font-size: 0.9em;
    }
    .page-terms-conditions .section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions .subsection-title {
        font-size: 1.2em;
    }
    .page-terms-conditions .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-terms-conditions .section-title::after {
        width: 60px;
    }
}