/* SSS Academies Rate Sheet Styles */

:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2744;
    --secondary-color: #c9a227;
    --secondary-light: #d4b84a;
    --accent-color: #38a169;
    --accent-dark: #2f855a;
    --error-color: #e53e3e;
    --warning-color: #dd6b20;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.rate-sheet-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 60px;
    width: auto;
}

.header-text h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.header-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.apply-btn {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Quick Facts */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px;
    background: var(--white);
    margin-top: -30px;
    margin-left: 40px;
    margin-right: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}

.fact-card {
    text-align: center;
    padding: 20px;
}

.fact-card i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.fact-card h3 {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fact-card p {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 30px;
}

/* Tuition Section */
.tuition-section {
    padding: 60px 40px;
    background: var(--white);
}

.tuition-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.tuition-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.tuition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tuition-card.primary {
    border-color: var(--primary-color);
}

.tuition-card.secondary {
    border-color: var(--secondary-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 22px;
    color: var(--primary-color);
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-price {
    margin-bottom: 25px;
}

.card-price .currency {
    font-size: 24px;
    color: var(--text-light);
    vertical-align: top;
}

.card-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
}

.card-features {
    list-style: none;
}

.card-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features i {
    color: var(--accent-color);
}

.card-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
    font-style: italic;
}

.total-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    padding: 30px 40px;
}

.total-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 20px;
    color: var(--white);
}

.total-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
}

/* Discount Section */
.discount-section {
    padding: 40px;
    background: var(--bg-color);
}

.discount-card {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border: 2px solid #90cdf4;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.discount-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discount-icon i {
    font-size: 36px;
    color: var(--secondary-color);
}

.discount-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.discount-content p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.discount-amount, .discount-result {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #90cdf4;
}

.discount-amount .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--error-color);
}

.discount-result .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Fees Section */
.fees-section {
    padding: 60px 40px;
    background: var(--white);
}

.fees-table-container {
    overflow-x: auto;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.fees-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
}

.fees-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.fees-table tr:hover {
    background: var(--bg-color);
}

.sport-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.sport-name i {
    color: var(--secondary-color);
    width: 24px;
}

.fee-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Additional Fees */
.additional-fees-section {
    padding: 60px 40px;
    background: var(--bg-color);
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fee-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.fee-card.required {
    border-left: 4px solid var(--primary-color);
}

.fee-card.optional {
    border-left: 4px solid var(--text-light);
}

.fee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.fee-header h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.fee-type {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-light);
    font-weight: 600;
}

.fee-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fee-price .per-year {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.fee-description {
    font-size: 14px;
    color: var(--text-light);
}

/* Included Section */
.included-section {
    padding: 60px 40px;
    background: var(--white);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.included-category {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 25px;
}

.included-category h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.included-category h4 i {
    color: var(--secondary-color);
}

.included-category ul {
    list-style: none;
}

.included-category li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.included-category li:last-child {
    border-bottom: none;
}

/* Not Included Section */
.not-included-section {
    padding: 40px;
    background: #fff5f5;
}

.not-included-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.not-included-item {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #feb2b2;
}

.not-included-item i {
    color: var(--error-color);
}

/* Payment Section */
.payment-section {
    padding: 60px 40px;
    background: var(--white);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.payment-option {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--border-color);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.option-header h4 {
    font-size: 20px;
    color: var(--primary-color);
}

.recommended {
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-schedule {
    margin-top: 20px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .date {
    color: var(--text-light);
}

.schedule-item .amount {
    font-weight: 700;
    color: var(--primary-color);
}

.payment-methods {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.payment-methods h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.methods-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.methods-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.methods-list i {
    color: var(--secondary-color);
}

/* Calculator Section */
.calculator-section {
    padding: 60px 40px;
    background: var(--bg-color);
}

.calculator {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.calc-row {
    margin-bottom: 20px;
}

.calc-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.calc-row select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.calc-row select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calc-results {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.calc-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.calc-line.discount span:last-child {
    color: var(--accent-color);
    font-weight: 600;
}

.calc-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.calc-total span:last-child {
    font-size: 28px;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-info {
    font-size: 16px;
    opacity: 0.9;
}

.contact-info i {
    margin-right: 5px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 30px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

.footer .disclaimer {
    font-size: 12px;
    margin-top: 15px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px;
    }

    .tuition-cards {
        grid-template-columns: 1fr;
    }

    .fees-grid {
        grid-template-columns: 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .total-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .discount-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .header {
        position: static;
    }

    .apply-btn,
    .cta-section,
    .calculator-section {
        display: none;
    }

    .tuition-card:hover,
    .fee-card:hover {
        transform: none;
        box-shadow: none;
    }
}
