/* Main Container Spacing (clearing fixed navbar) */
.tearmscontainer {
    padding: 120px 0 60px 0;
    background-color: #f8f9fa;
    /* Light gray background for the whole section */
}

/* Content Card Styling */
.about-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #eef0f2;
}

/* Typography */
.about-content h4 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.about-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #ff6b6b;
    /* Accent color */
    border-radius: 2px;
}

.about-content p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* List Styling (Terms) */
.list-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-style li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

/* Custom Checkmark Icon */
.list-style li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #28a745;
    /* Green checkmark */
    font-size: 14px;
}

/* Table Styling (Fees) */
.fees table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    /* For rounded corners on the table */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fees table thead {
    background-color: #2c3e50;
    /* Dark header */
    color: #ffffff;
}

.fees table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fees table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 15px;
}

.fees table tbody tr:last-child td {
    border-bottom: none;
}

.fees table tbody tr:hover {
    background-color: #f8fbfd;
    /* Subtle hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        padding: 25px;
    }

    .fees table th,
    .fees table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}