/* Terms of Service Page Specific Styles */

.terms-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Terms Header */
.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    border: 2px solid #8B4513;
}

.terms-header h1 {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 700;
}

.terms-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Terms Content */
.terms-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.8rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B4513;
    display: inline-block;
}

.terms-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

.terms-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
    position: relative;
}

.terms-section li:before {
    content: "•";
    color: #8B4513;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Contact Details */
.contact-details {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    border-left: 4px solid #8B4513;
}

.contact-details p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-details strong {
    color: #8B4513;
    font-weight: 600;
}

/* Important Notice */
.terms-section:nth-child(2) {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #f39c12;
}

.terms-section:nth-child(2) h2 {
    color: #d68910;
    border-bottom-color: #d68910;
}

/* Payment Terms Highlight */
.terms-section:nth-child(4) {
    background: linear-gradient(135deg, #e8f5e8, #d5f4e6);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #27ae60;
}

.terms-section:nth-child(4) h2 {
    color: #27ae60;
    border-bottom-color: #27ae60;
}

/* Health and Safety Highlight */
.terms-section:nth-child(7) {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #e91e63;
}

.terms-section:nth-child(7) h2 {
    color: #e91e63;
    border-bottom-color: #e91e63;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .terms-header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .terms-header h1 {
        font-size: 2.2rem;
    }
    
    .terms-header p {
        font-size: 1rem;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    .terms-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .terms-section h3 {
        font-size: 1.2rem;
    }
    
    .terms-section p {
        font-size: 0.95rem;
    }
    
    .terms-section li {
        font-size: 0.95rem;
    }
    
    .contact-details {
        padding: 20px 15px;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    /* Mobile adjustments for highlighted sections */
    .terms-section:nth-child(2),
    .terms-section:nth-child(4),
    .terms-section:nth-child(7) {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .terms-container {
        margin: 15px auto;
        padding: 0 10px;
    }
    
    .terms-header {
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .terms-header h1 {
        font-size: 1.8rem;
    }
    
    .terms-content {
        padding: 25px 15px;
    }
    
    .terms-section {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .terms-section p {
        font-size: 0.9rem;
    }
    
    .terms-section li {
        font-size: 0.9rem;
    }
    
    .contact-details {
        padding: 15px 12px;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* Mobile adjustments for highlighted sections */
    .terms-section:nth-child(2),
    .terms-section:nth-child(4),
    .terms-section:nth-child(7) {
        padding: 15px 12px;
    }
}

@media (max-width: 320px) {
    .terms-header h1 {
        font-size: 1.6rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .terms-section h3 {
        font-size: 1rem;
    }
    
    .terms-section p {
        font-size: 0.85rem;
    }
    
    .terms-section li {
        font-size: 0.85rem;
    }
}
