/* =============================================================================
   Policy Page Specific Styles
   ========================================================================== */
/* --- General Body & Font Consistency --- */
body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.6;
}

/* --- Hero Banner (heading-page) --- */
.heading-page {
    background-image: url(../assets/images/meetings-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 150px 0 100px 0;
    position: relative;
    width: 100%;
}

.heading-page .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark overlay (Black) */
    z-index: 1;
}

.heading-page .hero-content {
    position: relative;
    z-index: 2;
}

.heading-page .hero-content h1 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    margin: 0;
}

/* --- Main Content Section --- */
.policy-content-section {
    padding: 60px 0 40px 0;
    background-color: transparent;
}

.policy-content-section .container {
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
    padding: 0 15px;
}

.policy-content-section .container .col-lg-10 {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    float: none;
    padding: 0;
}

.policy-content-section .container .col-lg-10 {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Typography & Content Styling --- */
.policy-content-section h2,
.policy-content-section h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.policy-content-section h2 {
    font-size: 2rem;
}

.policy-content-section h3 {
    font-size: 1.5rem;
}

.policy-content-section p,
.policy-content-section li {
    /* font-size: 1rem; */
    line-height: 1.7;
    color: #e0e0e0;
    margin: 18px 0;
}

.policy-content-section ul {
    padding-left: 0;
    list-style-type: none;
    margin: 1.5rem 0;
}

.policy-content-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--eduskill-primary);
    transition: background-color 0.3s, transform 0.3s;
}

.policy-content-section ul li:hover {
    background-color: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.policy-content-section ul li::before {
    content: '\f058';
    /* FontAwesome check-circle icon */
    font-family: 'FontAwesome';
    position: absolute;
    left: 10px;
    top: 18px;
    color: var(--eduskill-primary);
    font-size: 16px;
}

.policy-content-section ol {
    padding-left: 25px;
    margin: 1.5rem 0;
}

.policy-content-section ol li {
    margin-bottom: 0.75rem;
    padding-left: 5px;
}

.policy-content-section a {
    color: #3f7bd6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-content-section a:hover {
    color: #31297e;
    text-decoration: underline;
}

.policy-content-section strong {
    color: #ffffff;
    font-weight: 600;
}

.policy-content-section .release-info {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    display: block;
    text-align: left;
}

/* --- Modern Table Styles --- */
.policy-table {
    width: 100%;
    margin: 2.5rem 0;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    overflow: hidden;
}

.policy-table th,
.policy-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.policy-table th {
    background-color: #eaf5ff;
    font-weight: 600;
    color: #0a1a33;
    font-size: 1rem;
    border-bottom: 2px solid #cce7ff;
}

.policy-table td {
    color: #333;
    transition: background-color 0.3s ease;
    /* Smooth transition for hover */
}

.policy-table tbody tr:last-child th,
.policy-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- New Hover Effect --- */
.policy-table tbody tr:hover {
    background-color: #e9f4ff !important;
    cursor: pointer;
}

.policy-table tbody tr:hover td {
    background-color: #e9f4ff !important;
    transition: background-color 0.3s ease;
    transform: translateY(-1px);
}

/* Zig-zag (striped) effect for table rows */
.policy-table tbody tr:nth-child(even) {
    background-color: #f7f9fc;
    /* A very light blue-gray for even rows */
}

.policy-table tbody tr:nth-child(odd) td {
    background-color: #ffffff;
    /* White for odd rows */
}

/* Column widths for specific tables */
.policy-table .purpose-col {
    width: 25%;
}

.policy-table .basis-col {
    width: 25%;
}

.policy-table .data-col {
    width: 25%;
}

.policy-table .retention-col {
    width: 25%;
}

.policy-table .right-col {
    width: 70%;
}


/* White background and dark text for policy pages */
.policy-content-section.bg-white {
    background-color: #ffffff;
}

.policy-content-section.bg-white p,
.policy-content-section.bg-white h1,
.policy-content-section.bg-white h2,
.policy-content-section.bg-white h3,
.policy-content-section.bg-white h4,
.policy-content-section.bg-white ul li,
.policy-content-section.bg-white table th,
.policy-content-section.bg-white table td,
.policy-content-section.bg-white strong,
.policy-content-section.bg-white .section-heading h2 {
    color: #333 !important;
}

.policy-content-section.bg-light p,
.policy-content-section.bg-light h1,
.policy-content-section.bg-light h2,
.policy-content-section.bg-light h3,
.policy-content-section.bg-light h4,
.policy-content-section.bg-light ul li,
.policy-content-section.bg-light table th,
.policy-content-section.bg-light table td,
.policy-content-section.bg-light strong,
.policy-content-section.bg-light .section-heading h2 {
    color: #333 !important;
}

.policy-content-section.bg-white ul li,
.policy-content-section.bg-light ul li {
    background-color: #ffffff;
}

.policy-content-section.bg-white ul li:hover,
.policy-content-section.bg-light ul li:hover {
    background-color: #ebf1ff;
}

.our-partner-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--eduskill-card);
    border-top: 1px solid var(--eduskill-border);
}



/* --- Commitment Cards for AI Regulation Page --- */
.commitment-card {
    background-color: #ffffff;
    border: 1px solid rgba(125, 134, 185, 0.3);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.commitment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.096);
    background-color: rgb(243, 240, 255);
}

.commitment-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #eaf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.commitment-card .icon i {
    font-size: 2rem;
    color: #2778D6;
}

/* Fix for fa-shield icon */
.commitment-card .icon .fa-shield:before {
    content: "\f132";
}

.commitment-card h4 {
    color: #0a1a33 !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.commitment-card p {
    color: #6c757d;
    font-size: 1rem;
}

/* Text color on hover */
.commitment-card:hover p,
.commitment-card:hover h4 {
    color: #0a1a33 !important;
}

.policy-content-section p.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* New Constructor-style heading underline */
.section-heading,
.section-title {
    position: relative;
    padding-bottom: 20px;
}

.section-heading h2,
.section-title h2 {
    position: relative;
}

/* Light long underline */
.section-heading h2::after,
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
}

/* Blue short underline */
.section-heading h2::before,
.section-title h2::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: #2778D6;
    border-radius: 3px;
    z-index: 1;
}

/* --- About Us Page Specific Styles --- */
.about-us-page .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.about-us-page .section {
    padding: 60px 0;
}

.about-us-page .section.bg-light {
    background-color: #f8f9fa;
}

.about-us-page p {
    text-align: center;
}

.about-us-page .hero-content p.lead {
    color: #ffffff;
}

.about-us-page .our-partner-section {
    padding: 60px 0;
    text-align: center;
}

.about-us-page .our-partner-section .partner-logo {
    max-width: 250px;
    margin-top: 20px;
}

.about-us-page .impact-section {
    padding: 60px 0;
}

.about-us-page .impact-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-page .impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Fix for policy pages dark theme */
.policy-content-section {
    background-color: transparent;
}

.policy-table th,
.policy-table td {
    color: #333;
}

/* About us page icon styles */
.about-us-page .eduskill-icon-wrap {
    font-size: 2.5rem;
    color: var(--eduskill-primary);
    margin: 0 auto 15px auto;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--eduskill-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}