/* ------------------- Base Page ------------------- */
.mk-page {
    background: white;
    min-height: calc(100vh - 150px);
    /* padding-bottom: 90px; */
}

@media (min-width: 768px) {
    .mk-page {
        padding-bottom: 0px !important;
    }
}

/* ------------------- Search -------------------
.mk-search-wrap { padding: 12px 16px; }
.mk-search {
  display:flex;
  gap:10px;
  align-items:center;
  background:#fff;
  border-radius: 30px;
  padding:8px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.mk-search input {
  border:0; outline:none; flex:1; font-size:15px; padding:6px 8px;
}
.mk-search .mk-icon { font-size:18px; color:#8a8a8f; }

.mk-notify { margin-left:10px; font-size:20px; color:#333; }

*/



/* Existing styles for small screens (default) */
.mk-search-wrap {
    padding: 12px 16px;
}

.mk-search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.mk-search input {
    border: 0;
    outline: none;
    flex: 1;
    font-size: 15px;
    padding: 6px 8px;
}

.mk-search .mk-search-btn {
    border: 0;
    outline: none;
    background-color: #0b0d9a;
    /* Example color */
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
}

/* New styles for large screens (768px and above) */
@media (min-width: 768px) {
    .mk-search-wrap {
        padding: 20px;
        /* Increase padding for a larger container */
        max-width: 800px;
        /* Constrain the search bar's max width */
        margin: 0 auto;
        /* Center the search bar */
    }

    .mk-search {
        padding: 12px 20px;
        /* Increase padding inside the search bar */
        border-radius: 50px;
        /* Make the corners more rounded */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        /* Stronger shadow */
    }

    .mk-search input {
        font-size: 17px;
        /* Increase font size */
        padding: 10px 12px;
        /* Increase input padding */
    }

    .mk-search .mk-search-btn {
        padding: 10px 25px;
        /* Increase button padding for a larger size */
        font-size: 16px;
        /* Increase button font size */
        border-radius: 30px;
        /* Make button corners more rounded */
    }
}

/* ------------------- Categories -------------------
.mk-cat-row {
  display:flex; gap:14px; overflow-x:auto; padding:10px 16px;
  -webkit-overflow-scrolling:touch;
}
.mk-cat { min-width:72px; text-align:center; font-size:12px; color:#333; }
.mk-cat .icon {
  width:58px; height:58px; border-radius:50%; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:#fff; box-shadow:0 6px 16px rgba(0,0,0,0.06);
}
.mk-cat img{ width:100%; height:100%; object-fit:cover; }

*/





/* Existing styles for small screens (default) */
.mk-cat-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 16px;
    -webkit-overflow-scrolling: touch;
}

.mk-cat {
    width: 100px;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #d8b4fe;
    /* Light purple border */
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.25);
    /* Soft purple shadow */
    text-align: center;
    color: #000;
    flex-shrink: 0;
    padding: 8px;
    transition: all 0.3s ease;
    height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mk-cat:hover {
    transform: translateY(-4px);
}

/* Container for the image, matching the image in the request */
.mk-cat .icon {
    width: 84px;
    height: 84px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3e8ff;
    padding: 2px;
    margin: 0 auto;
}

/* Image inside the box */
.mk-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Category name styling */
.mk-cat div[style] {
    margin-top: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-align: center;
    white-space: normal !important;
    line-height: 1.1;
    width: 100%;
}

/* Desktop view (768px and above) */
@media (min-width: 768px) {
    .mk-cat-row {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        padding: 20px 0;
        gap: 25px;
    }

    .mk-cat {
        min-width: 160px;
        max-width: 160px;
        height: 200px;
        border-radius: 25px;
        padding: 15px;
        border: 2px solid #d8b4fe;
        box-shadow: 0 8px 20px rgba(167, 139, 250, 0.2);
    }

    .mk-cat .icon {
        width: 130px;
        height: 130px;
        border-radius: 18px;
        border: 1px solid #f3e8ff;
    }

    .mk-cat div[style] {
        font-size: 14px !important;
        margin-top: 10px !important;
    }
}

/* ------------------- Top Carousel Categories ------------------- */
.category-circle {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px dotted #000;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0);
    transition: background 0.3s ease;
    border-radius: 50%;
}

.category-circle:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: #007bff;
    border-style: solid;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.category-circle:hover::before {
    background: rgba(0, 123, 255, 0.1);
}

.category-name-wrapper {
    margin-top: 12px;
}

.category-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.2;
    max-height: 2.4em;
    /* 2 lines * 1.2 line-height * 1em font-size */
    word-wrap: break-word;
}

.circle-item:hover .category-name {
    color: #007bff;
}

/* Modern Browse Categories Section */
.categories-section {
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 50%, #fef3c7 100%);
    padding: 40px 0;
    margin: 20px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.category-circle {
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 3px solid #fff;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background-color: #f8fafc;
}

.category-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 115, 22, 0);
    transition: background 0.4s ease;
    border-radius: 50%;
}

.category-item:hover .category-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.3);
    border-color: #f97316;
}

.category-item:hover .category-circle::before {
    background: rgba(249, 115, 22, 0.2);
}

.category-name-wrapper {
    margin-top: 15px;
}

.category-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
    line-height: 1.3;
    max-height: 2.6em;
    word-wrap: break-word;
    padding: 0 10px;
}

.category-item:hover .category-name {
    color: #f97316;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-section {
        padding: 30px 0;
        margin: 15px 0;
        border-radius: 15px;
    }

    .categories-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .categories-grid::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        flex-shrink: 0;
        width: 110px;
    }

    .category-circle {
        width: 100px;
        height: 100px;
        border-width: 2px;
    }

    .category-name {
        font-size: 13px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        gap: 15px;
        padding: 10px 12px;
    }

    .category-item {
        width: 100px;
    }

    .category-circle {
        width: 90px;
        height: 90px;
    }

    .category-name {
        font-size: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
}

/* ------------------- Promo ------------------- */
.mk-promo {
    margin: 14px 16px;
    background: linear-gradient(135deg, #ff7043, #ff5722);
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mk-promo .code {
    font-weight: 700;
    font-size: 20px;
}

.mk-promo button {
    background: #fff;
    color: #ff5722;
    border-radius: 12px;
    border: 0;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ------------------- Carousel ------------------- */
#ads {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-img {
    height: 160px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-indicators li {
    background-color: #fff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.carousel-indicators .active {
    background-color: #007bff;
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff5722' viewBox='0 0 8 8'%3E%3Cpath d='M5.5 0L4 1.5 6.5 4 4 6.5 5.5 8 10 4z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff5722' viewBox='0 0 8 8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8 7 4z'/%3E%3C/svg%3E");
}

/* ------------------- Listings Grid ------------------- */
.mk-listings {
    padding: 10px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media(min-width:768px) {
    .mk-listings {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ------------------- Card ------------------- */

/* Listings Grid */
.mk-listings {
    padding: 10px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media(min-width:768px) {
    .mk-listings {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.mk-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgb(71 69 69);
    overflow: hidden;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Image box */
.mk-card .mk-image-box {
    width: 100%;
    height: 160px;
    /* fixed height for all images */
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #f9f9f9;
    /* neutral bg for empty spaces */
}

.mk-card .mk-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ✅ shows full image without cropping */
    display: block;
    background: #fff;
    /* optional: white background behind image */
}

/* Heart */
/* Update the mk-heart to use flexbox for vertical alignment */
.mk-heart {
    position: absolute;
    top: 8px;
    right: 8px;

    /* Using flexbox to stack icon and count */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */

    cursor: pointer;
    z-index: 2;
}

.mk-heart:hover {
    background: transparent;
    /* Or a subtle background */
    transform: none;
    /* Remove transform on hover */
}

.mk-heart .fas,
.mk-heart .far {
    font-size: 15px;
    /* Adjust as needed */
    color: #ff0000ff;
    /* The red heart color */
}

/* Style for the new wishlist count */
.wishlist-count-new {
    font-size: 10px;
    font-weight: bold;
    color: #000000ff;
    /* Or your desired color */
    margin-top: 2px;
    /* Small space between the icon and the number */
}

.wishlist-count {
    /*  position: absolute;
    top: -5px;
    right: -5px;    */
    background-color: rgba(0, 106, 255, 1);
    color: #ff0000ff;
    /* White text color */
    border-radius: 50%;
    /* Make it circular */
    padding: 2px 6px;
    /* Adjust padding for size */
    font-size: 10px;
    /* Smaller font size */
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    border: 1px solid #fff;
    /* Optional: adds a white border */

}

/* Body */
.mk-card .mk-body {
    padding: 10px 12px 14px;
    height: 110px;

}

.mk-card h6 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.3;

    overflow: hidden;

    -webkit-line-clamp: 2;
    /* This limits the text to 2 lines */
    -webkit-box-orient: vertical;
}

.mk-card .mk-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #000000ff;
    font-weight: bold;
}

.mk-card .mk-location i {
    font-size: 13px;
    color: #000000ff;
}

.mk-search {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ccc;
    /* Adds a light border around the whole search bar */
    border-radius: 37px;
    /* Smooth, rounded corners for a modern look */
    padding: 4px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 2.1);
    /* Soft shadow for depth */
}

.mk-search input {
    flex: 1;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    background: transparent;
    outline: none;
    /* Removes the ugly default browser outline on focus */
}

/* MK-SEARCH-BTN: The button with the search icon */
.mk-search-btn {
    /* Premium Purple */
    background-color: #3639e2;
    /* A rich, deep purple */
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 7px;
    border-top-right-radius: 21px;
    border-bottom-right-radius: 21px;
    /* Slightly rounded corners for a balanced look */
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* Smooth color transition on hover */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect for the button */
.mk-search-btn:hover {
    background-color: #8b008b;
    /* A slightly lighter purple for visual feedback */
}

/* MK-ICON: The search icon inside the button */
.mk-icon {
    font-size: 16px;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
    border-radius: 0 0 15px 15px;
}

/* Autocomplete styles */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    background: #fff;
    z-index: 1060 !important;
    /* Above Bootstrap modal */
}

.ui-menu-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.ui-menu-item:hover,
.ui-menu-item.ui-state-focus {
    background: #f8f9fa;
    color: #333;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

/* Animations for cards */
.mk-card,
.seva-card {
    transition: all 0.3s ease;
}

.mk-card:hover,
.seva-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(5, 150, 247, 0.55);

}

/* For floating icons */
.floating-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #ff5722;
    animation: float 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(0deg);
    }

    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

@media (max-width: 768px) {
    .floating-icon {
        display: none;
    }
}

/* Modern blog design */
.blog-cards .card {
    position: relative;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff5722;
}

.blog-cards .card-img-top {
    border-radius: 8px 8px 0 0;
}

.blog-cards .card-body {
    padding: 15px;
}

.blog-cards .card-title {
    color: #333;
    font-weight: 600;
}

.blog-cards .card-text {
    color: #666;
}

/* ==================== Modern Enhancements ==================== */

/* Modern Section Headings */
.modern-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modern-section-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modern-section-icon {
    font-size: 32px;
    color: #667eea;
    opacity: 0.8;
}

.modern-section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Enhanced Blog Cards */
.enhanced-blog-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.enhanced-blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(102,126,234,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(102,126,234,0.1)"/><circle cx="50" cy="50" r="3" fill="rgba(102,126,234,0.05)"/></svg>');
    opacity: 0.5;
    animation: bgFloat 8s ease-in-out infinite;
}

.enhanced-blog-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 160, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 145, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 119, 255, 0.08) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

/* Floating background elements */
.enhanced-blog-section {
    position: relative;
    overflow: hidden;
}

.enhanced-blog-section .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(120, 160, 255, 0.2), rgba(66, 145, 255, 0.3));
    animation: floatShape 8s ease-in-out infinite;
    pointer-events: none;
}

.enhanced-blog-section .floating-shape:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.enhanced-blog-section .floating-shape:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    background: linear-gradient(45deg, rgba(0, 119, 255, 0.2), rgba(120, 160, 255, 0.3));
}

.enhanced-blog-section .floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(45deg, rgba(66, 145, 255, 0.15), rgba(0, 119, 255, 0.25));
}

.enhanced-blog-section .floating-shape:nth-child(4) {
    width: 40px;
    height: 40px;
    bottom: 25%;
    right: 10%;
    animation-delay: 6s;
    background: linear-gradient(45deg, rgba(120, 160, 255, 0.25), rgba(66, 145, 255, 0.2));
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-40px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.7;
    }
}

.enhanced-blog-cards .blog-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin-bottom: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.enhanced-blog-cards .blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.enhanced-blog-cards .blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.blog-title {
    color: #333;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.blog-author {
    color: #888;
}

.blog-date {
    color: #888;
}

.read-more {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

/* Additional Modern Enhancements for Blog Section */
.enhanced-blog-section {
    animation: sectionFloat 6s ease-in-out infinite;
}

@keyframes sectionFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.enhanced-blog-section::before {
    animation: bgFloat 8s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        opacity: 0.7;
        transform: translateY(-5px) rotate(1deg);
    }

    66% {
        opacity: 0.3;
        transform: translateY(5px) rotate(-1deg);
    }
}

.enhanced-blog-cards .blog-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enhanced-blog-cards .blog-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 119, 255, 0.3), 0 0 30px rgba(66, 145, 255, 0.4), 0 0 40px rgba(120, 160, 255, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.6);
}

.blog-content {
    padding: 15px;
}

.blog-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.blog-excerpt {
    font-size: 13px;
    line-height: 1.5;
}

.blog-meta {
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enhanced-blog-cards .blog-card {
        height: auto;
        margin-bottom: 15px;
    }

    .blog-image-container {
        height: 150px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-title {
        font-size: 16px;
    }

    .blog-excerpt {
        font-size: 13px;
    }
}

/* Enhanced Testimonials */
.enhanced-testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 60px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background:
            radial-gradient(circle at 20% 80%, rgba(120, 160, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(66, 145, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(0, 119, 255, 0.08) 0%, transparent 50%);
    }

    33% {
        background:
            radial-gradient(circle at 30% 70%, rgba(120, 160, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 70% 30%, rgba(66, 145, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(0, 119, 255, 0.12) 0%, transparent 50%);
    }

    66% {
        background:
            radial-gradient(circle at 10% 90%, rgba(120, 160, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 90% 10%, rgba(66, 145, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 30% 60%, rgba(0, 119, 255, 0.1) 0%, transparent 50%);
    }

    100% {
        background:
            radial-gradient(circle at 20% 80%, rgba(120, 160, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(66, 145, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(0, 119, 255, 0.08) 0%, transparent 50%);
    }
}

/* Floating Icons */
.floating-icon-test {
    position: absolute;
    font-size: 24px;
    color: rgba(59, 130, 246, 0.3);
    animation: floatIcon 6s ease-in-out infinite;
    z-index: 1;
}

.floating-icon-test:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-test:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    font-size: 30px;
}

.floating-icon-test:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
    color: rgba(16, 185, 129, 0.3);
}

.floating-icon-test:nth-child(4) {
    bottom: 35%;
    right: 10%;
    animation-delay: 1s;
    font-size: 28px;
    color: rgba(245, 101, 101, 0.3);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-40px) rotate(0deg);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-20px) rotate(-5deg);
        opacity: 0.6;
    }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 8px 32px linear-gradient(90deg, rgba(120, 160, 255, 1) 0%, rgba(66, 145, 255, 1) 39%, rgba(0, 119, 255, 1) 100%);
    border: 2px solid #e0e6ff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    color: #333;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.4);
}

.testimonial-card:hover .quote {
    animation: textGlow 0.6s ease-in-out;
}

@keyframes textGlow {
    0% {
        text-shadow: none;
    }

    50% {
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }

    100% {
        text-shadow: none;
    }
}

.testimonial-card .quote {
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    color: #2d3748;
    transition: color 0.3s ease;
}

.testimonial-card:hover .quote {
    color: #4a5568;
}

.testimonial-card .quote::before {
    content: '"';
    font-size: 80px;
    color: #667eea;
    position: absolute;
    top: -30px;
    left: -30px;
    opacity: 0.2;
    font-family: serif;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .quote::before {
    opacity: 0.4;
}

.testimonial-card .quote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card .quote::before {
    content: '"';
    font-size: 60px;
    color: #667eea;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card .author {
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
    text-align: center;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Spacing and Animations */
.section-spacing {
    margin: 10px 0;
    padding: 10px 0;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-section-title {
        font-size: 24px;
    }

    .modern-section-icon {
        font-size: 28px;
    }

    .enhanced-blog-section,
    .enhanced-testimonials-section {
        padding: 40px 0;
        margin: 20px 0;
    }

    .testimonial-card {
        padding: 20px;
        margin: 10px;
        height: 180px;
        border-radius: 15px;
    }

    .testimonial-card .quote::before {
        font-size: 50px;
        top: -15px;
        left: -15px;
    }

    .testimonial-card .author {
        font-size: 16px;
    }
}

/* Position the top badge to the left side */
.wrapper-2 {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    /* Ensure it's not on the right */
}

/* Improve wishlist icon styling */
.mk-heart .fas,
.mk-heart .far {
    font-size: 18px;
    /* Slightly larger */
    color: #e74c3c;
    /* More vibrant red for better visibility */
}

/* Desktop view improvements for wishlist icon */
@media (min-width: 768px) {

    .mk-heart .fas,
    .mk-heart .far {
        font-size: 22px;
        /* Larger for desktop */
        background: rgba(255, 255, 255, 0.8);
        /* Semi-transparent background */
        border-radius: 50%;
        /* Circular background */
        padding: 6px;
        /* Padding around icon */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        /* Subtle shadow */
    }

    .mk-heart {
        top: 10px;
        /* Adjust position for larger icon */
        right: 10px;
    }
}

/* Blog Title */
.blog-titles {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-left: 12px;
}

.blog-titles::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 70%;
    background: linear-gradient(180deg, #ff7e5f, #feb47b);
    transform: translateY(-50%);
    border-radius: 3px;
}

/* Blog Link */
.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: #ff7e5f;
    text-decoration: none;
    border: 1px solid #ff7e5f;
    padding: 5px 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.listing-titles {

    height: 35px;
    /* Light gray background */
}

.seva-card {
    height: 370px !important;
}

/* Compact Modern Download Our App Section */
.modern-download-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.modern-download-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(54, 57, 226, 0.05) 0%, transparent 70%);
    top: -150px;
    right: -50px;
    border-radius: 50%;
    z-index: 0;
}

.download-card-custom {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.badge-new {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #3639e2, #00c6ff);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modern-download-section .download-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.modern-download-section .download-title .highlight {
    background: linear-gradient(90deg, #3639e2, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-download-section .download-description {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 500px;
}

.play-store-btn img {
    height: 50px;
    width: auto;
}

.mockup-frame-custom {
    width: 200px;
    height: 400px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 35px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    animation: float-app 6s ease-in-out infinite;
}

.app-logo-inside {
    width: 100px;
    height: 100px;
}

@media (max-width: 991px) {
    .modern-download-section {
        padding: 40px 15px;
    }

    .download-card-custom {
        padding: 40px 25px;
        text-align: center;
    }

    .modern-download-section .download-title {
        font-size: 2.2rem;
    }

    .modern-download-section .download-description {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .play-store-btn img {
        height: 50px;
    }
}

/* Modern Search Wrapper */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: auto;
    display: flex;
    align-items: center;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #4ade80;
    /* Green accent */
    height: 60px;
}

/* Search Icon */
.search-icon {
    position: absolute;
    left: 20px;
    color: #f59e0b;
    /* Yellow accent */
    font-size: 18px;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Input Styling */
.search-box {
    flex: 1;
    border: none;
    outline: none;
    padding: 20px 20px 20px 50px;
    /* Left padding for icon */
    font-size: 16px;
    color: #374151;
    background: transparent;
    font-weight: 500;
}

.search-box::placeholder {
    color: #9ca3af;
    font-style: normal;
    font-weight: 400;
}

/* Button Styling */
.search-btn {
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    /* Orange gradient */
    color: #fff;
    transition: all 0.3s ease;
    margin-right: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

/* Hover Effects */
.search-btn:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

.search-btn:hover::before {
    left: 100%;
}

.search-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.search-wrapper:focus-within {
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.3);
    transform: translateY(-3px);
    border-color: #f59e0b;
    /* Yellow on focus */
}

.search-wrapper:focus-within .search-icon {
    color: #ea580c;
    /* Orange on focus */
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
        height: 50px;
        border-radius: 40px;
    }

    .search-box {
        padding: 15px 15px 15px 45px;
        font-size: 14px;
    }

    .search-icon {
        left: 15px;
        font-size: 16px;
    }

    .search-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-right: 3px;
    }
}

@media (max-width: 480px) {
    .search-wrapper {
        height: 45px;
    }

    .search-box {
        padding: 12px 12px 12px 40px;
        font-size: 13px;
    }

    .search-icon {
        left: 12px;
        font-size: 14px;
    }

    .search-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* large banner */

.large-banner-image {
    height: 600px !important;
    /* Fixed height for large screens */
}

/* Ensure the parent is positioned for the child */
.header-carousel-item {
    position: relative;
}

/* Style and position the new dots container */
.banner-dots-container {
    position: absolute;
    bottom: 20px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

/* Your original dot styles */
.banner-dots-container .owl-dot {
    font-size: 20px;
    cursor: pointer;
    margin: 0 8px;
    color: #ccc;
    transition: color 0.3s ease;
    /* Removed `display:none` here so they are visible */
}

.banner-dots-container .owl-dot:hover,
.banner-dots-container .owl-dot.active {
    color: #ff4242;
    /* Highlight active dot */
}

/* Premium Title */
.premium-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    position: relative;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
}

.premium-title::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3639e2, #00c6ff);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

/* Premium Link (button style) */
.premium-link {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3639e2, #00c6ff);
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.premium-link:hover {
    background: linear-gradient(135deg, #00c6ff, #3639e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Blog Title */
.blog-titles {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-left: 12px;
}

.blog-titles::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 70%;
    background: linear-gradient(180deg, #ff7e5f, #feb47b);
    transform: translateY(-50%);
    border-radius: 3px;
}

/* Blog Link */
.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: #ff7e5f;
    text-decoration: none;
    border: 1px solid #ff7e5f;
    padding: 5px 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.listing-titles {

    height: 35px;
    /* Light gray background */
}

.seva-card {
    height: 370px !important;
}

/* Compact Modern Download Our App Section */
.modern-download-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.modern-download-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(54, 57, 226, 0.05) 0%, transparent 70%);
    top: -150px;
    right: -50px;
    border-radius: 50%;
    z-index: 0;
}

.download-card-custom {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.badge-new {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #3639e2, #00c6ff);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modern-download-section .download-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.modern-download-section .download-title .highlight {
    background: linear-gradient(90deg, #3639e2, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-download-section .download-description {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 500px;
}

.play-store-btn img {
    height: 50px;
    width: auto;
}

.mockup-frame-custom {
    width: 200px;
    height: 400px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 35px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    animation: float-app 6s ease-in-out infinite;
}

.app-logo-inside {
    width: 100px;
    height: 100px;
}

@media (max-width: 991px) {
    .modern-download-section {
        padding: 40px 15px;
    }

    .download-card-custom {
        padding: 40px 25px;
        text-align: center;
    }

    .modern-download-section .download-title {
        font-size: 2.2rem;
    }

    .modern-download-section .download-description {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .play-store-btn img {
        height: 50px;
    }
}

/* Stats Cards Section */
.section-spacing {
    margin: 10px 0;
    padding: 10px 0;
}

.stats-card {
    border-radius: 14px !important;
    padding: 10px !important;
    height: auto !important;
    min-height: 110px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}

.stats-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 6px !important;
}

.stats-icon i {
    font-size: 16px !important;
}

.stats-number {
    font-size: 22px !important;
    line-height: 1.1;
    margin-bottom: 2px !important;
    font-weight: bold !important;
}

.stats-title {
    font-size: 11px !important;
    letter-spacing: 0.6px !important;
    font-weight: bold !important;
}

/* Desktop tightening */
@media (min-width: 992px) {
    .stats-card {
        min-height: 100px;
        padding: 12px !important;
    }
}

/* Mobile ultra-compact */
@media (max-width: 576px) {
    .stats-card {
        padding: 8px !important;
        min-height: 95px;
    }

    .stats-number {
        font-size: 20px !important;
    }
}

/* Hover Effects for Stats Cards */
.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.stats-card:hover .stats-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.stats-card:hover .stats-number {
    transform: scale(1.05);
}

/* Live Pulse Animation for Visitor Card */
@keyframes simple-pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .stats-card {
        padding: 10px !important;
        margin-bottom: 10px;
        height: 120px !important;
        border-radius: 15px !important;
    }

    .stats-number {
        font-size: 20px !important;
        margin-bottom: 3px !important;
    }

    .stats-title {
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }

    .stats-icon {
        width: 35px !important;
        height: 35px !important;
        margin: 0 auto 8px !important;
    }

    .stats-icon i {
        font-size: 16px !important;
    }

    .modern-section-title {
        font-size: 20px !important;
    }

    .text-muted {
        font-size: 12px !important;
    }
}

/* Compact Stats Cards */
.stats-card {
    border-radius: 14px !important;
    padding: 10px !important;
    height: auto !important;
    min-height: 110px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}

.stats-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 6px !important;
}

.stats-icon i {
    font-size: 16px !important;
}

.stats-number {
    font-size: 22px !important;
    line-height: 1.1;
    margin-bottom: 2px !important;
    font-weight: bold !important;
}

.stats-title {
    font-size: 11px !important;
    letter-spacing: 0.6px !important;
    font-weight: bold !important;
}

/* Desktop tightening */
@media (min-width: 992px) {
    .stats-card {
        min-height: 100px;
        padding: 12px !important;
    }
}

/* Mobile ultra-compact */
@media (max-width: 576px) {
    .stats-card {
        padding: 8px !important;
        min-height: 95px;
    }

    .stats-number {
        font-size: 20px !important;
    }
}
