@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;700&display=swap');

body {
    font-family: 'Hind Siliguri', sans-serif;
    padding-top: 56px;
}

.navbar {
    background-color: rgba(33, 37, 41, 0.85);
    backdrop-filter: blur(10px);
}


.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

.navbar.navbar-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand {
    font-size: 1.5rem;
    transition: font-size 0.4s ease;
}

.navbar.navbar-scrolled .navbar-brand {
    font-size: 1.25rem;
}

.navbar .nav-link {
    position: relative;
    padding-bottom: 8px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #667eea;
    transition: width 0.4s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.dropdown-toggle::after {
    display: none !important;
}

.custom-navbar .search-input-group {
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background-color: #f1f3f5;
    max-width: 300px;
}

.custom-navbar .search-input-group .form-control {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.custom-navbar .search-input-group .form-control::placeholder {
    color: #adb5bd;
}

.custom-navbar .search-input-group .input-group-text {
    background-color: transparent;
    border: none;
}


.container-xl {
    max-width: 1320px;
}

.dropdown-menu {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    z-index: 1000;
    border: none;
}

.dropdown-menu .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #343a40;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f1f3f5;
    color: #0d6efd;
    outline: none;
}


.custom-categories-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
    margin: 0;
}

.custom-categories-dropdown .dropdown-item.active-category {
    background-color: #e9ecef;
    color: #5d5dff;
    font-weight: 600;
}

.custom-categories-dropdown .dropdown-item.active-category .custom-dropdown-icon {
    color: #5d5dff !important;
}


.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    display: block;
    pointer-events: none;
    visibility: hidden;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.navbar-nav .dropdown {
    position: relative;
}


.tool-categories-section {
    background-color: #f8f9fa;
    padding-bottom: 5rem;
}

.tool-categories-section h2 {
    color: #212529;
}

.category-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-image: linear-gradient(to top, rgba(93, 93, 255, 0.05) 0%, transparent 100%);
    background-size: 100% 0%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #5d5dff;
    background-size: 100% 100%;
    background-image: linear-gradient(to top, rgba(93, 93, 255, 0.1) 0%, transparent 100%);
}


.category-card .category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    width: 100%;
}

.category-card .icon-wrapper {
    background-color: #f1f3ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #5d5dff;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover .icon-wrapper {
    background-color: #dedce9;
    color: #ffffff;
    display: flex;
}

.category-card .category-title {
    font-weight: 500;
    color: #343a40;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: #0d6efd;
}

.hero-section {
    background: linear-gradient(rgba(40, 58, 90, 0.7), rgba(40, 58, 90, 0.7)), url('https://deltasoftwaresolutions.net/wp-content/uploads/2023/08/Web-Design-and-Development-Services-1.jpg') no-repeat center center;
    background-size: cover;
    background-blend-mode: darken;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;  
    padding-top: 50px;
    padding-bottom: 30px;
} 
 
.hero-section .lead {
    max-width: 600px;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
 
  
  
@media screen AND (max-width:768px) {
    .hero-section {
        min-height: 15vh;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #667eea;
}

.tool-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(32, 33, 36, .2);
}

@media (prefers-reduced-motion: no-preference) {
    .tool-card-animate {
        animation-play-state: running;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tool-card-animate {
        transition: none;
        animation: none;
    }
}

.tool-card .card-body i {
    color: #667eea;
}

.card-coming-soon {
    opacity: 0.7;
}

.unique-footer {
    background-color: #212529;
}

.unique-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.unique-footer a:hover {
    color: #fff !important;
}

.unique-footer .brand-text {
    color: #667eea;
}

.card {
    border: 1px solid #f2eaea !important;
}

@media (max-width: 991.98px) {
    .dropdown {
        height: 50px;
        width: 100%;
    }

    .dropdown-menu {
        z-index: 9999;
    }

    .dropdown-menu .dropdown-item {
        text-align: center;
    }

    .custom-navbar .search-input-group {
        max-width: 100%;
        margin-top: 10px;
    }

    .custom-navbar {
        padding-left: 1rem;
        padding-right: 1rem;
        z-index: 1020;
    }

    .navbar-brand {
        margin-right: auto;
    }

    .navbar-toggler {
        border: none;
        background-color: transparent;
        padding: 0.25rem 0.5rem;
        font-size: 1.25rem;
        color: #495057;
    }

    .navbar-toggler:focus {
        outline: none;
    }

    #navbarNavMobile .navbar-nav {
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    #navbarNavMobile .nav-item {
        margin-bottom: 0.5rem;
    }

    #navbarNavMobile .dropdown-menu {
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 0.5rem;
        margin-top: 0.25rem;
    }

    #navbarNavMobile .dropdown-item {
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }

    .search-bar-nav-item {
        width: 100%;
    }
}

.bi-facebook {
    color: #1877f3 !important;
}

.bi-twitter-x {
    color: #000 !important;
}

.bi-github {
    color: #6e5494 !important;
}

/* Navbar search dropdown unique style */
#searchSuggestions {   
    max-height: 400px;
    overflow-y: auto;
    border-radius: 5px;
    box-shadow: 0 12px 32px rgba(40, 58, 90, 0.18), 0 1.5px 6px rgba(40, 58, 90, 0.08);
    background: #fff;
    border: 1px solid #e9ecef;
    margin-top: 6px;
    padding: 0;
    min-width: 320px;
}

#searchSuggestions .list-group-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.08rem;
    color: #343a40;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f2eaea;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    padding: 13px 22px 13px 18px;
    border-radius: 8px;
    margin: 0 6px;
}

#searchSuggestions .list-group-item:last-child {
    border-bottom: none;
}

#searchSuggestions .list-group-item:hover {
    background: #f4f7ff;
    color: #5d5dff;
    box-shadow: 0 2px 8px rgba(93, 93, 255, 0.07);
}

#searchSuggestions .search-suggestion-icon {
    font-size: 1.45em;
    min-width: 2em;
    text-align: center;
    color: #5d5dff;
    opacity: 0.95;
    font-weight: 600;
}

/* Custom thin scrollbar for dropdown */
#searchSuggestions::-webkit-scrollbar {
    width: 6px;
    background: #f2f2f2;
    border-radius: 8px;
}

#searchSuggestions::-webkit-scrollbar-thumb {
    background: #e0e7ff;
    border-radius: 8px;
}

#searchSuggestions {
    scrollbar-width: thin;
    scrollbar-color: #e0e7ff #f2f2f2;
}

/* Hide scrollbar for search dropdown */
#searchSuggestions {
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

#searchSuggestions::-webkit-scrollbar {
    display: none;
}
 
/* Card Animation */
.card.tool-card-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.card.tool-card-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.sub-title{
    font-size: 20px;
    font-weight: bold;
    
}

.form-check-label,
.form-label {
    font-weight: bold !important;
}