/* Intro Card Styles */
.intro-card {
    background-color: rgba(248, 248, 248);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    text-align: left; /* Change text alignment to left */
    width: 80%;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.intro-card:hover {
    transform: scale(1.02); /* Scale up slightly on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* List Styles for Intro Card */
.intro-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.intro-card li {
    margin-bottom: 10px;
}

/* Category Card Styles */
.category-card {
    background-color: rgb(248, 248, 248); /* Use rgb(248, 248, 248) for background color */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.category-card:hover {
    transform: scale(1.02); /* Scale up slightly on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* Group Card Styles */
.group-card {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    display: flex; /* Use flexbox */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    width: fit-content; /* Adjust width to fit content */
    text-align: left;
    border: 2px solid; /* Ensure border color is applied */
    background-color: rgb(248, 248, 248); /* Use rgb(248, 248, 248) for background color */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for hover effect */
}

.group-card:hover {
    transform: scale(1.05); /* Scale up on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* Title */
.category-title {
    margin-bottom: 10px;
    font-weight: bold; /* Make category title bold */
    transition: color 0.3s; /* Add transition for hover effect */
}

.category-title:hover {
    color: #3d80ae; /* Change color on hover */
}

/* Title */
.group-title {
    margin-bottom: 5px; /* Reduce bottom margin */
    font-size: large; /* Set font size to normal */
    font-weight: bolder; /* Add bold font weight */
    padding: 10px 20px; /* Add padding for rectangular appearance */
    flex: 1; /* Allow title to grow */
    transition: color 0.3s; /* Add transition for hover effect */
    
}

.group-title:hover {
    color: #3d80ae; /* Change color on hover */
}

/* Subtitle */
.category-subtitle {
    margin-bottom: 15px;
    text-align: center; /* Center the subtitle */
}

/* Subtitle */
.group-subtitle {
    margin-top: 0.5rem;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: center; /* Center the subtitle */
    color: #555; /* Use the previous color */
}

/* Description Box */
.description_box {
    margin: 15px 0;
    line-height: 1.5;
}

/* See More Button Container */
.see-more-container {
    text-align: center;
    margin-top: 20px;
}

/* See More Button */
.see-more-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #3d80ae;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

/* Hover State for the Button */
.see-more-button:hover {
    background-color: #2c6d99;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
