/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Hero Section */
.page-terms-conditions__hero {
    background: linear-gradient(135deg, #007BFF, #4da3ff); /* Adjusted for better contrast with text */
    color: #ffffff; /* White text for better contrast */
    padding: 80px 0;
    text-align: center;
}

.page-terms-conditions__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffffff; /* White text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    color: #ffffff; /* White text */
}

/* Content Section */
.page-terms-conditions__content-section {
    padding: 60px 0;
}

.page-terms-conditions__container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.page-terms-conditions__article {
    flex: 3;
    min-width: 600px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__sidebar {
    flex: 1;
    min-width: 300px;
    background-color: #e0f2f7; /* Lighter blue variant for sidebar */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.page-terms-conditions__heading {
    font-size: 1.8em;
    color: #0056b3; /* Darker blue for headings */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
}

.page-terms-conditions__heading:first-of-type {
    margin-top: 0;
}

.page-terms-conditions__article p {
    margin-bottom: 15px;
    color: #333333; /* Dark gray for body text */
}

.page-terms-conditions__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #333333; /* Dark gray for list items */
}

.page-terms-conditions__list li {
    margin-bottom: 8px;
}

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

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

.page-terms-conditions__link--promo {
    color: #FFD700; /* Gold for promo links */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__link--promo:hover {
    color: #b39700; /* Darker gold on hover */
    text-decoration: underline;
}

.page-terms-conditions__highlight {
    color: #007BFF; /* Blue highlight */
    font-weight: bold;
}

.page-terms-conditions__sidebar-heading {
    font-size: 1.5em;
    color: #0056b3;
    margin-bottom: 20px;
    border-bottom: 1px solid #007BFF;
    padding-bottom: 10px;
}

.page-terms-conditions__sidebar-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

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

.page-terms-conditions__sidebar-list a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: background-color 0.3s ease;
}

.page-terms-conditions__sidebar-list a:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
    padding-left: 5px;
}

.page-terms-conditions__cta-box {
    background-color: #007BFF; /* Main blue for CTA box */
    color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold for CTA button */
    color: #0056b3; /* Dark blue text on gold */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-terms-conditions__image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__image--small {
    max-width: 300px;
}

.page-terms-conditions__image--large {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__container {
        flex-direction: column;
    }

    .page-terms-conditions__article,
    .page-terms-conditions__sidebar {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero {
        padding: 60px 0;
    }

    .page-terms-conditions__title {
        font-size: 2.2em;
    }

    .page-terms-conditions__subtitle {
        font-size: 1em;
    }

    .page-terms-conditions__heading {
        font-size: 1.5em;
    }

    .page-terms-conditions__content-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero {
        padding: 40px 0;
    }

    .page-terms-conditions__title {
        font-size: 1.8em;
    }

    .page-terms-conditions__heading {
        font-size: 1.3em;
    }

    .page-terms-conditions__article,
    .page-terms-conditions__sidebar {
        padding: 20px;
    }

    .page-terms-conditions__list {
        padding-left: 15px;
    }
}