/* ADSENSE */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}


.navbar .logo {
    flex: 0 0 auto;
}

.navbar .logo-img {
    height: 40px;  /* Adjust the size of the logo */
    width: auto;   /* Maintain the aspect ratio */
    display: block; /* Remove any extra space below the image */
}
.pulse {
  animation: pulse-animation 1.5s infinite;
}
.apk-download {
    margin: 20px 0;
}

.apk-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out; /* Added smooth transition */
}

.apk-button i {
    margin-right: 10px; /* Space between the icon and text */
}

.apk-button:hover {
    background-color: #005bb5;
    transform: translateY(-3px); /* Slightly lifts the button on hover */
}

.apk-button:active {
    transform: translateY(1px); /* Button depresses slightly on click */
}


/* Define the pulse effect */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .item {
        background: #fff;
        border: 1px solid #ddd;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
/* General styles */
body {
  margin: 0;
  padding: 0;
  border: none;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: white;
  overflow-x: hidden; /* Prevent horizontal scroll */
  width: 100vw;        /* Ensure full viewport width */
  box-sizing: border-box;
}
.location-dropdown {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 10px;
}

/* Navbar styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, white, white);
    padding: 10px 20px; /* Added horizontal padding */
    flex-wrap: wrap;
}

/* Logo styles */
.logo {
    font-size: 2em;
    font-weight: bold;
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Make it inline-block to allow centering */
}

/* Color styling for "K" and "UKOOO" */
.logo .k {
    color: #0473EA; /* Blue color for "K" */
}

.logo .ukooo {
    color: #38D200; /* Green color for "UKOOO" */
}

/* Center the logo on smaller screens */
@media (max-width: 768px) {
    .logo {
        display: flex;
        justify-content: center; /* Horizontally center the logo */
        align-items: center; /* Vertically center the logo */
        width: 100%;
        font-size: 1.8em; /* Adjust font size for smaller screens */
    }
}

/* Input Fields and Form Styling */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
}

select {
    border-left: none; /* Remove left border for seamless look */
    margin-left: -1px; /* Adjust to prevent double border */
}

/* Search container */
.search-container {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    width: 700px; /* Default width */
    margin: 0 auto; /* Center horizontally */
    margin-top: 10px;
}

/* Styles for the search input */
.search-container input[type="text"] {
    flex: 6; /* Increase the search input width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px 0 0 10px; /* Rounded corners only on left */
    font-size: 16px;
}

.search-container select {
    flex: 2; /* Set a smaller size for the location dropdown */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0; /* No rounded corners */
    font-size: 12px;
}

/* Search button */
.search-button {
    padding: 10px;
    background-color: #06af9b;
    height: 41px;
    border: none;
    color: white;
    border-radius: 0 10px 10px 0; /* Rounded corners only on right */
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #03786a; /* Change color on hover */
}



/* Post ad button */
.post-ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 30px; /* Round corners */
    background: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; /* Add default margin below the button */
}

/* Add margin-right to space the icon from the text */
.post-ad-btn i {
    margin-right: 8px;
}

/* Hover effect for post-ad-btn */
.post-ad-btn:hover {
    background: linear-gradient(135deg, #1a6bff, #32d200); /* Darker gradient on hover */
    transform: translateY(-3px); /* Lift effect on hover */
}

/* Active effect for post-ad-btn */
.post-ad-btn:active {
    transform: translateY(1px); /* Slight press effect */
}

/* Center post-ad-btn for small screens */
@media (max-width: 768px) {
    .post-ad-btn {
        display: block; /* Change to block to allow centering */
        width: 90%; /* Make it take most of the screen width */
        max-width: 350px; /* Limit max width for the button */
        margin: 20px auto; /* Center button horizontally */
        text-align: center; /* Center the text inside */
    }
}



/* Style for user links */
.user-link, .logout-link {
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.user-link:hover, .logout-link:hover {
    color: #007BFF;
}

/* External links (Job Seeker & Radio Mic) */
.external-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-left: 20px; /* Space between the links */
}

.external-link i {
    margin-right: 8px; /* Space between icon and text */
}

.external-link:hover {
    color: #007BFF;
}

/* For the icons */
#job-seeker-link i {
    color: #2C3E50;
}

#radio-link i {
    color: #E74C3C;
}
/* Account Links styles */
#account-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Style for account links */
.account-links {
    display: flex;
    align-items: center;
}

/* Style for username link */
.account-links .user-link {
    margin-right: 15px;
    font-weight: bold;
    color: #06af9b;
    text-decoration: none;
}

.account-links .user-link:hover {
    color: #0473EA;
}

/* Style for logout link */
.account-links .logout-link {
    color: #E74C3C;
    text-decoration: none;
    font-weight: bold;
}

.account-links .logout-link:hover {
    color: #C0392B;
}

/* Icon styles */
.icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .account-links {
        justify-content: center;
        width: 100%;
        border-top: 1px solid #ddd;
        padding-top: 10px;
        margin-top: 10px;
        flex-wrap: wrap;
    }
    
    .account-links a {
        margin: 0 5px;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .account-link-text {
        display: none;
    }
    
    .external-link i,
    .user-link i,
    .logout-link i {
        margin-right: 0;
        margin-bottom: 4px;
        font-size: 18px;
    }
    
    .external-link,
    .user-link,
    .logout-link {
        margin-left: 5px;
        margin-right: 5px;
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .account-links {
        gap: 5px;
    }
    
    .account-links a {
        padding: 6px;
        min-width: 40px;
    }
    
    .external-link i,
    .user-link i,
    .logout-link i {
        font-size: 16px;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack items on smaller screens */
        align-items: flex-start; /* Align to start */
    }

    .search-bar {
        width: 100%; /* Ensure full width on mobile */
       
        border-radius: 5px;
    }

    .search-container {
        flex-direction: column; /* Stack items on smaller screens */
        border-radius: 5px; /* Rounded corners */
        width: 100%; /* Full width for the search container */
    }

    input[type="text"],
    select,
    .search-button {
        width: 100%; /* Ensure full width on mobile */
        margin-bottom: 10px; /* Space between elements */
    }

    .sidebar,
    .locations-section,
    .content {
        flex: 100%; /* Each section takes full width */
    }

    /* Show action call and WhatsApp button on small screens */
    .whatsapp-button,
    .call-button {
        display: inline-block; /* Show buttons */
        color:white;box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    /* Responsive adjustments for category and location buttons */
    .category-button,
    .location-button {
        width: 95%; /* Increase width */
    }
}

/* Footer styles */
/* Footer styles */
footer {
    background-color: #000; /* Black background for the footer */
    color: #fff; /* White text */
    padding: 40px 20px; /* Padding for top and bottom */
    text-align: center; /* Center align all footer content */
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center;
}

.footer-logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
    background-clip: text;
    -webkit-background-clip: text; /* Ensure gradient works in WebKit browsers */
    text-decoration: none;
    padding: 5px 0;
    margin-bottom: 20px; /* Space between the logo and the links */
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #38D200; /* Change color on hover */
}

.footer-copy p {
    font-size: 0.9em;
    color: #aaa; /* Lighter color for the copyright text */
    margin-top: 10px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically for smaller screens */
        text-align: center; /* Ensure all content is centered */
    }

    .footer-logo a {
        font-size: 1.2em; /* Smaller logo text on small screens */
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 0.9em;
        margin: 0 10px;
    }

    .footer-copy p {
        font-size: 0.8em;
    }
}


/* Sidebar and content styles */
.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.sidebar,
.locations-section {
    flex: 1;
    padding: 10px;
    background-color: white;
}

.content {
    border: none; /* Set the border color and thickness */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 20px; /* Space between the border and the content */
    background-color: white; /* Background color for the content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: slight shadow for depth */
    margin: 20px; /* Margin to separate from other elements */
}

/* Optional: style for individual items */
.item {
    border: 1px solid #ddd; /* Border for individual items */
    border-radius: 4px; /* Rounded corners */
    padding: 15px; /* Space inside item */
    margin-bottom: 15px; /* Space between items */
    background-color: white; /* Background color for items */
}

/* Button styles */
.whatsapp-button,
.call-button {
    
    padding: 10px 15px;
    border-radius: 25px;
    color: white;
    text-decoration: none;text-align:center;
    width:28%;
}

.whatsapp-button {
    background-color: white;
    margin-right: 10px;
    color:green;
    border:1px solid green;
    
}

.call-button {
    background-color: white;
    border:1px solid dodgerblue;
    color:dodgerblue;
}

/* Button styles for category links */
.category-button {
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Space between items */
    align-items: center; /* Center items vertically */
    padding: 10px 15px; /* Add padding */
    text-decoration: none; /* Remove underline */
    color: #000; /* Text color */
    background-color: white; /* Button background */
    border: 1px solid #ccc; /* Border */
    border-radius: 5px; /* Rounded corners */
    margin-bottom: 5px; /* Spacing between buttons */
    transition: background-color 0.3s; /* Transition effect */
}

.category-button:hover {
    background: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
}

.category-button i {
    margin-left: 10px; /* Space between text and icon */
}

.button {
    border: 1px solid #eeeeee ;
    display: flex; /* Flexbox for icon and text alignment */
    align-items: center; /* Center items vertically */
    padding: 10px 15px; /* Padding for comfortable clicking */
    margin: 2px 0; /* Space between buttons */
    background-color: white; /* Button background color */
     color:#808080; /* Text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for effects */
}

.button:hover {
  background: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
    color: white; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Active state */
.button:active {
    transform: translateY(1px); /* Pressed effect */
}

/* Form styles */
.form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    max-width: 600px; /* Adjusted max-width */
    margin: 20px auto;
    box-sizing: border-box;
}

/* Responsive Styles for form */


.form-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}



.form-wrapper {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
}

input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.subtn {
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.subtn:hover {
    background-color: #4cae4c;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 10px;
    background: #333;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive styles */
@media (max-width: 600px) {
    .form-container {
        width: 90%;
        padding: 15px;
    }
}
.item-title,h2,h3,.column h2{
 text-decoration: none;
    font-weight: bold; /* Make text bold */
   background: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
    -webkit-background-clip: text; /* Apply the gradient to text */
    color: transparent; /* Make the text color transparent to show the gradient */
    text-transform: none; /* Do not force all letters to be uppercase */
    letter-spacing: 0.05em; /* Optional: slightly increase spacing between letters */
    cursor:pointer;
}
.item-titlef {
    display: block;             /* Ensure it's treated as a block element */
    white-space: nowrap;        /* Prevent text from wrapping to the next line */
    overflow: hidden;           /* Hide any overflowed text */
    text-overflow: ellipsis;    /* Add ellipsis (â€¦) when text overflows */
    max-width: 100%;            /* Make sure it uses all available width */
    font-size: 18px; 
    text-decoration: none;
    font-weight: bold; /* Make text bold */
    background: linear-gradient(135deg, #0473EA, #38D200); /* Gradient from blue to green */
    -webkit-background-clip: text; /* Apply the gradient to text */
    color: transparent; /* Make the text color transparent to show the gradient */
    text-transform: capitalize; /* Capitalize first letter of each word */
    letter-spacing: 0.05em; /* Optional: slightly increase spacing between letters */
    cursor:pointer;/* Optional: adjust font size as needed */
}
/* Category and location link styles */
.category-link,

.item-link {
    text-decoration: none;
    color: darkblue; /* Set text color to green */
    font-weight: bold; /* Make text bold */
}

.category-link:hover,
.item-link:hover {
    color: orangered; /* Change color on hover */
}

/* Front container styles */
.frontcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
   
}

.frontcontent {
    flex: 0 1 60%; /* Main content takes more space */
    padding: 10px;
}


/* Latest items styles */
.latest-items {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    max-width: 100%; /* Ensure it doesn't exceed the viewport */
    overflow: hidden; /* Prevent overflow */
}

.item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px;
    margin: 5px; /* Adjust margin */
    box-sizing: border-box; /* Include padding and border in total width */
    width: calc(100% - 12px); /* Full width minus margins */
}

@media (max-width: 600px) {
    .latest-items , .item {
        margin: 5px; /* Adjust margin for smaller screens */
        width: calc(95% - 5px); /* Ensure it fits within the container */
    }
}

/* Responsive styles */
@media (max-width: 968px) {
    .frontcontainer {
        flex-direction: column; /* Stack items vertically */
        
    }

    .sidebar,
    .locations-section {
        flex: none; /* Prevent these from growing */
        order: 2; /* Set order for sidebar and locations */
        width: 95%;
    }

    .frontcontent {
        flex: none;
        width: 100%; /* Ensure full width */
        order: 1; /* Set order for front content to appear first */
    }
}
@media (min-width: 769px) {
    .whatsapp-button,
    .call-button {
        display: none; /* Hide on larger screens */
         color:white;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column; 
        /* Stack items on smaller screens */
    }

    .search-container input[type="text"] ,
    .search-container select,
    .search-button {
        width: 100%; /* Full width on mobile */
        margin-right: 0; /* Remove margin on mobile */
        margin-bottom: 10px; /* Space between elements */
        border-radius: 5px; /* Apply border-radius */
    }
}
/* Base styles for the register-box */
.register-box {
    background-image: linear-gradient(to right, #01546d, #0b7a9b); /* Gradient from black to dark blue */
   
    color: white; /* Text color */
   
    /* Rounded corners */
    text-align: center; /* Center text */
    width: 100%; /* Default width for medium and large screens */
    margin: 0;
            padding: 15px; /* Center the box */
}

/* Media query for screens smaller than 768px (Tablets and small devices) */
@media (max-width: 768px) {
    .register-box {
       /* Smaller font size for medium devices */
        width: 89%; /* Increase width to use more space */
        padding: 20px; /* Add more padding */
    }
}

/* Media query for screens smaller than 600px (Mobile) */
@media (max-width: 600px) {
    .register-box {
        width: 89%; /* Reduce the width on smaller screens */
        /* Smaller font size for mobile */
        padding: 15px; /* Adjust padding */
        margin-left:15px;
    }
}

/* Styles for the register-button */
/* Gradient green button style */
.register-button {
    background: linear-gradient(45deg, #00c853, #43a047, #66bb6a); /* Green gradient */
    background-size: 200% 200%;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
    cursor: pointer;
}

/* Hover effect */
.register-button:hover {
    background-position: right center; /* Move gradient */
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.4);
}

/* Optional animated gradient on idle */
@keyframes greenGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Make gradient move all the time */
.register-button {
    animation: greenGradientMove 4s ease infinite;
}

/* Media queries */
@media (max-width: 768px) {
    .register-button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .register-button {
        font-size: 16px;
    }
}


.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    padding: 8px 16px;
    margin: 0 5px;
    background-color: #f1f1f1;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .prev, .pagination .next, .pagination .last {
    font-weight: bold;
    padding: 10px 16px;
    background-color: #f1f1f1;
    color: #007bff;
    border-radius: 50%;
}

.pagination .prev i, .pagination .next i, .pagination .last i {
    font-size: 18px;
}

.pagination .prev:hover, .pagination .next:hover, .pagination .last:hover {
    background-color: #007bff;
    color: white;
}

.pagination .active {
    background-color: #007bff;
    color: white;
}
@media (max-width: 600px) {
    .pagination a {
        padding: 6px 12px;
        font-size: 12px;
    }
}
.category-boxs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.category-buttons:hover {
 transform: translateY(-5px); /* Slight lift on hover */
  
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */

}
.category-items {
    display: inline-block;
}

.category-buttons {
    display: flex;
    margin-right: 0; /* Remove any right margin */
    align-items: center;
    background-color: white; 
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.category-buttons a {
    margin-right: 1px; /* Add very little space between buttons */
}

.category-contents {
    display: flex;
    align-items: center;
}

.category-icons {
    font-size: 12px;
    margin-right: 5px; /* Spacing between the icon and the text */
    color:dodgerblue;
}

.category-texts {
    display: flex;
    flex-direction: column;
    color:dodgerblue;
}

.category-names {
    font-weight: bold;
    font-size: 14px;
    color:dodgerblue;margin-right: 15px;
}

.category-counts {
    font-size: 14px;
    color: #777;
}

.category-items {
    float: left; /* Makes the items float left as requested */
    
    margin-bottom: 5px;
}
/* General Styles */


.item-details p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

.item-details strong {
    font-weight: bold;
}

.item-details i {
    color: #4CAF50; /* Green color for icons */
}

/* Text Colors */
.item-contact-text, .item-description-text, .item-whatsapp-text, .item-location-link {
    font-weight: 500;
    color: #333;
}

.item-category a, .item-location a {
    color: #007BFF;
    text-decoration: none;
}

.item-category a:hover, .item-location a:hover {
    text-decoration: none;
}

/* Contact Actions */
.contact-actions {
    margin-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}



/* Layout Adjustments for Mobile Devices */
@media (max-width: 768px) {
    .item-details {
        padding: 15px;
    }

    .item-details p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .action-buttons {
       
        align-items: stretch;
    }

   
}

/* Layout Adjustments for Larger Devices */
@media (min-width: 1024px) {
    .item-details {
        padding: 25px;
    }

    .item-details p {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    
}
/* Basic styling for the star rating */
.star-rating {
    display: inline-block;
    
}

.star-rating input {
    display: none; /* Hides input if using form-based ratings */
}

.star-rating label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
}

/* When a rating is checked, stars are gold */
.star-rating input:checked ~ label {
    color: #f39c12;
}

/* Hover effect for stars */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f39c12;
}

/* Style for gold stars */
.gold-star {
    color: #FFD700; /* Gold color */
    font-size: 1.2em; /* Optional: Increase size for better visibility */
}

/* Optional: Adjust the size of the rating text */
.item-rating {
    font-size: 1.1em;
    font-weight: bold;
}

/* Make all stars gold */
.star-rating i {
    color: gold;
    font-size: 20px; /* Adjust the size of the stars */
}

/* Empty stars in light gray */
.star-rating i.far {
    color: #ddd;
}

/* Full stars in gold */
.star-rating i.fas {
    color: gold;
}

/* Half stars in gold */
.star-rating i.fas.fa-star-half-alt {
    color: gold;
}
.social-share {
    display: flex;
    gap: 16px; /* Space between buttons */
    justify-content: center; /* Center the buttons */
}

.social-button {
    font-size: 18px;
    border: 1px solid transparent; /* No border initially */
    padding: 12px 20px;
    border-radius: 50px; /* Rounded corners */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    font-weight: bold;
    text-transform: uppercase;
    color: grey; /* Text color */
    padding-left: 18px; /* Add extra space on left for better alignment */
    padding-right: 18px; /* Add extra space on right */
}

/* Facebook Button */
.social-button i.fab.fa-facebook {
    color: #3b5998; /* Facebook blue color */
}

/* Twitter Button */
.social-button i.fab fa-x twitter {
    color: #1DA1F2; /* Twitter blue color */
}

/* Instagram Button */
.social-button i.fab.fa-instagram {
    color: #E1306C; /* Instagram pink color */
}

/* WhatsApp Button */
.social-button i.fab.fa-whatsapp {
    color: #25D366; /* WhatsApp green color */
}

/* Telegram Button */
.social-button i.fab.fa-telegram {
    color: #0088cc; /* Telegram blue color */
}

/* LinkedIn Button */
.social-button i.fab.fa-linkedin {
    color: #0077b5; /* LinkedIn blue color */
}

/* Hover effect */
.social-button:hover {
    transform: translateY(-5px); /* Slight lift on hover */
   
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Icon size adjustment */
.social-button i {
    font-size: 24px; /* Larger icon size */
    transition: transform 0.3s ease;
}

/* Button Text Styling */
.social-button span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Hover effect for icon */
.social-button:hover i {
    transform: scale(1.2); /* Slightly enlarge the icon */
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
    /* Hide button text on small screens */
    .social-button span {
        display: none;
    }

    /* Adjust icon size for small screens */
    .social-button i {
        font-size: 30px; /* Larger icon size for better visibility */
    }

    .social-button {
       
        padding: 12px; /* Reduce padding for better button size on small screens */
    }
    .social-share {
    display: flex;
    gap: 9px; /* Space between buttons */
    justify-content: center; /* Center the buttons */
}
}
/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 45%;
  padding: 10px;

}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}
/* Container for the location buttons */
.category-itemc {
    /* Make sure the container has enough width for buttons */
    width: 100%;
    overflow: hidden; /* Ensures floats are cleared */
    margin-top: 2px;
}

/* Style for each button */
.category-buttonc {
    float: left; /* Align buttons to the left */
    border:1px solid #ddd;
    background-color: white; /* Light background color */
    padding: 10px 20px; /* Padding inside each button */
    margin-right: 15px; /* Space between the buttons */
    margin-bottom: 10px; /* Vertical space between rows of buttons (in case they wrap) */
    border-radius: 10px; /* Rounded corners */
    color: dodgerblue; /* Dark text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    font-size: 14px; /* Font size for button text */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Button hover effect */
.category-buttonc:hover {
     transform: translateY(-5px); /* Slight lift on hover */
  
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Ensure that the container clears the floats */
.category-itemc::after {
    content: "";
    display: table;
    clear: both;
}

/* Optional: Style the icons inside the button */
.category-buttonc i {
    color: #e74c3c; /* Icon color */
    margin-right: 5px; /* Space between icon and text */
}
.top-rated-items-section {
    margin-top: 30px;
  max-width: 1200px;
    background-color: none;
    border-radius: 8px;
}

.top-rated-items-list {
    display: grid;
    width:100%;
    gap: 20px;
}

.top-rated-item {
   
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-rated-item-link {
    text-decoration: none;
    color: #333;
}

.top-rated-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.star-ratings {
    display: flex;
    align-items: center;
}

.star-ratings i {
    color: gold;
    margin-right: 5px;
}

.star-ratings span {
    font-size: 1em;
    color: #555;
}
#gmap_canvas{
    border-radius:5px;
    

}
.btnrates{
    border-radius:5%;
    background-color:white;
    color:green;
    border:1px solid green;cursor:pointer;
   padding:10px 20px;
    
}
.btnrates:hover{
     box-shadow:0px 0px 5px;
}
.btnrate{
    border-radius:5%;
    background-color:none;
    color:green;
    border:green;cursor:pointer;
}
  /* Basic styling for the footer */
       

        .row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin: 0;
            padding: 0;
        }

        .column {
            flex: 1;
            padding: 20px;
            box-sizing: border-box;
            background-color: black;
            color: white;
        }

       
        .footer-logo img {
            width: 55%;  /* Set the logo size */
            height: auto;
        }

        .footer-links a {
            display: block;
            margin: 5px 0;
            color: #fff;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: none;
        }

        .footer-copy {
            text-align: center;
            padding: 10px;
            background-color: black;
            color: black;
        }

        /* Responsive design for smaller screens */
        @media screen and (max-width: 768px) {
            .column {
                flex: 1 0 100%;  /* Stack columns on small screens */
                padding: 10px;
            }

            .footer-logo img {
                width: 55%;  /* Reduce logo size on smaller screens */
            }
        }
/* Social Links Container */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Style for each social media link */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; /* Text color */
    background: linear-gradient(45deg, #3b5998, #8b9dc3); /* Gradient for Facebook (default) */
    border-radius: 10px; /* Circular background */
    padding: 15px;
    font-size: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

/* Gradient effects for each platform */
.social-links a.facebook {
    background: linear-gradient(45deg, #3b5998, #8b9dc3); /* Facebook */
}

.social-links a.instagram {
    background: linear-gradient(45deg, #f7b731, #f64f59); /* Instagram */
}

.social-links a.linkedin {
    background: linear-gradient(45deg, #0077b5, #00a0dc); /* LinkedIn */
}

.social-links a.x {
    background: linear-gradient(45deg, #1d9bf0, #f5f8fa); /* X (Former Twitter) */
}

/* Hover Effect: Lift & color change */
.social-links a:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    background: linear-gradient(45deg, #333, #555); /* Darken gradient on hover */
}
/* Style the password input and the icon */
.password-wrapper {
    position: relative;  /* Make the parent div relative to position the eye icon */
    width: 100%;         /* Ensure it takes full width */
}

#password {
    width: auto;         /* Full width for the input field */
    padding-right: 35px; /* Space for the eye icon on the right */
    padding-left: 10px;  /* Optional: Space on the left of the input */
}

#eye-icon {
    position: absolute;
    right: 10px;         /* Position the icon 10px from the right edge */
    top: 50%;            /* Vertically center the icon */
    transform: translateY(-50%); /* Adjust the icon position to be perfectly centered */
    font-size: 20px;     /* Adjust icon size */
    cursor: pointer;
    color: #888;         /* Light gray color for the icon */
}

#eye-icon:hover {
    color: #333;         /* Darker color when the icon is hovered */
}
.item-image {
    /* Optional: Add padding or margin to space it out */
    margin: 15px 0; 
    /* Ensure the container is responsive */
    max-width: 100%;
    overflow: hidden;
}

.item-image img {
    width: 100%; /* Make sure image takes up full width of its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Apply rounded corners */
    object-fit: cover; /* Ensure the image covers the container without distorting */
}
.item-imagef {
    /* Optional: Add padding or margin to space it out */
    margin: 15px 0; 
    /* Ensure the container is responsive */
    max-width: 100%;
    overflow: hidden;
}

.item-imagef img {
    width: 100%; /* Make sure image takes up full width of its container */
    height: 168px; /* Maintain aspect ratio */
    border-radius: 5px; /* Apply rounded corners */
    object-fit: cover; /* Ensure the image covers the container without distorting */
}
/* Styling for the Top Rated Items Section */

/* Remove underline and set default color */
.top-rated-item .category a {
    text-decoration: none; /* Removes the underline */
    color: green; /* Inherits color from parent */
}

/* On hover, change to orangered */
.top-rated-item .category a:hover {
    color: orangered; /* Change to orangered on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

.top-rated-items {
    margin: 20px;
}

.top-rated-items h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.top-rated-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.top-rated-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.top-rated-item .item-link {
    text-decoration: none;
    color: #333;
}

/* Title (h3) truncated to one line with ellipsis */
.top-rated-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0073e6;
    white-space: nowrap; /* Prevent line break */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis for overflow text */
}

.top-rated-item .rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.top-rated-item .rating i {
    margin-right: 5px;
}

.top-rated-item .rating-count {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}

.top-rated-item .category {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}

/* Remove underline from links */
.top-rated-item .item-link:hover {
    text-decoration: none;
}

/* Media Query for Small Devices */
@media (max-width: 768px) {
    .top-rated-items h2 {
        font-size: 1.3rem;
    }

    .top-rated-item h3 {
        font-size: 1rem;
    }

    .top-rated-item .rating-count,
    .top-rated-item .category {
        font-size: 0.8rem;
    }
}
.view-count {
    font-size: 14px;
    color: #888;
    margin-left: 10px;
}

       
      
    .containere {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px; /* Added padding for better spacing */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}



.buttone {
  width: 100%;
  padding: 10px;
  background-color: #28a745;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.buttone:hover {
  background-color: #218838;
}

#image-preview {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  display: block;
}

@media (max-width: 768px) {
  .containere {
    padding: 15px;
    margin: 20px;
  }

  .buttone {
    font-size: 1rem;
  }
}
/* Event List Container */


/* Event List Title */
.event-list h3 {
    font-size: 1.5rem;
    color: transparent;
    background: linear-gradient(135deg, #4CAF50, #2196F3); /* Gradient background */
    -webkit-background-clip: text; /* Ensures gradient is applied only to text */
    padding: 5px 0;
    text-align: center;
}

/* Event Grid Layout */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 15px; /* Reduce space between grid items */
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Event Item Styling */
.event-item {
    display: flex;
    flex-direction: column; /* Stack image and details vertically */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    overflow: hidden;
    transition: background-color 0.3s ease; /* Smooth hover effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow around items */
    padding: 1px; /* Reduce padding inside the event item */
    margin-bottom: 0px; /* Reduce bottom margin between events */
}

/* Event Item Hover Effect */
.event-item:hover {
    background-color: #f1f1f1;
}

/* Event Image Styling */
.event-image {
    border-radius: 3%;
    width: 100%; /* Full width of the container */
    height: 150px; /* Fixed height for the image */
    overflow: hidden; /* Hide overflow to maintain border-radius */
    border-bottom: 1px solid #ccc; /* Separator line between image and details */
    margin-bottom: 5px; /* Reduce space between the image and title */
}

.event-image img {
    width: 100%; /* Ensure the image stretches to fill the container */
    height: 100%; /* Make the image fill the height of the container */
    object-fit: cover; /* Cover the container area without distortion */
}

/* Event Details Styling */
.event-details {
    padding-top: 5px; /* Reduce space at the top */
}

.event-details h4 {
    font-size: 1.1rem; /* Slightly smaller title */
    margin: 3px 0; /* Reduced margin between title and next element */
    color: #333;
}

.event-details p {
    margin: 3px 0; /* Reduced margin between paragraphs */
    font-size: 0.9rem;
    color: #555;
}

/* Location Styling with Map Marker Icon */
.event-location {
    font-size: 1rem;
    color: #555;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.event-location i {
    font-size: 1.2rem;
    color: #007bff; /* Optional: Map marker icon color */
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust for smaller screens */
    }
.event-item{
    width:95%;
}
    .event-image {
        height: 100px; /* Adjust image height for smaller screens */
    }

    .event-details h4 {
        font-size: 1.1rem; /* Slightly smaller title on mobile */
    }

    .event-details p {
        font-size: 0.8rem; /* Slightly smaller text for better readability */
    }

    .event-location {
        font-size: 0.9rem; /* Adjust location text size on mobile */
    }
}

/* Default styles for event items */
.event-item {
    border: 2px solid #ccc; /* Default border color */
    padding: 10px;
    margin-bottom: 10px; /* Reduced bottom margin */
    position: relative;
    transition: border-color 0.3s ease;
}

.today-event {
    border: 4px solid #e74c3c; /* Initial red border for today's event */
    animation: pulse-border 2s infinite; /* Pulse animation for the border */
}

@keyframes pulse-border {
    0% {
        border-color: #e74c3c; /* Red border at the start */
    }
    25% {
        border-color: #f39c12; /* Yellow border */
    }
    50% {
        border-color: #2ecc71; /* Green border */
    }
    75% {
        border-color: #3498db; /* Blue border */
    }
    100% {
        border-color: #e74c3c; /* Back to red border */
    }
}

/* Celebration icon styles */
.celebration-icon {
    font-size: 24px;  /* Make sure it's large enough */
    color: #f39c12;   /* Yellow color */
    float:right;
}

/* Pulsing live dot for happening events */
.happening-icon {
    position: absolute;
    bottom: 10px;  /* Position from the bottom of the image */
    right: 10px;   /* Position from the right side of the image */
    width: 12px;   /* Size of the dot */
    height: 12px;  /* Size of the dot */
    border-radius: 50%;  /* Makes it round */
    background-color: red;  /* Dot color */
    animation: pulse 1.5s infinite;  /* Animation for pulsing effect */
}

.happening-icon::before {
    content: ''; /* Create the ring */
    position: absolute;
    top: -5px;   /* Adjust to position the ring around the dot */
    left: -5px;
    width: 24px; /* Initial size of the ring */
    height: 24px;
    border-radius: 50%; /* Make it a circle */
    background-color: rgba(255, 0, 0, 0.2); /* Light red with transparency */
    animation: ringPulse 1.5s infinite; /* Animation for the ring */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(1); /* Start at the normal size */
        opacity: 0.6; /* Start semi-transparent */
    }
    50% {
        transform: scale(2); /* Grow the ring */
        opacity: 0; /* Fade out */
    }
    100% {
        transform: scale(1); /* Return to original size */
        opacity: 0.6; /* Fade back in */
    }
}

/* Style for the item images container */
.item-images-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap; /* Ensure items wrap on smaller screens */
}

/* Each individual item image box */
.item-image {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
    max-width: 32%; /* Ensure images stay within the 3-item layout */
    box-sizing: border-box;
}

/* Make images responsive */
.responsive-image {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Ensure that the layout adjusts on smaller screens */
@media (max-width: 768px) {
    .item-image {
        max-width: 48%; /* Show 2 items per row for smaller screens */
    }
}

@media (max-width: 480px) {
    .item-image {
        max-width: 100%; /* Show 1 item per row for very small screens */
    }
}
/* Carousel container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Hide the images that are not visible */
}

/* Carousel itself (this will move the images) */
.carousel {
    display: flex; /* Display images side by side */
    transition: transform 0.5s ease-in-out; /* Smooth sliding transition */
}

/* Each item (image) */
.carousel-item {
    min-width: 33.33%; /* Ensure 3 items fit side by side */
    text-align: center;
}

/* Image styles */
.responsive-image {
    width: 100%; /* Make images responsive */
    height: auto;
}

/* Media query for small screens (display 1 item per slide) */
@media (max-width: 768px) {
    .carousel-item {
        min-width: 100%; /* Show 1 image at a time on small screens */
    }
}
   /* Modal (hidden by default) */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            padding-top: 100px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
        }

        /* Modal Content */
        .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
        }

        /* Close Button */
        .close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }

        /* Event Image */
        .event-images img {
            width: 100%;
            max-width: 300px; /* Set to a smaller size */
            cursor: pointer;
            transition: 0.3s;
        }

        .event-images img:hover {
            opacity: 0.7;
        }
        
        
        .btn-add-event {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-add-event:hover {
    background-color: #45a049;
}
/* Notification bubble styles */
.event-notification {
    background-color:red;  /* Red background for the notification bubble */
    color: white;           /* White text */
    font-size: 14px;        /* Font size */
    padding: 2px 8px;       /* Padding inside the bubble */
    border-radius: 12px;    /* Rounded corners for the bubble */
    position: absolute;     /* Position it to the top-right of the link */
    top: -14px;              /* Adjust position */
    right: 31px;           /* Adjust position */
    font-weight: bold;      /* Make the number bold */
    display: inline-block;  /* Display the bubble next to the text */
    z-index: 10;            /* Make sure it's on top */
}

/* Add relative positioning to the parent link */
#radio-link {
    position: relative;  /* This allows positioning the notification bubble inside the link */
}
.event-item.ongoing-event {
    border: 2px solid green; /* Green border for ongoing events */
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6); /* Green shadow for ongoing events */
    background-color: white; /* Light green background */
    
}
/* General styling for the column and header */

/* Specific icon colors */
.info-icon {
    color: #17a2b8;  /* Light blue */
}

.events-icon {
    color: #28a745;  /* Green */
}

.seeker-icon {
    color: #ffc107;  /* Yellow */
}

.radio-icon {
    color: #6f42c1;  /* Purple */
}

.devo-icon {
    color: #fd7e14;  /* Orange */
}

.calculator-icon {
    color: #007bff;  /* Blue */
}

.speedtest-icon {
    color: #dc3545;  /* Red */
}

/* Hover effect for the icons */
.footer-links a:hover i {
    color: #ff5733; /* Orange on hover */
}
/* Service Category Front */
.service-categoryfront {
  padding: 2px;
  background-color: transparent;  /* Removed background color */
  text-align: center;
}

/* Category Image Styling */
.category-image {
  width: 100%;        /* Ensures the image takes up full width */
  height: 150px;      /* Adjusted height for smaller images */
  object-fit: cover;  /* Ensures the image covers the area without distorting */
  margin-bottom: 10px; /* Adds space between the image and the heading */
  border-top-left-radius: 8px; /* Rounded top-left corner */
  border-top-right-radius: 8px; /* Rounded top-right corner */
  border-bottom-left-radius: 0px; /* No rounded bottom corners */
  border-bottom-right-radius: 0px; /* No rounded bottom corners */
  transition: transform 0.3s ease-in-out; /* Add a transform transition */
}

/* Grid Container */
.grid-containerfront {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); /* Responsive grid */
  gap: 10px;
  padding: 10px 2px;
}

/* Grid Item */
.grid-item-front {
  display: flex;
  flex-direction: column;  /* Stack the image and content vertically */
  background-color: transparent;  /* Removed background color */
 
  padding: 0;
  border-radius: 8px;
  border: 1px solid lightgrey;  /* Light grey border */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Add transition for background color and scaling */
  overflow: hidden; /* Ensure the content stays within the bounds */
}

.grid-item-front:hover {
  background-color: white; /* Change background on hover */
 
  transform: scale(1.05); /* Slightly scale up the grid item on hover */
}

/* Category Content (Link) Styling */


/* Category Text Styling */
.category-text-font {
  display: block;
  margin-bottom: 10px;
  color: darkblue;
  text-decoration: none; 
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  width: 100%;
  transition: color 0.3s ease;
}

.grid-item-front a {
  text-decoration: none; /* Removes underline from the entire link */
}

.grid-item-front a:hover,
.grid-item-front a:focus,
.grid-item-front a:active {
  text-decoration: none; /* Ensures no underline on hover, focus, or active states */
}

/* Ensure the text stays vertically and horizontally centered within the category */
.category-item-front {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Centers the text horizontally */
  justify-content: center;  /* Centers the text vertically */
  padding: 10px;
}

/* Category Content Link Styling */
.category-content a {
  color: darkblue;  /* Set text color to dark blue */
  text-decoration: none;  /* Remove underline */
  font-size: 16px;
  display: block;
  margin-top: 10px;  /* Space between the image and the link */
}

.category-content a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

@media (max-width: 768px) {
  .grid-containerfront {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Auto-fit while keeping grid responsive */
    justify-content: center;         /* Center grid items */
    align-items: center;             /* Vertically align items inside the grid cells */
    gap: 12px;                       /* Space between items */
    padding: 10px 10px;
    text-align: center;  
    margin-right:15px;/* Center content inside each grid cell */
  }

  .category-image {
    height: 100px;
    object-fit: cover;               /* Ensure image fits well */
    width: 100%;                     /* Take full width of the grid cell */
    max-width: 120px;                /* Prevent images from stretching too much */
    margin: 0 auto;                  /* Center image horizontally */
    display: block;
    font-size:10px;
  }
  .category-text-font {
  
  font-size: 12px;
 
}
}
