/* Custom CSS for Mega Menu */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2c3e50 !important;
}

.navbar {
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    background-color: #ffffff !important;
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #3498db !important;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Mega Menu Dropdown */
.mega-menu {
    position: static !important;
}

.mega-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #F6F6F6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 2rem 0;
    display: block !important;
}



/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background-clip: text;
}

.product-heading1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-heading2 {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}

/* Right Side Buttons */
.btn-login {
    color: #2c3e50 !important;
    border: 2px solid #2c3e50;
    padding: 0.5rem 1.5rem;
    margin-right: 0.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #2c3e50;
    color: white !important;
    border: 2px solid #2c3e50;
}

.btn-demo {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #0a4064;
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .mega-menu .dropdown-menu {
        position: relative !important;
        width: 100% !important;
        box-shadow: none;
        background: #f8f9fa;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 1rem 0;
    }

    .product-item {
        background: white;
        border: 1px solid #dee2e6;
    }

    .btn-group-mobile {
        flex-direction: column;
        width: 100%;
    }

    .btn-login,
    .btn-demo {
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* Animation for dropdown arrow */
.dropdown-arrow {
    transition: transform 0.3s ease;
}

.mega-menu.show .dropdown-arrow {
    transform: rotate(180deg);
}