#container {
    width: 100%;
    max-width: 900px;
    /* Or adjust to your preferred width */
    padding: 150px 0 20px 0;
    /* Center horizontally */

    /* Add some padding for spacing */
    text-align: center;
    /* Keep the text alignment */



}


@media screen and (min-width: 1440px) {
    #container {
        padding: 265px 0 20px 0;
        /* Padding for larger screens */
    }
}



body {
    font-family: 'Roboto', sans-serif;
    background-color: white !important;
    /* Light gray for better aesthetics */
    margin: 0;
    padding: 0;
    color: #202124;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-top: 30px;
    font-size: 28px;
    font-weight: 500;
    color: #202124;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 0 10px;
}

#searchInput {
    width: 600px;
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 24px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 1px 6px rgba(66, 133, 244, 0.5);
}

button {
    padding: 14px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 24px;
    margin-left: 10px;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #3367d6;
}

#resultsInfo {
    text-align: center;
    font-size: 14px;
    color: #5f6368;
    margin-top: 20px;
}

#results {
    margin-top: 20px;
    padding: 0 10px;
    text-align: left;
    /* Align text to the left for better readability */
}

.result-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.result-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 8px;
}

.result-item h3 {
    margin: 0;
    font-size: 18px;
    color: #1a73e8;
    font-weight: 500;
}

.result-item h3 a {
    text-decoration: none;
    color: inherit;
}

.result-item h3 a:hover {
    text-decoration: underline;
}

.result-item p {
    font-size: 14px;
    color: #5f6368;
    margin-top: 10px;
}

.result-item a {
    color: green;
    /* Make site URL green */

}

.result-item a:hover {
    text-decoration: underline;
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination button {
    padding: 12px 20px;
    margin: 0 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.pagination button:hover {
    background-color: #3367d6;
}

.pagination button.disabled {
    background-color: #f1f3f4;
    cursor: not-allowed;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4285f4;
    animation: bounce 1s infinite alternate;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10px);
        opacity: 1;
    }
}


/* Container and Row */
.container {
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    padding: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

/* Card */
.card {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 10px;
}

/* Card Body */
.card-body {
    padding: 20px;
}

/* Columns */
.col-left,
.col-right,
.col-full {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.col-left {
    flex: 2;
}

.col-right {
    flex: 1;
    justify-content: center;
}

.col-full {
    flex-basis: 100%;
    justify-content: start;
    text-align: left;
}

/* Title and Subtitle */
.title {
    font-size: 1.5rem;
    margin: 0;
}

.sub-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.description {
    font-size: 0.9rem;
    color: #333;
}

/* Button Styles */
.btn-share {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.icon-share {
    fill: currentColor;
    stroke: currentColor;
    color: #333;
}

.btn-call {
    display: inline-block;
    color: #fff;
    background-color: #007bff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-call:hover {
    background-color: #0056b3;
}

/* Image */
.img-ad {
    max-width: 100px;
    max-height: 40px;
    border-radius: 5px;
}

/* Card Footer */
.card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 15px;
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}






/* all pASGES CSS // */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.content {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #34495e;
    border-bottom: 2px solid #dfe4ea;
    padding-bottom: 5px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {


    h1 {
        font-size: 2rem;
    }

    #searchInput {
        width: 100%;
        font-size: 16px;
    }

    button {
        font-size: 14px;
        padding: 12px 15px;
    }

    .result-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .result-item img {
        margin-bottom: 15px;
    }

    .result-item h3 {
        font-size: 16px;
    }

    .pagination button {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    body {
        zoom: 85%;
    }

    h1 {
        font-size: 1.8rem;
    }

    .search-container {
        flex-direction: column;
        gap: 5px;
    }

    .result-item p {
        font-size: 12px;
    }

    .pagination button {
        font-size: 12px;
        padding: 8px 10px;
    }
}