body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2c5aa0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: #2c5aa0;
}

/* Overview Section */
.overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232c5aa0" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center;
    background-size: cover;
    pointer-events: none;
}

/* Hero Section */
.overview-hero {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.overview-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-main-title {
    font-size: 3.2rem;
    color: #1e3d6f;
    font-weight: 800;
    margin-bottom: 20px;
}

.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ff6b35, #2c5aa0);
    margin: 20px auto;
    border-radius: 3px;
}

.overview-lead {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    font-weight: 400;
}

/* Cost Table Section */
.cost-table-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.table-section-title {
    font-size: 1.8rem;
    color: #1e3d6f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2c5aa0;
    font-weight: 700;
}

.section-note {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Cost Table Styling */
.cost-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.cost-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.cost-table thead {
    background: #4caf50;
}

.cost-table thead tr th {
    padding: 18px 15px;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 0.96rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

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

/* Column Widths */
.col-category {
    width: 5%;
    min-width: 50px;
}

.col-number-header {
    width: 6%;
    min-width: 50px;
}

.col-item-header {
    width: 22%;
    min-width: 180px;
}

.col-description-header {
    width: 37%;
    min-width: 250px;
}

.col-period-header {
    width: 12%;
    min-width: 100px;
}

.col-amount-header {
    width: 18%;
    min-width: 150px;
}

.col-total-header {
    width: 18%;
    min-width: 150px;
}

/* Table Body Cells */
.cost-table tbody tr {
    transition: background-color 0.2s ease;
}

.cost-table tbody tr:hover {
    background-color: #f8fafb;
}

.cost-table td {
    padding: 20px 15px;
    vertical-align: middle;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

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

.cost-table tbody tr:last-child td {
    border-bottom: none;
}

/* Category Cell */
.category-cell {
    text-align: center;
    font-weight: 700;
    color: #2e7d32;
    background: #e8f5e9;
    vertical-align: middle;
    font-size: 1.05rem;
    border-right: 2px solid #a5d6a7;
    white-space: nowrap;
}

.number-cell {
    text-align: center;
    font-weight: 700;
    color: #1976d2;
    font-size: 1.15rem;
    background: #e3f2fd;
    min-width: 55px;
    padding: 10px 15px;
    white-space: nowrap;
}

.item-cell {
    font-weight: 600;
    color: #1e3d6f;
    font-size: 0.98rem;
    line-height: 1.6;
    padding-left: 15px;
    white-space: normal;
}

.description-cell {
    color: #555;
    line-height: 1.7;
    font-size: 0.93rem;
    padding-left: 15px;
    white-space: normal;
}

.period-cell {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.92rem;
    background: #f8f9fa;
    white-space: nowrap;
    padding: 15px 10px;
}

.amount-cell {
    text-align: center;
    font-weight: 700;
    color: #e65100;
    font-size: 1.08rem;
    background: #fff3e0;
    white-space: nowrap;
    padding: 15px 12px;
}

.total-cell {
    text-align: center;
    font-weight: 700;
    color: #c62828;
    font-size: 1.08rem;
    background: #ffebee;
    white-space: nowrap;
    padding: 15px 12px;
}

/* Note Text inside cells */
.note-text {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff3e0;
    border-left: 3px solid #ff6b35;
    font-size: 0.88rem;
    color: #666;
    border-radius: 3px;
}

/* Table Footer (Subtotal Row) */
.cost-table tfoot {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.subtotal-row {
    border-top: 3px solid #4caf50;
}

.subtotal-row td {
    padding: 22px 15px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.subtotal-label {
    text-align: right;
    color: #1e3d6f;
    font-size: 1.2rem;
    padding-right: 25px;
    white-space: nowrap;
}

.subtotal-amount {
    text-align: center;
    color: #d84315;
    font-size: 1.35rem;
    background: #ffe0b2;
    padding: 10px 15px;
    white-space: nowrap;
    font-weight: 800;
}

/* Explanation Box */
.explanation-box {
    margin-top: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.explanation-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.explanation-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.explanation-item h4 {
    color: #1e3d6f;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.explanation-item p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

/* Section Summary */
.section-summary {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffe082 100%);
    border-left: 5px solid #ff6b35;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

.summary-note {
    color: #555;
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
}

.summary-note strong {
    color: #1e3d6f;
    font-size: 1.15rem;
    display: block;
    margin-bottom: 15px;
}

.highlight-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #e65100;
    margin: 15px 0;
    text-align: center;
}

/* Total Cost Box */
.total-cost-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1f36 100%);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.4);
    margin: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.total-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.total-amount-display {
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.amount-range {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffeb3b;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6),
                 0 0 30px rgba(255, 235, 59, 0.3);
    letter-spacing: 2px;
}

.amount-note {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.total-disclaimer {
    font-size: 1.15rem;
    margin: 30px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.total-disclaimer i {
    font-size: 1.4rem;
    color: #ffeb3b;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-text-white {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-main-title {
        font-size: 2.5rem;
    }

    .amount-range {
        font-size: 2.8rem;
    }

    .cost-table thead tr th {
        padding: 12px 8px;
        font-size: 0.88rem;
    }

    .cost-table td {
        padding: 15px 8px;
    }
}

@media (max-width: 768px) {
    .overview-main-title {
        font-size: 2rem;
    }

    .table-section-title {
        font-size: 1.5rem;
    }

    /* Make table scrollable on mobile */
    .cost-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .cost-table {
        min-width: 750px;
    }

    .cost-table thead tr th {
        padding: 14px 8px;
        font-size: 0.85rem;
    }

    .cost-table td {
        padding: 16px 10px;
        font-size: 0.88rem;
    }

    .category-cell {
        font-size: 0.9rem;
    }

    .number-cell {
        font-size: 1rem;
    }

    .item-cell {
        font-size: 0.88rem;
    }

    .description-cell {
        font-size: 0.86rem;
    }

    .period-cell {
        font-size: 0.85rem;
    }

    .amount-cell {
        font-size: 0.95rem;
    }

    .total-cell {
        font-size: 0.95rem;
    }

    .explanation-box {
        padding: 20px;
    }

    .explanation-item h4 {
        font-size: 1rem;
    }

    .explanation-item p {
        font-size: 0.9rem;
    }

    .section-summary {
        padding: 20px;
    }

    .summary-note {
        font-size: 0.95rem;
    }

    .total-cost-box {
        padding: 35px 25px;
    }

    .total-title {
        font-size: 1.6rem;
    }

    .amount-range {
        font-size: 2.2rem;
    }

    .amount-note {
        font-size: 1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .overview-main-title {
        font-size: 1.7rem;
    }

    .overview-lead {
        font-size: 1.1rem;
    }

    .table-section-title {
        font-size: 1.3rem;
    }

    .cost-table {
        min-width: 600px;
    }

    .cost-table thead tr th {
        padding: 8px 5px;
        font-size: 0.78rem;
    }

    .cost-table td {
        padding: 10px 5px;
        font-size: 0.84rem;
    }

    .amount-range {
        font-size: 1.9rem;
    }

    .total-title {
        font-size: 1.4rem;
    }
}
