:root {
    --primary: #8fd19e;      
    --primary-dark: #6fb785; 
    --secondary: #cfead4;    
    --accent: #a5e1b2;    
    --light: #f6fdf7;         
    --dark: #4a4a4a;          
    --gray: #dddddd;          
    --light-gray: #f8f8f8;    
    --transition: all 0.3s ease;

}
ol li{
  list-style-type: none;
}
.terms-page {
    padding-top: 80px;
}

.terms-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/terms-pattern.png') center/cover;
    opacity: 0.1;
}

.terms-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
}

.terms-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.terms-content {
    padding: 60px 0;
    background-color: var(--light);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    position: relative;
}

.terms-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 12px 0 0 12px;
}

.terms-article {
    margin-bottom: 50px;
    position: relative;
}

.terms-article:last-child {
    margin-bottom: 0;
}

.terms-article h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--secondary);
}

.terms-article h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 30px 0 20px;
    position: relative;
    padding-left: 20px;
}

.terms-article h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

.provider-info {
    background-color: var(--light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
}

.provider-info p {
    margin-bottom: 10px;
}

.provider-info strong {
    color: var(--primary-dark);
}

.terms-article p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text);
}

.terms-article ol,
.terms-article ul {
    padding-left: 25px;
    margin: 20px 0;
}

.terms-article li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
}

.terms-article ol {
    counter-reset: section;
}

.terms-article ol li::before {
    counter-increment: section;
    position: absolute;
    left: -5px;
    color: var(--primary);
    font-weight: bold;
}

.terms-article ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.contact-method {
    background-color: var(--secondary);
    padding: 10px;
    border-radius: 8px;
    margin:0px ;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-method-text {
    flex-grow: 1;
}

.contact-method a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .terms-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 2.2rem;
    }
    
    .terms-container {
        padding: 25px 20px;
        border-radius: 0;
    }
    
    .terms-container::before {
        display: none;
    }
    
    .terms-article h2 {
        font-size: 1.6rem;
    }
    
    .terms-article h3 {
        font-size: 1.3rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .terms-hero {
        padding: 40px 0;
    }
    
    .terms-hero h1 {
        font-size: 1.8rem;
    }
    
    .terms-content {
        padding: 40px 0;
    }
    
    .terms-article {
        margin-bottom: 40px;
    }
    
    .provider-info {
        padding: 20px;
    }
}