/* ===== LEGAL PAGES STYLING ===== */
/* Base Styles */
.policy-section {
    padding: 80px 0;
    position: relative;
}

.bg-light {
    background-color: var(--background-secondary);
}

.section-padding {
    padding: 100px 0;
}

/* Hero Banner */


.page-title .bg-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.9;
}

.page-title .bg-layer::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-title.pt_150 {
    padding-top: 150px;
}

.page-title.pb_150 {
    padding-bottom: 150px;
}



.bread-crumb {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.bread-crumb li {
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 0 10px;
}

.bread-crumb li:first-child {
    padding-left: 0;
}


.bread-crumb li a {
    color: #fff;
    transition: all 0.3s ease;
}

.bread-crumb li a:hover {
    color: var(--hrv-orange);
}

/* Policy Navigation */
.policy-nav-section {
    background-color: var(--background-primary);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 99;
}

.policy-nav-container {
    padding: 15px 0;
}

.policy-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.policy-nav li {
    margin: 0 10px;
}

.policy-nav li a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.policy-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme-gradient);
    transition: all 0.3s ease;
}

.policy-nav li a:hover,
.policy-nav li a.active {
    color: var(--text-primary);
    text-decoration: none;
}

.policy-nav li a:hover::after,
.policy-nav li a.active::after {
    width: 100%;
}

/* Policy Content Layout */
.policy-sidebar {
    position: sticky;
    top: 120px;
    margin-bottom: 30px;
}

.sidebar-widget {
    background-color: var(--background-primary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--theme-gradient);
}

.policy-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-links li {
    margin-bottom: 10px;
}

.policy-links li:last-child {
    margin-bottom: 0;
}

.policy-links li a {
    color: var(--text-muted);
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.policy-links li a:hover {
    color: var(--hrv-orange);
    padding-left: 8px;
    text-decoration: none;
}

.sidebar-contact {
    background-color: var(--background-primary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

.sidebar-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.sidebar-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.email-link {
    color: var(--hrv-orange);
    font-weight: 500;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--hrv-orange-dark);
    text-decoration: none;
}

/* Policy Content */
.policy-content {
    background-color: var(--background-primary);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-light);
}

.sec-title {
    margin-bottom: 30px;
}

.sec-title .sub-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.sec-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.policy-effective {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
}

.policy-intro {
    margin-bottom: 40px;
}

.policy-intro p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-section-item {
    margin-bottom: 40px;
}

.policy-section-item:last-child {
    margin-bottom: 0;
}

.policy-section-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.policy-section-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--theme-gradient);
}

.policy-content-block {
    margin-bottom: 25px;
}

.policy-content-block:last-child {
    margin-bottom: 0;
}

.policy-content-block h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.policy-list {
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy-list li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.disclaimer-box {
    background-color: var(--background-accent);
    border-left: 4px solid var(--hrv-orange);
    padding: 20px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin: 20px 0;
}

.contact-info-box {
    background-color: var(--background-secondary);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-top: 20px;
}

.contact-info-box p {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.contact-info-box a {
    color: var(--hrv-orange);
    font-weight: 500;
}


/* Policy Links - Vertical List */
.policy-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* This makes the list vertical */
}

.policy-links li {
    margin-bottom: 10px;
    width: 100%; /* Ensure full width for each item */
}

.policy-links li:last-child {
    margin-bottom: 0;
}

.policy-links li a {
    color: var(--text-muted);
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    text-decoration: none;
}

.policy-links li a:hover {
    color: var(--hrv-orange);
    padding-left: 8px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .policy-sidebar {
        margin-bottom: 40px;
    }
    
    .policy-content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .page-title h1 {
        font-size: 36px;
    }
    
    .page-title.pt_150 {
        padding-top: 120px;
    }
    
    .page-title.pb_150 {
        padding-bottom: 120px;
    }
    
    .policy-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    
    .policy-nav li {
        margin: 0 8px;
    }
    
    .policy-content {
        padding: 25px 20px;
    }
    
    .sec-title h2 {
        font-size: 26px;
    }
    
    .policy-section-item h3 {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .page-title h1 {
        font-size: 30px;
    }
    
    .bread-crumb li {
        font-size: 14px;
    }
    
    .sec-title h2 {
        font-size: 24px;
    }
    
    .policy-section-item h3 {
        font-size: 20px;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Highlight active section in sidebar */
.policy-links li a.active {
    color: var(--hrv-orange);
    font-weight: 500;
    padding-left: 8px;
}

/* Animation for policy sections */
.policy-section-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.policy-section-item.visible {
    opacity: 1;
    transform: translateY(0);
}