/* css/terms.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

:root {
    --primary: #2563eb;
    --secondary: #1e293b;
    --light: #ffffff;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    background: var(--gray-light);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-hero {
    background: #FD1D1D;
    padding: 50px 0;
    text-align: center;
    color: white;
}

.terms-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-hero p {
    font-size: 1rem;
    opacity: 0.9;
}

.terms-content {
    padding: 50px 0;
}

.terms-wrapper {
    background: var(--light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.terms-block {
    margin-bottom: 35px;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-block h2 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.terms-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FD1D1D;
    border-radius: 2px;
}

.terms-block p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-block strong {
    color: #4c4c4c;
}

.terms-block ul {
    margin: 15px 0 15px 25px;
}

.terms-block li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-details {
    background: var(--gray-light);
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details i {
    color: #FD1D1D;
    width: 20px;
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 2rem;
    }
    
    .terms-wrapper {
        padding: 30px 20px;
    }
    
    .terms-block h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .terms-hero h1 {
        font-size: 1.8rem;
    }
    
    .terms-block ul {
        margin-left: 20px;
    }
    
    .contact-details {
        padding: 15px;
    }
}