﻿
:root {
    --primary: #1a4b8c;
    --secondary: #f5a623;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    padding-top: 100px;
}

/* Header */
.policy-header {
    background: linear-gradient(135deg, var(--primary), #2c5fa8);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

/* Main card style  */
.policy-card {
    display: flex;
    align-items: center; 
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary);
    gap: 20px; 
}

    .policy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .policy-card.important {
        border-left-color: var(--accent);
        background: linear-gradient(135deg, #fff9f9, #ffe6e6);
    }

    .policy-card.warning {
        border-left-color: var(--warning);
        background: linear-gradient(135deg, #fff9e6, #ffeaa7);
    }


.rule-number {
    background: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0; 
}


.policy-card.important .rule-number {
    background: var(--accent);
}


.rule-content h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.rule-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    text-align: justify;
}

.policy-card.important .rule-content h4 {
    color: var(--accent);
}


.sub-rules {
    margin-top: 20px;
    padding-left: 20px;
}

.sub-rule {
    margin-bottom: 15px;
}

.sub-rule-label {
    font-weight: bold;
    color: var(--primary);
    margin-right: 10px;
}



.fee-amount {
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.important-notice {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}




.grading-system {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 2px solid var(--success);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.grade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

    .grade-item:last-child {
        border-bottom: none;
    }

.grade-label {
    font-weight: 600;
    color: var(--dark);
}

.grade-value {
    background: var(--success);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.distinction-value {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: var(--dark);
}

/*bullet point css*/
.policy-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 0;
}

    .policy-list li {
        margin-bottom: 12px;
        line-height: 1.6;
        color: #333;
        font-size: 15px;
    }

       




@media (max-width: 768px) {
    .policy-header {
        padding: 40px 0;
    }

    .policy-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .rule-number {
        margin-bottom: 10px;
    }

    .display-4 {
        font-size: 2rem;
    }

    

    

    .rule-content {
        text-align: justify;
    }
}