/* Refund Policy Page Styles */

/* CSS Variables */
:root {
    --primary-red: #8B1538;
    --dark-gray: #2c3e50;
    --medium-gray: #5a6c7d;
    --light-gray: #f8f9fa;
    --border-color: #e1e8ed;
}

/* Refund Policy Content Section */
.refund-policy-content {
    background: #fff;
    padding: 80px 0;
}

.refund-intro {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headers */
.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Scholarship Rules */
.scholarship-rules {
    margin-bottom: 60px;
}

.rules-list {
    max-width: 1000px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.rule-number {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-red);
    margin-right: 12px;
    min-width: 25px;
    flex-shrink: 0;
}

.rule-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 500;
}

/* Refund Policy Table */
.refund-policy-section {
    margin-top: 40px;
    margin-bottom: 50px;
}

.refund-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
    text-align: center;
}

.refund-table-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.refund-table thead th {
    background: var(--primary-red);
    color: #fff;
    padding: 15px 12px;
    font-weight: 600;
    text-align: center;
    border-right: 2px solid #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.refund-table thead th:first-child {
    text-align: left;
    min-width: 200px;
}

.refund-table thead th:last-child {
    border-right: none;
}

.refund-table tbody tr {
    transition: background-color 0.3s ease;
}

.refund-table tbody tr:hover {
    background-color: rgba(139, 21, 56, 0.02);
}

.refund-table tbody td {
    padding: 15px 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    vertical-align: middle;
    text-align: center;
}

.refund-table tbody td:first-child {
    text-align: left;
}

.refund-table tbody td:last-child {
    border-right: none;
}

.fee-component {
    font-weight: 600;
    color: var(--dark-gray);
    background: #f8f9fa !important;
    font-size: 14px;
}

.non-refundable {
    background: #ffe6e6 !important;
    color: var(--primary-red);
    font-weight: 600;
    text-align: center !important;
    font-size: 14px;
}

.refund-percentage {
    background: #e8f5e8 !important;
    color: #2d5a2d;
    font-weight: 600;
    font-size: 14px;
}

.non-refundable-final {
    background: #ffe6e6 !important;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 13px;
}

/* Refund Terms & Conditions */
.refund-terms-section {
    margin-top: 40px;
    margin-bottom: 50px;
}

.refund-terms-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
    text-align: center;
}

.refund-terms-list {
    max-width: 1000px;
    margin: 0 auto;
}

.refund-term-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.refund-term-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.term-number {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-red);
    margin-right: 12px;
    min-width: 25px;
    flex-shrink: 0;
}

.term-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 500;
}

.term-main {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.term-sub-list {
    margin-left: 20px;
    margin-top: 8px;
}

.term-sub-item {
    font-size: 14px;
    line-height: 1.5;
    color: var(--medium-gray);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.term-sub-item:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 600;
}

.term-sub-item:last-child {
    margin-bottom: 0;
}

/* Call to Action */
.refund-cta {
    background: var(--light-gray);
    padding: 50px 30px;
    border-radius: 15px;
    margin-top: 50px;
}

.refund-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.refund-cta p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

.btn-primary:hover {
    background: #721229;
    border-color: #721229;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-header h3 {
        font-size: 28px;
    }
    
    .refund-title {
        font-size: 24px;
    }
    
    .refund-table {
        font-size: 13px;
    }
    
    .refund-table thead th,
    .refund-table tbody td {
        padding: 12px 8px;
    }
    
    .rule-item,
    .refund-term-item {
        padding: 12px 15px;
        margin-bottom: 12px;
    }
    
    .rule-text,
    .term-text {
        font-size: 14px;
    }
    
    .term-sub-item {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .refund-policy-content {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-header h3 {
        font-size: 24px;
    }
    
    .refund-title {
        font-size: 22px;
    }
    
    .refund-table {
        font-size: 12px;
        min-width: 700px;
    }
    
    .refund-table thead th,
    .refund-table tbody td {
        padding: 10px 6px;
    }
    
    .rule-item,
    .refund-term-item {
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    
    .rule-number,
    .term-number {
        font-size: 15px;
    }
    
    .rule-text,
    .term-text {
        font-size: 13px;
    }
    
    .term-sub-item {
        font-size: 12px;
    }
    
    .term-sub-list {
        margin-left: 15px;
    }
    
    .refund-cta {
        padding: 40px 20px;
    }
    
    .refund-cta h3 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 200px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 24px;
    }
    
    .section-header h3 {
        font-size: 22px;
    }
    
    .refund-title {
        font-size: 20px;
    }
    
    .refund-table {
        font-size: 11px;
        min-width: 650px;
    }
    
    .refund-table thead th,
    .refund-table tbody td {
        padding: 8px 4px;
    }
    
    .rule-item,
    .refund-term-item {
        padding: 8px 10px;
        margin-bottom: 8px;
    }
    
    .rule-number,
    .term-number {
        font-size: 14px;
        min-width: 20px;
    }
    
    .rule-text,
    .term-text {
        font-size: 12px;
    }
    
    .term-sub-item {
        font-size: 11px;
    }
    
    .term-sub-list {
        margin-left: 12px;
        margin-top: 6px;
    }
    
    .refund-cta {
        padding: 30px 15px;
    }
    
    .refund-cta h3 {
        font-size: 20px;
    }
}
