/* Terms and Conditions Page Styles */

/* Hero Section */
.terms-hero-section {
    min-height: 35vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    padding-top: 80px;
}

.terms-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    z-index: 1;
}

.terms-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.terms-hero-section .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.terms-hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.terms-hero-section .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Terms Content Section */
.terms-content-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Effective Date */
.effective-date {
    text-align: center;
    margin-bottom: 3rem;
}

.date-badge {
    display: inline-block;
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(34, 139, 112, 0.3);
}

/* Terms Content */
.terms-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

/* Terms Sections */
.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

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

.terms-section .section-title {
    color: #228B70;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.terms-section .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    border-radius: 2px;
}

.terms-section .section-content {
    color: #495057;
    line-height: 1.7;
    font-size: 1rem;
}

.terms-section .section-content p {
    margin-bottom: 1rem;
}

.terms-section .section-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
.services-list,
.obligations-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list li,
.obligations-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.services-list li i {
    color: #228B70;
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.obligations-list li i {
    color: #228B70;
    font-size: 0.9rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

/* Links */
.policy-link {
    color: #228B70;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: #1e7a5e;
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
}

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-header h3 {
    color: #228B70;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-header i {
    font-size: 1.2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #228B70;
    font-size: 1.1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #228B70;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1e7a5e;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-hero-section {
        min-height: 30vh;
        padding-top: 60px;
    }
    
    .terms-hero-section .hero-title {
        font-size: 2rem;
    }
    
    .terms-hero-section .hero-subtitle {
        font-size: 1rem;
    }
    
    .terms-content-section {
        padding: 3rem 0;
    }
    
    .terms-content {
        padding: 2rem 1.5rem;
    }
    
    .terms-section .section-title {
        font-size: 1.3rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .terms-content {
        padding: 1.5rem 1rem;
    }
    
    .terms-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .date-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.terms-section .section-title:focus,
.policy-link:focus,
.contact-item a:focus {
    outline: 2px solid #228B70;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .terms-hero-section {
        background: white !important;
        color: black !important;
    }
    
    .terms-hero-section .hero-title,
    .terms-hero-section .hero-subtitle {
        color: black !important;
    }
    
    .terms-content-section {
        background: white !important;
    }
    
    .terms-content {
        box-shadow: none !important;
    }
}
