
        .position-relative {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
        }

        .search-input {
            width: 100%;
            padding: 10px;
            font-size: 20px;
            border: 2px solid #1F51FF;
            border-radius: 4px 0 0 4px;
            color: #000;
            box-sizing: border-box;
        }

        .search-button {
            padding: 10px 20px;
            font-size: 20px;
            border: none;
            background-color: #007bff;
            color: white;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            white-space: nowrap;
        }

        .clear-button {
            position: absolute;
            right: 10px;
            background: transparent;
            border: none;
            cursor: pointer;
            color: #1F51FF;
            font-size: 18px;
        }

        .clear-button:hover {
            color: #000;
        }

        h2 {
            color: #1F51FF;
            font-weight: bold;
            text-align: center;
        }

        .form-inline {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
        }

        /* Change icon color */
        .fa-search {
            color: white;
        }

        .fa-times {
            color: #1F51FF;
        }

        .fa-times:hover {
            color: #000;
        }

        @media (max-width: 576px) {
            .form-inline {
                flex-direction: row;
                justify-content: center;
                align-items: center;
                width: 100%;
            }

            .search-input {
                width: 100%;
                font-size: 14px;
                padding: 10px;
                border-radius: 4px 0 0 4px;
                border: 2px solid #1F51FF;
            }

            .search-button {
                width: auto;
                font-size: 20px;
                padding: 10px 20px;
                background-color: #007bff;
                color: white;
                border-radius: 0 4px 4px 0;
            }

            h2 {
                font-size: 30px;
                margin-bottom: 20px;
                color: #1F51FF;
                text-align: center;
            }

            #clearSearch {
                right: 10px;
                font-size: 18px;
            }

            #suggestionsList {
                max-width: 100%;
            }
        }
        body {
            font-family: 'PT Sans Narrow', sans-serif;
            color: #333333;
            background-color: #f4f6f9;
        }

        /* General style reset to prevent overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

        .search-container {
            text-align: center;
            margin-top: 150px;
            position: relative;
        }

        .search-input {
            width: 100%;
            max-width: 800px;
            padding: 5px;
            font-size: 16px;
            border: 2px solid #1F51FF;
            transition: all 0.3s ease;
        }

        .search-input:hover {
            border-color: #ff6600;
        }

        .search-button {
            padding: 8px 20px;
            font-size: 20px;
            border: none;
            background-color: #1F51FF;
            color: white;
            cursor: pointer;
            margin-left: 10px;
            transition: background-color 0.3s ease;
            font
        }

        .search-button:hover {
            background-color: #ff6600;
        }

        .card {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
        }


        .bordered-row {
            border-bottom: 1px solid #dee2e6;
            padding-bottom: 8px;
            margin-bottom: 8px;
        }

        .footer {
            text-align: center;
            font-size: 14px;
            margin-top: 50px;
            color: #666666;
        }

        .badge {
            font-size: 0.5em;
        }

        .card-header h4 {
            margin-bottom: 0;
        }

        .badge.bg-info {
            background-color: #0F52BA !important;
            font-size: 15px;
        }


        #suggestionsList {
            position: absolute;
            width: 20%;
            z-index: 1000;
            top: 100%;
            left: 230px;
            background-color: #fff;
            border: 1px solid #007BFF;
            border-top: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 0 0 4px 4px;
            max-width: calc(100% - 300px);
        }

          /* Suggestion List Styling */
        #suggestionsList {
            width: 300px; 
            max-width: 200px; /* Limit the width */
            max-height: 200px; /* Limit the height */
            overflow-y: auto; /* Enable scrolling if content overflows */
            font-size: 14px; /* Reduce font size */
            padding: 2px 4px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-family: 'Roboto', sans-serif;
        }

        .suggestion-item:hover {
            background-color: #007bff;
            color: white;
        }
        @media (max-width: 1024px) {
            #suggestionsList {
                left: 150px;
                max-width: calc(100% - 150px);
            }
        }

        @media (max-width: 768px) {
            #suggestionsList {
                left: 0;
                width: 100%;
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            #suggestionsList {
                width: 100%;
                left: 0;
            }
        }

        .suggestion-item {
            padding: 4px 10px; 
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #e9ecef;
            font-size: 14px; 
        }

        #suggestionsList .list-group-item {
        padding: 2px 4px !important; /* Ensure all items have the same padding */
        font-size: 14px;
        text-align: left;
        }

        .suggestion-item:last-child {
            border-bottom: none;
        }

        .suggestion-item:hover, .suggestion-item:focus {
            background-color: #e9ecef;
            color: #007BFF;
            text-decoration: none;
        }

        .com-header {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .com-body h3, .com-body h4 {
            margin: 0;
            padding: 0;
        }

        .com-body h3 {
            color: #ff8c1a;
            font-size: 20px;
            text-align: center;
            font-weight: bold;
            letter-spacing: 2px;
        }

        .com-body h4 {
            color: #337ab7;
            font-size: 20px;
            text-align: center;
            font-weight: bold;
        }

       /* Styles for the "Tampók na Salitâ" and "Alám mo ba?" sections */
#feature-section {
    display: flex;
    justify-content: center;  /* Center the cards horizontally */
    gap: 20px;  /* Maintain gap between the two cards */
    margin-top: 50px;
    max-width: 1200px;  /* Optional: restrict maximum width for better appearance */
    margin-left: auto;  /* Center the entire section within the page */
    margin-right: auto; /* Center the entire section within the page */
}

.feature-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 300px;  /* Define a minimum width for the cards to prevent them from shrinking too small */
    max-width: 800px;  /* Define a maximum width for better control */
    position: relative;
    overflow: hidden;
}


        .feature-header {
            color: #007bff;
            font-size: 25px;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .feature-entry {
            color: orange;
            font-weight: bold;
            font-size: 36px;
            margin-bottom: 20px;
        }

        .btn-feature {
            display: inline-block;
            background-color: #007bff;
            color: #ffffff;
            padding: 10px 20px;
            font-size: 20px;
            border-radius: 5px;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.3s ease;
            margin-top: 10px;
        }

        .btn-feature:hover {
            background-color: yellow;
            transform: scale(1.05);
        }

        .feature-no-result {
            color: #6c757d;
        }
          @keyframes think {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            25% { transform: translateY(-5px) rotate(10deg); }
            75% { transform: translateY(-5px) rotate(-10deg); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .feature-item {
            background-color: #f0f0f0;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }


        .avatar {
            font-size: 48px;
            position: absolute;
            right: 10px;
            bottom: 50px;
            animation: float 3s ease-in-out infinite;
        }

        .avatar .body {
            display: inline-block;
        }

        .avatar .hand {
            display: inline-block;
            animation: think 2s infinite;
            transform-origin: bottom right;
        }

        .com-body {
            font-size: 19px;
            line-height: 1.5;
            margin-right: 80px;
            color: #444;
        }

        .thought-bubble {
            position: absolute;
            right: 75px;
            bottom: 70px;
            font-size: 30px;
            animation: float 3s ease-in-out infinite 0.5s;
        }
        /* Custom bullet for idyoma and kahulugan */

/* Bullet for idyoma_pangungusap styled as per the image */
.pangungusap-bullet {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #333;  /* Dark circle */
    border-radius: 50%;
    position: relative;
    margin-right: 10px;
}

.pangungusap-bullet::before {
    content: '\27A4'; /* Thicker Unicode arrow (➤) */
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
 @media (max-width: 768px) {
            .search-input {
                width: 100%;
            }
            
            #feature-section {
                flex-direction: column;
                margin-left: 20px;  /* Reduced left margin for mobile */
                margin-right: 20px; /* Reduced right margin for mobile */
            }
            
            .feature-item {
                width: 100%;
            }
        }
 