/* Terms Page Styling */

.page-header {
    background-color: #1a3c61;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to right bottom, #1a3c61 0%, #1a3c61 50%, transparent 50%, transparent 100%);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

.terms-content h1 {
    color: #1a3c61;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.terms-content h2 {
    color: #1a3c61;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.terms-content h3 {
    color: #2b4f76;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-content p {
    margin-bottom: 20px;
    color: #333;
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.terms-content li {
    margin-bottom: 10px;
    color: #333;
}

.last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.terms-content a {
    color: #1a3c61;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: #3a6ea5;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .terms-content h1 {
        font-size: 1.8rem;
    }
    
    .terms-content h2 {
        font-size: 1.3rem;
    }
    
    .terms-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 15px;
    }
    
    .page-header h1 {
        font-size: 1.7rem;
    }
    
    .terms-content {
        padding: 15px;
    }
    
    .terms-content h1 {
        font-size: 1.6rem;
    }
    
    .terms-content h2 {
        font-size: 1.2rem;
    }
} 