/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1, h2, h3 {
    color: #333;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.welcome-section p {
    line-height: 1.5;
    font-size: 18px;
    color: #555;
}

.payment-summary {
    margin-bottom: 40px;
}

.payment-summary h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.summary-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 45%;
    margin-bottom: 20px;
}

.summary-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.summary-item p {
    font-size: 16px;
    color: #333;
}

.news-board {
    margin-bottom: 40px;
}

.news-board h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.news-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 48%;
    margin-bottom: 20px;
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 16px;
    color: #555;
}

.news-item .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.news-item .read-more:hover {
    text-decoration: underline;
}

.header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.button:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Responsive styles */
@media (max-width: 768px) {
    main {
        max-width: 85%;
        margin: 0 auto;
        padding: 20px;
    }

    .summary-item, .news-item {
        width: 100%;
    }
}

.tooltip-trigger.tooltip-visible::after {
    content: attr(data-tooltip);
    position: absolute;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1000;
    top: 100%; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
}
