/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Header styling */
h1 {
    text-align: center;
    padding-top: 20px;
    color: #333;
}

/* Search bar styling */
.search-bar {
    position: absolute;
    right: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    width: 250px;
    max-width: 100%;
    background-color: #fff;
}

/* Card container styling */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 20px;
    justify-items: center;
}

/* Card styling */
.card {
    width: 100px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: center;
    background-color: #fff;
}

/* Hover effect for cards */
.card:hover {
    transform: scale(1.05);
}

/* Card image styling */
.card img {
    width: 50%;  /* Ensure the image takes full width of the card */
    height: 50%; /* Ensure the image takes full height of the card */
    object-fit: contain; /* Ensure the entire image fits without cropping */
    object-position: center; /* Center the image inside the card */
}
/* Details section inside the card */
.card .details {
    padding: 8px;
    background-color: #f9f9f9;
}

.card .details h3 {
    font-size: 16px;
    color: #333;
}

/* Footer styling */
footer {
    position: fixed;
    left: 0;
    bottom: -60px;
    width: 100%;
    background-color: #454545;
    padding: 10px 20px;
    text-align: center;
    align-items: center;
    transition: bottom 0.3s;
    z-index: 10;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: white;
}

/* Navigation Bar */
.navbar {
    background-color: #343a40;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul li {
    margin: 0 6px;
}

.navbar ul li a {
    text-decoration: none;
    color: #f8f9fa;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.navbar ul li a:hover {
    color: #343a40;
    background-color: #f8f9fa;
}

/* About Section Styling */
#about {
    background-color: #e9ecef;
    padding: 40px 20px;
}

#about-h1 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

#about-p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* About Card Styling */
#about-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 30px;
    max-width: 33%;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
    margin: left-side;
}

#about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#about-h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

#about-link {
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#about-link:hover {
    color: #0056b3;
    text-decoration: underline;
}


#home {
    background-color: #767a77;
    padding: 40px 20px;
}

/* General body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Welcome Text Styling */
h1.welcome-text {
    color: #f5f0f0; /* Text color */
    text-align: center; /* Center the header */
    padding-top: 20px;
    margin-bottom: 40px; /* Space below the welcome text */
}

#cards-con {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
	
   
     
}
#home-card, #right-home-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    max-width: 30%; /* Cards take 48% of container width */
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}
/* Specific styling for the right card (optional different background color) */
#right-home-card {
    background-color: #f0f0f0; /* Different background for right card */
}

/* Hover effect for both cards */
#home-card:hover, #right-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Header inside the cards */
#home-h3, #right-home-h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Links inside the cards */
#home-link, #right-home-link {
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Link hover effect */
#home-link:hover, #right-home-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #cards-con {
         flex-wrap: nowrap; /* Prevent wrapping to the next line */
        justify-content: flex-start; /* Align cards to the start */
        overflow-x: auto; /* Allow horizontal scrolling if cards overflow */
    }

    #home-card, #right-home-card {
 flex: 1 1 300px;  /* Prevent cards from shrinking */
        width: 300px; /* Or whatever fixed size you want */
    }
}

.dropdown-toggle i {
    margin-left: 8px; /* Space between text and icon */
    font-size: 20px; /* Adjust the icon size */
    vertical-align: middle; /* Align the icon with text */
    color: white; /* Change icon color (works for Font Awesome) */
}

/* Style for image-based icons next to text in navigation */
#dropdownButton {
    margin-left: 2px; /* Space between text and icon */
    width: 20px; 
    height: auto; /* Keep aspect ratio */
    vertical-align: middle; /* Align the icon with text */
    filter: brightness(0) invert(1); /* For image icons, makes them white */
}
.menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 200%;
    left: -280px;  /* Position the menu to the left */
    background-color: #f1f1f1;
    min-width: 50px;
    border: 1px solid #ddd;
    z-index: 1;
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu ul li {
    padding: 4px 8px;
}

.dropdown-menu ul li a {
	font-size: 14px;
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-menu ul li:hover {
    background-color: #ddd;
}

.dropdown-toggle {
    cursor: pointer;
}