/* Policies Page Specific Styles */

/* Hero Section */
.policies-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.policies-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.policies-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Policies Content */
.policies-content {
    padding: 60px 0;
}

.policies-wrapper {
    display: flex;
    gap: 40px;
}

/* Sidebar */
.policies-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-inner {
    position: sticky;
    top: 100px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.policies-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-medium);
}

.policy-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-nav a {
    padding: 10px;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.policy-nav a:hover {
    background-color: var(--gray-light);
    padding-left: 15px;
}

.policy-nav a.active {
    background-color: var(--secondary-color);
    color: white;
}

/* Main Content */
.policies-main {
    flex: 1;
}

.policy-section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.policy-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.policy-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.policy-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li, 
.policy-content ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.policy-note {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin-top: 25px;
}

.policy-note p {
    margin-bottom: 0;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-toggle {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding-bottom: 20px;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Contact Box */
.policy-contact-box {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 60px;
}

.contact-box-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-box-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-box-content p {
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .policies-wrapper {
        flex-direction: column;
    }
    
    .policies-sidebar {
        width: 100%;
    }
    
    .sidebar-inner {
        position: relative;
        top: 0;
    }
    
    .policy-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .policy-nav a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .policies-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .policy-header {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .policies-hero {
        padding: 80px 0 40px;
    }
    
    .policies-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .policy-section {
        padding: 20px;
    }
}

/* Scroll to Section Animation */
@keyframes highlight-section {
    0% {
        background-color: rgba(52, 152, 219, 0.2);
    }
    100% {
        background-color: white;
    }
}

.policy-section:target {
    animation: highlight-section 2s ease;
}