/* Terms and Conditions Page Styles */

/* Breadcrumb Styles */
.pbmit-breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.pbmit-breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    color: #6c757d;
}

.pbmit-breadcrumb .breadcrumb-item a {
    color: var(--pbmit-global-color, #1e3a8a);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pbmit-breadcrumb .breadcrumb-item a:hover {
    color: var(--pbmit-secondary-color, #3b82f6);
}

.pbmit-breadcrumb .breadcrumb-item.active {
    color: var(--pbmit-global-color, #1e3a8a);
    font-weight: 500;
}

/* Terms and Conditions Content */
.terms-conditions-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Terms Title */
.terms-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pbmit-global-color, #1e3a8a);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.terms-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--pbmit-global-color, #1e3a8a) 0%, var(--pbmit-secondary-color, #3b82f6) 100%);
    border-radius: 2px;
}

[dir="rtl"] .terms-title::after {
    left: auto;
    right: 0;
}


/* Terms Subtitle */
.terms-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pbmit-global-color, #1e3a8a);
    margin-bottom: 1rem;
    margin-top: 2rem;
    position: relative;
    padding-left: 2.5rem;
}

.terms-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--pbmit-global-color, #1e3a8a) 0%, var(--pbmit-secondary-color, #3b82f6) 100%);
    border-radius: 50%;
}

.terms-subtitle:first-child {
    margin-top: 0;
}

/* Terms Section */
.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

/* Terms List */
.terms-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--pbmit-global-color, #1e3a8a);
    transition: all 0.3s ease;
}

.terms-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.terms-list li i {
    color: var(--pbmit-global-color, #1e3a8a);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-list li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Terms Highlight Box */
.terms-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.terms-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--pbmit-global-color, #1e3a8a) 0%, var(--pbmit-secondary-color, #3b82f6) 100%);
    border-radius: 12px 12px 0 0;
}

.terms-highlight h4 {
    color: var(--pbmit-global-color, #1e3a8a);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.terms-highlight p {
    margin-bottom: 0;
    color: #4a5568;
}

/* Terms Warning Box */
.terms-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.terms-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 12px 12px 0 0;
}

.terms-warning h4 {
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-warning h4 i {
    font-size: 1.3rem;
}

.terms-warning p {
    margin-bottom: 0;
    color: #7f1d1d;
}

/* Terms Info Box */
.terms-info {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.terms-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 12px 12px 0 0;
}

.terms-info h4 {
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-info h4 i {
    font-size: 1.3rem;
}

.terms-info p {
    margin-bottom: 0;
    color: #1e3a8a;
}

/* Terms CTA */
.terms-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.terms-cta .btn {
    background: linear-gradient(135deg, var(--pbmit-global-color, #1e3a8a) 0%, var(--pbmit-secondary-color, #3b82f6) 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.terms-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
}

.terms-cta .btn i {
    font-size: 1rem;
}

/* Divider */
.terms-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 3rem 0;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-conditions-content {
        padding: 2rem 1.5rem;
    }
    
    .terms-title {
        font-size: 1.5rem;
    }
    
    .terms-subtitle {
        font-size: 1.1rem;
        padding-left: 2rem;
    }
    
    .terms-subtitle::before {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .terms-highlight,
    .terms-warning,
    .terms-info {
        padding: 1.5rem;
    }
    
    .terms-list li {
        flex-direction: column;
        text-align: center;
    }
    
    .terms-list li i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .terms-conditions-content {
        padding: 1.5rem 1rem;
    }
    
    .terms-title {
        font-size: 1.3rem;
    }
    
    .terms-subtitle {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .terms-subtitle::before {
        width: 1rem;
        height: 1rem;
    }
    
    .terms-section p {
        font-size: 0.95rem;
    }
    
    .terms-highlight,
    .terms-warning,
    .terms-info {
        padding: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .terms-list li {
    border-left: none;
    border-right: 4px solid var(--pbmit-global-color, #1e3a8a);
}

[dir="rtl"] .terms-list li:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .terms-list li i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .terms-subtitle {
    padding-left: 0;
    padding-right: 2.5rem;
}

[dir="rtl"] .terms-subtitle::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .terms-cta .btn i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Animation for Terms Sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-section {
    animation: fadeInUp 0.6s ease-out;
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-section:nth-child(6) { animation-delay: 0.6s; }
.terms-section:nth-child(7) { animation-delay: 0.7s; }
.terms-section:nth-child(8) { animation-delay: 0.8s; }
.terms-section:nth-child(9) { animation-delay: 0.9s; }
.terms-section:nth-child(10) { animation-delay: 1.0s; }
