/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.section {
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-lg-12 {
    flex: 1 1 100%;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Search Bar */
.search-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.search-container input:focus {
    border-color: var(--primary-hover-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.33% - 40px);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.card p {
    font-size: 0.9rem;
    color: #555;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}

/* Message Popup */


/* Introduction Section */
.tool-intro {
    background-color: #f9f9f9;
    padding: 40px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.tool-intro .intro-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tool-intro .intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.tool-intro .intro-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.tool-intro .intro-list li {
    margin-bottom: 10px;
    color: #555;
}

.tool-intro .intro-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.tool-intro .intro-list li strong {
    color: var(--primary-hover-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: var(--primary-hover-color);
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#preloader.hidden {
    display: none;
}