/* Legal Pages Styling - Terms & Conditions and Privacy Policy */

.terms-section,
.privacy-section {
    padding: 80px 0;
}

.terms-content,
.privacy-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.terms-text,
.privacy-text {
    line-height: 1.8;
    color: #555;
}

.terms-text h3,
.privacy-text h3 {
    color: var(--primary-color, #ff9900);
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.terms-text h4,
.privacy-text h4 {
    color: var(--secondary-color, #222222);
    font-size: 20px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-text p,
.privacy-text p {
    margin-bottom: 15px;
    font-size: 16px;
    text-align: justify;
}

.terms-text ul,
.privacy-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.terms-text ul li,
.privacy-text ul li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
}

.terms-text ul li::marker,
.privacy-text ul li::marker {
    color: var(--primary-color, #ff9900);
}

/* Highlight important sections */
.terms-text ul li strong,
.privacy-text ul li strong {
    color: var(--primary-color, #ff9900);
    font-weight: 600;
}

/* Privacy Summary Box */
.privacy-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color, #ff9900);
    border-radius: 8px;
    padding: 25px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.privacy-summary h4 {
    color: var(--primary-color, #ff9900);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.privacy-summary p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-summary p:last-child {
    margin-bottom: 0;
}

/* Page Header Styling */
.page-header {
    background: linear-gradient(135deg, var(--primary-color, #ff9900) 0%, var(--secondary-color, #222222) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
}

.page-header-box {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
}

.page-header .breadcrumb-item {
    font-size: 16px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: #ffffff;
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* Section Heading */
.section-heading h4 span {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: var(--primary-color, #ff9900);
    margin-right: 15px;
    vertical-align: middle;
}

.section-heading h2 {
    color: var(--secondary-color, #222222);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-heading p {
    color: #666;
    font-size: 16px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-content,
    .privacy-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-heading h2 {
        font-size: 28px;
    }
    
    .terms-text h3,
    .privacy-text h3 {
        font-size: 20px;
    }
    
    .terms-text h4,
    .privacy-text h4 {
        font-size: 18px;
    }
    
    .privacy-summary {
        padding: 20px;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .terms-section,
    .privacy-section {
        padding: 60px 0;
    }
    
    .terms-content,
    .privacy-content {
        padding: 25px 15px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-heading h2 {
        font-size: 24px;
    }
}

/* Print Styles */
@media print {
    .page-header,
    .footer-section,
    .floating-buttons {
        display: none !important;
    }
    
    .terms-content,
    .privacy-content {
        box-shadow: none;
        padding: 20px 0;
    }
    
    .terms-text h3,
    .privacy-text h3 {
        page-break-after: avoid;
    }
} 