/* Terms and Conditions Styles */
:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --secondary: #00a859;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --dark-text: #2d3748;
    --gray-text: #4a5568;
    --light-gray: #e2e8f0;
}

/* Navigation */
.terms-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Terms Header */
.terms-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.terms-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.9;
}

/* Main Content */
.terms-container {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.terms-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.terms-section h2 span {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.8rem;
}

.terms-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--gray-text);
}

.terms-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-section li {
    margin-bottom: 10px;
    color: var(--gray-text);
    line-height: 1.6;
}

address {
    font-style: normal;
    margin-top: 15px;
    color: var(--gray-text);
}

address a {
    color: var(--primary);
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4, 
.footer-legal h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul, 
.footer-legal ul {
    list-style: none;
}

.footer-links li, 
.footer-legal li {
    margin-bottom: 12px;
}

.footer-links a, 
.footer-legal a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, 
.footer-legal a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--white);
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-content {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-flex {
        flex-direction: column;
        gap: 15px;
    }
    
    .terms-header {
        padding: 60px 0 40px;
    }
    
    .terms-content {
        padding: 25px 20px;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}