/* ===== Policy Pages Styling ===== */

.policy-section {
    padding: 100px 0 80px;
    background-color: #f8fafb;
    min-height: calc(100vh - 200px);
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #0099CC;
}

.policy-header h1 {
    color: #001F3F;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.08);
}

.policy-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1) 0%, rgba(0, 31, 63, 0.05) 100%);
    border-left: 4px solid #0099CC;
    border-radius: 8px;
}

.policy-intro p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Collapsible Policy Items */
.policy-item {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.policy-item:hover {
    border-color: #0099CC;
    box-shadow: 0 2px 10px rgba(0, 153, 204, 0.1);
}

.policy-toggle {
    width: 100%;
    background: linear-gradient(135deg, #001F3F 0%, #003d5c 100%);
    color: #fff;
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.policy-toggle:hover {
    background: linear-gradient(135deg, #0099CC 0%, #001F3F 100%);
}

.policy-toggle.active {
    background: linear-gradient(135deg, #0099CC 0%, #007aa3 100%);
}

.policy-title {
    flex: 1;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.policy-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.policy-toggle.active i {
    transform: rotate(180deg);
}

.policy-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fff;
}

.policy-details.active {
    max-height: 3000px;
    padding: 2rem 1.5rem;
}

.policy-details h3 {
    color: #001F3F;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.policy-details h3:first-child {
    margin-top: 0;
}

.policy-details p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-details ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-details ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.policy-details ul li strong {
    color: #001F3F;
    font-weight: 700;
}

.policy-details a {
    color: #0099CC;
    font-weight: 600;
    text-decoration: underline;
}

.policy-details a:hover {
    color: #001F3F;
}

.contact-info-box {
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1) 0%, rgba(0, 31, 63, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0099CC;
    margin-top: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-section {
        padding: 80px 0 60px;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 2rem 1.5rem;
    }

    .policy-toggle {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .policy-details.active {
        padding: 1.5rem 1.2rem;
    }

    .policy-details h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.6rem;
    }

    .policy-content {
        padding: 1.5rem 1rem;
    }

    .policy-toggle {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .policy-intro {
        padding: 1rem;
    }

    .policy-intro p {
        font-size: 0.95rem;
    }

    .policy-details.active {
        padding: 1.2rem 1rem;
    }
}
