/* General Page Style */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}

/* Page Header */
.page-header {
    background-color: #b41b1d; /* Bootstrap danger red */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Sidebar Navigation */
.policy-sidebar {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.policy-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.policy-sidebar ul li {
    margin-bottom: 10px;
}

.policy-sidebar ul li a {
    text-decoration: none;
    color: #b41b1d;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-sidebar ul li a:hover {
    color: #dc3545;
}

/* Main Content */
.policy-card {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.policy-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.policy-card h5 {
    font-size: 1.6rem;
    color: #212529;
    margin-bottom: 15px;
}

.policy-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.policy-card ul {
    padding-left: 20px;
    margin-top: 10px;
}

.policy-card ul li {
    font-size: 1rem;
    color: #555;
}

/* Active Link for ScrollSpy */
.policy-sidebar ul li a.active {
    color: #28a745;
    font-weight: 600;
}

/* Smooth Scroll Effect */
html {
    scroll-behavior: smooth;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .container-xxl {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .policy-sidebar {
        padding: 15px;
    }

    .policy-card {
        padding: 15px;
    }

    .policy-sidebar ul li a {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Wow Animation */
.wow {
    visibility: hidden;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
    .policy-sidebar {
        position: sticky;
        top: 20px;
    }
}
