/* ======================= TERMS & CONDITIONS PAGE STYLES ======================= */

/* -------------------- Hero Banner -------------------- */
.terms-hero-banner {
    /* Layered a 50% opacity black gradient over the image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.836), rgba(0, 0, 0, 0.788)), 
                      url('../images/Images-2/terms.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* Added to ensure image is centered */
    padding: 40px 20px 40px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white; /* Ensures all text inside is white for better contrast */
}

.terms-hero-banner .tag-badge {
    /* The small white badge at the top */
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 25px;
}

.terms-hero-banner h2 {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.terms-hero-banner p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}


/* -------------------- Main Content & Card Wrappers -------------------- */
.terms-content {
    max-width: 900px;
    margin: -40px auto 60px auto; /* Pull content up over the hero edge */
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.terms-info-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* -------------------- Card Headers & Icons -------------------- */
.card-header-icon {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.card-header-icon h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
    padding-left: 10px;
}

/* Icon Styling - Using HTML entities or assumed FontAwesome for effect */
.card-header-icon .icon {
    font-size: 1.8rem;
    color: #0055aa; /* Default icon color */
}
/* Specific icon color overrides if needed (e.g., for cancellation) */
.cancellation-card .icon { color: #dc3545; } /* Red for cancellation */
.deposits-card .icon { color: #8e24aa; }    /* Purple for deposits */


/* -------------------- Paragraphs and Lists -------------------- */
.terms-info-card p,
.terms-info-card ul li {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 5px;
}

.terms-info-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.terms-info-card ul li {
    padding-left: 20px;
    position: relative;
}

.terms-info-card ul li::before {
    content: '•';
    color: #0055aa;
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* -------------------- Specific Alert Boxes -------------------- */

/* Global News Alert (Top of Content) */
.news-alert {
    background-color: #e6f7ff; 
    padding: 15px 20px;
    border-left: 5px solid #0055aa;
    margin-bottom: 30px;
    border-radius: 4px;
}
.news-alert p {
    margin: 0;
    color: #003366;
    font-weight: 500;
}

/* Important Cancellation Rules Box */
.cancellation-rules-box {
    background-color: #fff8e1; /* Light orange/peach background */
    border: 1px solid #ffcc80;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 20px;
}
.cancellation-rules-box p {
    margin: 5px 0;
    color: #b35900;
    font-weight: 600;
}
.cancellation-rules-box ul {
    list-style: none;
    padding-left: 0;
}
.cancellation-rules-box ul li {
    color: #b35900;
    padding: 3px 0 3px 20px;
}
.cancellation-rules-box ul li::before {
    content: '•';
    color: #ff9800;
}
.cancellation-rules-box strong {
    color: #ff6f00; /* Darker orange for emphasis */
}

/* Important Notes/Summary Box (Yellow Box at the bottom) */
.important-notes-summary {
    background-color: #fffbe6; /* Light yellow background */
    border: 1px solid #ffe57f;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.important-notes-summary h4 {
    color: #333;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.important-notes-summary ul {
    margin-bottom: 0;
}

.important-notes-summary ul li {
    color: #666;
    font-size: 0.95em;
}
.important-notes-summary ul li::before {
    content: '•';
    color: #ffcc00; /* Yellow bullet point */
}

/* -------------------- Two-Column Layout (Section 7) -------------------- */
.two-col-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.two-col-item {
    flex: 1;
}

.two-col-item h4 {
    font-size: 1rem;
    color: #0055aa;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 2px dashed #f0f0f0;
}

/* -------------------- Footer CTA for Terms -------------------- */
.terms-footer-cta {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-top: 40px;
}

.terms-footer-cta h4 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.terms-footer-cta p {
    color: #666;
    margin-bottom: 20px;
}

.terms-footer-cta .contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #003366;
}

.terms-footer-cta a {
    color: #0055aa;
    text-decoration: none;
}


/* -------------------- Responsive Adjustments -------------------- */
@media (max-width: 768px) {
    .terms-hero-banner {
        padding: 80px 15px 50px 15px;
    }
    .terms-hero-banner h2 {
        font-size: 2rem;
    }
    .terms-hero-banner p {
        font-size: 0.9rem;
    }
    .terms-content {
        padding: 0 15px;
    }
    .two-col-layout {
        flex-direction: column;
    }
    .terms-footer-cta .contact-details {
        flex-direction: column;
        gap: 5px;
    }
}

