﻿
:root {
    --purple-dark: #3b185f;
    --purple-main: #5e2b97;
    --purple-soft: #f3eef9;
    --purple-soft-2: #ece4f7;
    --text: #2b1248;
    --muted: #5c4b7d;
    --shadow: 0 18px 40px rgba(59,24,95,.18);
}

/* WRAPPER */
.policy-wrapper {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding-top: 60px;
}

/* HEADER */
.policy-header {
    padding: 45px 55px 30px;
    text-align: center;
    background: linear-gradient(180deg,#f7f3fc,#ffffff);
}

    .policy-header h1 {
        font-size: 34px;
        font-weight: 700;
        color: var(--purple-dark);
        margin-bottom: 10px;
    }

    .policy-header span {
        color: var(--purple-main);
    }

    .policy-header p {
        max-width: 900px;
        margin: auto;
        font-size: 15px;
        color: var(--muted);
        line-height: 1.8;
    }

/* CONTENT */
.policy-content {
    padding: 20px 60px 55px;
}

/* SECTION */
.policy-section {
    background: var(--purple-soft);
    border-radius: 18px;
    padding: 30px 34px;
    margin-bottom: 26px;
}

    .policy-section:nth-child(even) {
        background: var(--purple-soft-2);
    }

    /* HEADING */
    .policy-section h3 {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 20px;
        font-weight: 600;
        color: var(--purple-dark);
        margin-bottom: 12px;
    }

/* ICON */
.icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5e2b97;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(94,43,151,.25);
}

/* TEXT */
.policy-section p {
    font-size: 14.8px;
    line-height: 1.85;
    color: #3f2a63;
    margin-bottom: 10px;
}

.policy-section ul {
    padding-left: 18px;
    margin-top: 10px;
}

.policy-section li {
    font-size: 14.6px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* LINK */
.policy-link {
    color: var(--purple-main);
    font-weight: 600;
    text-decoration: none;
}

    .policy-link:hover {
        text-decoration: underline;
    }

/* MOBILE */
@media(max-width:900px) {
    .policy-header {
        padding: 30px 22px 20px;
    }

    .policy-content {
        padding: 18px 20px 35px;
    }

    .policy-header h1 {
        font-size: 28px;
    }
}

/* ENSURE LINKS ARE CLICKABLE */
.policy-section a,
.policy-section a * {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.policy-section {
    position: relative;
    z-index: 1;
}

    .policy-section:hover a {
        transform: none !important;
    }

    .policy-section::before,
    .policy-section::after {
        pointer-events: none;
    }


/* TABLE STYLING */
.contact-table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid var(--purple-soft-2);
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
}

    .committee-table th {
        background-color: var(--purple-main);
        color: #ffffff;
        padding: 15px;
        font-weight: 600;
    }

    .committee-table td {
        padding: 12px 15px;
        border-bottom: 1px solid var(--purple-soft-2);
        color: var(--text);
    }

    .committee-table tr:last-child td {
        border-bottom: none;
    }

    .committee-table tr:nth-child(even) {
        background-color: #f9f7fd;
    }

.contact-email {
    color: var(--purple-main);
    text-decoration: none;
    font-weight: 500;
}

/* ================= ICON PERFECT CIRCLE FIX ================= */

.policy-section h3 {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex-shrink: 0; /* prevents oval shape */
    border-radius: 50%;
    background: #5e2b97;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1; /* prevents font stretch */
    box-shadow: 0 8px 18px rgba(94,43,151,.25);
}

/* MOBILE SAFETY */
@media(max-width:600px) {
    .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 17px;
    }
}
