

/* First Section */
#first-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('background.jpg') center center/cover no-repeat;
    min-height: 100vh;
    color: #ffffff; /* White text for contrast */
    padding: 40px 20px;
}

/* Grid Button */
.grid-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9); /* Light background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: #272729; /* Use the mean color */
    font-size: 16px;
    font-weight: bold;
}

.grid-button:hover {
    transform: scale(1.05);
    background-color: rgba(240, 240, 240, 1); /* Light gray hover */
}

.grid-button img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}


/* Mobile-specific styles */
@media (max-width: 768px) {
    .grid-button {
        flex: 1 1 auto; /* Allow cards to grow/shrink evenly */
        width: 100%; /* Full width within the column */
        height: 150px; /* Fixed height */
    }

    .grid-button p {
        font-size: 14px; /* Adjust font size for better readability */
        word-wrap: break-word;
        line-height: 1.2;
    }

    .grid-button img {
        width: 50px; /* Slightly larger icons for mobile */
        height: 50px;
        margin-bottom: 5px;
    }
}

.knowledge-text {
    font-size: 14px;
    color: white; /* Keep white for text on dark backgrounds */
    margin-top: 20px;
    text-align: center;
}

/* General Search Bar Style */
.search-bar {
    margin: 20px auto;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    background-color: #e5e5e5; /* Soft light gray */
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Controls Styling */
.search-form select,
.search-form input,
.search-form button {
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db; /* Light border */
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-form select {
    background-color: #ffffff; /* White for select */
}

.search-form input {
    background-color: #f9fafb; /* Light gray */
}

.search-form button {
    background-color: #007bff; /* Primary blue */
    color: #ffffff; /* White text for contrast */
    font-weight: bold;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #0056b3; /* Dark blue on hover */
    transform: scale(1.05);
}

/* Today's Events Section */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 10px;
    background-color: #ffffff; /* Card background */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h2 {
        font-size: 24px;
    }
    .about-content p {
        font-size: 16px;
    }
}

/* Search Results */
.search-results {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 25%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #e5e5e5; /* Light gray for results */
    color: #272729; /* Mean color for text */
    border: 1px solid #ddd; /* Light border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
}

.search-results li:hover {
    background-color: #c6c6c6; /* Slight gray hover effect */
}


.contact-detail {
    /* Default text and layout direction */
    direction: ltr;
    text-align: left;
}

.contact-detail.rtl {
    /* Styles for RTL layout */
    direction: rtl;
    text-align: right;
}

.contact-item {
    /* Common item styles */
    border-right: 5px solid transparent; /* Initially transparent */
    transition: background-color 0.3s; /* Smooth transition */
}

.contact-item.location {
    border-color: #28a745; /* Location color */
    background-color: #e9f5ee; /* Location background */
}

.contact-item.mobile {
    border-color: #17a2b8; /* Mobile color */
    background-color: #e9fcfd; /* Mobile background */
}

.contact-item.email {
    border-color: #ffc107; /* Email color */
    background-color: #fff8e1; /* Email background */
}

.icon {
    font-size: 36px; /* Icon size */
    margin-left: 15px; /* Space from the left */
}

.info {
    flex-grow: 1; /* Allow info section to grow and fill space */
    margin: 10px; /* Adjust margin based on layout */
}


.footer {
    background-color: #000;
    color: white;

    /*.border-muted-foreground {*/
    /*    border-color: #444; // Adjust to match the muted color you want*/
    /*}*/

    /*.font-semibold {*/
    /*    font-weight: 600;*/
    /*}*/

    .text-white {
        color: white;
    }

    @media (max-width: 767px) {
        .footer {
            text-align: center;

            .col-12 {
                margin-bottom: 1rem;
            }

            .font-semibold {
                text-align: center;
            }
        }
    }
}
