:root {
    --gold: #D4AF37;
    --light-gold: #F5E6A3;
    --beige: #F5F5DC;
    --dark-beige: #E6D8B5;
    --black: #1a1a1a;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.8;
}

.gold-text {
    color: var(--gold);
}

.terms-hero {
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(245,245,220,0.3) 100%);
    padding: 100px 0 60px;
}

.terms-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 3rem;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100px;
    height: 2px;
    background: var(--gold);
}

.terms-list {
    list-style: none;
    padding: 0;
}

.terms-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 2rem;
}

.terms-list li:before {
    content: '•';
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    right: 0;
    font-size: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf6e3 100%);
    border-right: 4px solid var(--gold);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-info {
    background: var(--black);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: white;
}

.table-of-contents {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-right: 3px solid var(--gold);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.table-of-contents a:hover {
    color: var(--gold);
    padding-right: 10px;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 2rem 1.5rem;
        margin-top: -30px;
    }
    
    .terms-hero {
        padding: 80px 0 40px;
    }
}