/* ===== Page Header ===== */
.page-header {
    text-align: center;
    padding: 120px 20px 70px; /* Increased top padding to separate from navbar */
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    color: white;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg width='100%' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 C150,0 350,150 600,50 L600,100 L0,100 Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    font-weight: 400;
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    margin: 70px 0 35px;
}

.section-title h2 {
    font-size: 2rem;
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border-radius: 5px;
}

.section-title p {
    color: #555;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Grid Cards ===== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 30px;
}

.card-icon {
    font-size: 46px;
    color: #00a2ff;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.card-text {
    color: #555;
    font-size: 1rem;
    margin: 6px 0;
}

.fee-badge {
    background: #f0f8ff;
    color: #0056b3;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== Table ===== */
.modern-table-container {
    margin: 40px auto 70px;
    max-width: 1000px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.modern-table th {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    color: white;
    font-weight: 600;
    padding: 15px;
    font-size: 1rem;
}

.modern-table td {
    color: #333;
    vertical-align: middle;
    padding: 14px;
}

.modern-table tr:hover {
    background-color: #f5f9ff;
}

/* ===== Buttons ===== */
.btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border: none;
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline-danger {
    border: 2px solid #ff4b5c;
    color: #ff4b5c;
}

.btn-outline-danger:hover {
    background: #ff4b5c;
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 110px 15px 60px;
    }

    .page-header h1 {
        font-size: 1.9rem;
    }

    .card-body {
        padding: 25px;
    }

    .btn {
        width: 90%;
        margin: 5px auto;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}
