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

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

.page-terms-conditions__hero-section {
    background-color: #003366; /* Main brand color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00; /* Accent color for title */
}

.page-terms-conditions__subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.page-terms-conditions__main-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 3;
    margin-right: 30px;
}

.page-terms-conditions__sidebar {
    flex: 1;
    background-color: #e6f0f7; /* Lighter shade of main color */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.page-terms-conditions__heading {
    font-size: 2em;
    color: #003366; /* Main brand color */
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFCC00; /* Accent line */
    padding-bottom: 10px;
    font-weight: 700;
}

.page-terms-conditions__sub-heading {
    font-size: 1.5em;
    color: #003366;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-terms-conditions__main-content p {
    margin-bottom: 15px;
    color: #333;
    text-align: justify;
}

.page-terms-conditions__main-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333;
}

.page-terms-conditions__main-content ul li {
    margin-bottom: 8px;
}

.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #f0f8ff; /* Very light blue */
    border-radius: 8px;
    border: 1px solid #cceeff;
}

.page-terms-conditions__cta-wrapper p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #003366;
    font-weight: 500;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1em;
    cursor: pointer;
}

.page-terms-conditions__button--primary {
    background-color: #FFCC00; /* Accent color */
    color: #003366; /* Dark text for contrast */
    border: 2px solid #FFCC00;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
    background-color: #003366; /* Main brand color */
    color: #FFCC00; /* Accent text for contrast */
    border: 2px solid #003366;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

.page-terms-conditions__last-updated {
    margin-top: 40px;
    text-align: right;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.page-terms-conditions__sidebar-heading {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 20px;
    border-bottom: 1px solid #99b3cc;
    padding-bottom: 10px;
}

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

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

.page-terms-conditions__sidebar-nav a {
    text-decoration: none;
    color: #0055aa;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-terms-conditions__sidebar-nav a:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-terms-conditions__sidebar-promo, .page-terms-conditions__sidebar-contact {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    text-align: center;
}

.page-terms-conditions__sidebar-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-terms-conditions__sidebar-promo-title, .page-terms-conditions__sidebar-contact-title {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
}

.page-terms-conditions__sidebar-promo p, .page-terms-conditions__sidebar-contact p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

.page-terms-conditions__button--promo, .page-terms-conditions__button--contact {
    background-color: #FFCC00;
    color: #003366;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    width: 100%;
    box-sizing: border-box;
}

.page-terms-conditions__button--promo:hover, .page-terms-conditions__button--contact:hover {
    background-color: #e6b800;
}

.page-terms-conditions__image-section {
    padding: 40px 0;
    text-align: center;
    background-color: #f0f8ff;
}

.page-terms-conditions__large-image {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

    .page-terms-conditions__main-content {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .page-terms-conditions__sidebar {
        position: static;
        top: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__title {
        font-size: 2.2em;
    }

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

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

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

    .page-terms-conditions__main-content, .page-terms-conditions__sidebar {
        padding: 25px;
    }
}

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

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

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

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

    .page-terms-conditions__sub-heading {
        font-size: 1.2em;
    }

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

    .page-terms-conditions__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-terms-conditions__sidebar-promo, .page-terms-conditions__sidebar-contact {
        padding: 15px;
    }
    .page-terms-conditions__large-image {
        max-width: 95%;
    }
}