/* Terms and Conditions Page Styles */
body {
    font-family: 'Merriweather', serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 100vh;
}

.header-container {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.header-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.header-title {
    color: #333;
    font-size: 2.5em;
    margin: 0;
    font-weight: 700;
}

.language-switcher {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.language-switcher a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.language-switcher a:hover {
    background-color: #e9ecef;
}

.content {
    margin-bottom: 40px;
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.section h2 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 700;
}

.section p {
    margin: 0;
    color: #555;
    font-size: 1.1em;
}

.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #e0e0e0;
}

.back-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #0056b3;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .section {
    border-left: none;
    border-right: 4px solid #007bff;
}

.rtl .language-switcher a {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }
    
    .header-title {
        font-size: 2em;
    }
    
    .section {
        padding: 15px;
    }
    
    .section h2 {
        font-size: 1.3em;
    }
    
    .section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.8em;
    }
    
    .container {
        padding: 10px;
        margin: 5px;
    }
}
