/* policy.css - Shared styles for all policy pages */

/* Hero Section */
.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.policy-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.highlight {
    color: #ff6b6b;
}

.title-separator {
    width: 80px;
    margin: 1.5rem auto;
    position: relative;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
}

.title-separator span {
    position: absolute;
    width: 40px;
    height: 4px;
    background: #ff6b6b;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Policy Card */
.policy-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* Table of Contents */
.policy-toc {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.policy-toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.policy-toc-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-toc-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
}

.policy-toc-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-toc-list a:hover {
    color: #ff6b6b;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 3rem;
    position: relative;
    padding-top: 1rem;
}

.policy-section-icon {
    position: absolute;
    top: 0;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.policy-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.policy-content {
    padding-left: 2rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Info Cards */
.policy-info-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.policy-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-info-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.policy-info-card p {
    margin-bottom: 0;
    color: #666;
}

/* Highlight Box */
.policy-highlight-box {
    background: rgba(255, 107, 107, 0.05);
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.policy-highlight-box p {
    margin-bottom: 0;
}

/* Contact Box */
.policy-contact-box {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.policy-link {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-link:hover {
    color: #e05050;
    text-decoration: underline;
}

/* Payment Methods */
.policy-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.policy-payment-methods span {
    background: #f9f9f9;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-payment-methods i {
    color: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .policy-card {
        padding: 1.5rem;
    }
    
    .policy-section-icon {
        left: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .policy-section-title {
        margin-left: 1.5rem;
        font-size: 1.3rem;
    }
    
    .policy-content {
        padding-left: 1.5rem;
    }
    
    .policy-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .policy-section-icon {
        display: none;
    }
    
    .policy-section-title {
        margin-left: 0;
    }
    
    .policy-content {
        padding-left: 0;
    }
}