/* Terms & Conditions Redesign */
.terms-page {
    background: #fdfdfd;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 80px;
    color: #444;
}

/* Same Hero Breadcrumb for consistency */
.hero-breadcrumb {
    background: linear-gradient(rgba(39, 49, 99, 0.9), rgba(39, 49, 99, 0.95)), url('../images/terms-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 120px;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-breadcrumb h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-list a {
    color: #D4AF37;
    text-decoration: none;
}

.terms-container {
    max-width: 1200px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
}

.terms-layout {
    display: flex;
    gap: 40px;
}

/* Sticky Sidebar Toc */
.terms-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.toc-sticky {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.toc-sticky h4 {
    font-family: 'Playfair Display', serif;
    color: #273163;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #D4AF37;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    display: block;
}

.toc-list a:hover, .toc-list a.active {
    color: #D4AF37;
    padding-left: 5px;
}

/* Content Area */
.terms-content {
    flex-grow: 1;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.intro-highlight {
    background: rgba(39, 49, 99, 0.03);
    border-left: 5px solid #273163;
    padding: 30px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 50px;
    font-style: italic;
    color: #273163;
}

.terms-section {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.terms-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #273163;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-section h3 span {
    color: #D4AF37;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.terms-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.terms-section ul {
    list-style: none;
    padding: 0;
}

.terms-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.terms-section ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-size: 0.8rem;
    top: 4px;
}

/* Styled Table for Refunds */
.refund-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.refund-table {
    width: 100%;
    border-collapse: collapse;
    background: #fdfdfd;
}

.refund-table th {
    background: #273163;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.refund-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.refund-table tr:hover {
    background: #f9f9f9;
}

/* Contact Cards */
.contact-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-mini-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.contact-mini-card:hover {
    border-color: #D4AF37;
    background: #fff;
}

.contact-mini-card i {
    font-size: 24px;
    color: #D4AF37;
    margin-bottom: 10px;
}

.contact-mini-card h5 {
    color: #273163;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-mini-card p {
    font-size: 0.85rem;
    margin: 0;
    word-break: break-all;
}

/* Divider */
.terms-divider {
    height: 1px;
    background: linear-gradient(to right, #D4AF37, transparent);
    margin: 40px 0;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 991px) {
    .terms-layout {
        flex-direction: column;
    }
    .terms-sidebar {
        width: 100%;
        display: none; /* Hide TOC on mobile for space */
    }
    .terms-content {
        padding: 30px;
    }
    .contact-highlight-grid {
        grid-template-columns: 1fr;
    }
}
