/* ========================================
   BASE STYLES - GENERIC
   ======================================== */
/* Common font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: white;
    color: #1a1a1a;
    width: 100%;
    height: 100vh;
}



/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
}

.dashboard-header img {
    height: 24px;
    width: auto;
    align-self: center;
}

.dashboard-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f7ff;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 20px;
    color: #5665fc;
    font-weight: 500;
    font-size: 14px;
    pointer-events: auto;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}

.user-button img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

.user-menu:hover .user-button,
.user-menu.active .user-button {
    background-color: #5665fc;
    color: white;
    border-color: #5665fc;
}

.user-menu:hover .user-button img,
.user-menu.active .user-button img,
.user-button:hover img {
    filter: brightness(0) invert(1);
}

.user-menu:hover .user-button::after {
    transform: translateY(-50%) rotate(180deg);
}

.user-button::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.user-menu.active .user-button::after {
    transform: translateY(-50%) rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    width: 240px;
    z-index: 200;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background-color: white;
    transform: rotate(45deg);
    border-left: 1px solid rgba(66, 133, 244, 0.1);
    border-top: 1px solid rgba(66, 133, 244, 0.1);
    z-index: -1;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 18px 15px;
    border-bottom: 1px solid #f0f4ff;
    display: flex;
    flex-direction: column;
    background-color: #fafbff;
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.user-dropdown-email {
    font-size: 13px;
    color: #666;
}

.user-dropdown-items {
    padding: 8px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
    pointer-events: auto;
}

.user-dropdown-item i {
    font-size: 16px;
    width: 20px;
    color: #666;
    text-align: center;
}

.user-dropdown-item:hover {
    background-color: #f5f7ff;
    color: #4285f4;
    border-left-color: #4285f4;
}

.user-dropdown-item:hover i {
    color: #4285f4;
}

.user-dropdown-item:active {
    background-color: #e8f0fe;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #f0f4ff;
    margin: 8px 0;
}

/* Hover handling for desktop only */
@media (hover: hover) and (pointer: fine) {
    .user-menu:hover .user-button {
        background-color: #5665fc;
        color: white;
        border-color: #5665fc;
    }

    .user-menu:hover .user-button img {
        filter: brightness(0) invert(1);
    }

    .user-menu:hover .user-button::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Mobile and Tablet Responsive */
@media (max-width: 1024px) {
    .dashboard-banner .banner-content {
        margin-left: 120px;
    }

    .dashboard-banner .create-app-btn,
    .dashboard-banner .cancel-btn,
    .dashboard-banner .close-project-btn {
        margin-right: 120px;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 0 20px !important;
    }

    .dashboard-main {
        padding: 0;
    }

    /* Fix for arrow overlap issue */
    .user-button {
        padding: 8px 30px 8px 12px;
    }

    .user-dropdown {
        right: 5px !important;
        top: 50px !important;
    }

    .user-menu {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 0 10px !important;
    }

    .user-dropdown {
        right: 5px;
        width: min(220px, calc(100vw - 20px));
        font-size: 14px;
    }

    .user-dropdown-header {
        padding: 12px 10px;
    }

    .user-dropdown-item {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Adjust user button for mobile */
    .user-button {
        padding: 8px 30px 8px 12px;
        font-size: 14px;
    }

    .user-button span {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .user-dropdown {
        right: 10px !important;
        top: 55px !important;
    }
}

/* ========================================
   HEADER STYLES
   ======================================== */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
}

.dashboard-header img {
    height: 24px;
    width: auto;
    align-self: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f7ff;
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    border-radius: 20px;
    color: #5665fc;
    font-weight: 500;
    font-size: 14px;
    pointer-events: auto;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}

.user-button img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease;
}

/* ========================================
   MENU BAR STYLES
   ======================================== */

.dashboard-menu-bar {
    display: flex;
    gap: 40px;
    padding: 12px 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    align-items: center;
}

.menu-item {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    position: relative;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

/* Desktop hover effect */
@media (hover: hover) and (pointer: fine) {
    .menu-item:hover {
        color: #5B7BFF;
    }
}

/* Mobile/Tablet active effect */
@media (hover: none) {
    .menu-item:active {
        color: #5B7BFF;
    }
}

/* ========================================
   MEGA MENU DROPDOWN STYLES
   ======================================== */

.menu-dropdown {
    position: fixed;
    left: 0%;
    margin-top: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    width: 60vw;
    max-width: 1300px;
    min-width: 800px;
}

.menu-dropdown:not(.menu-dropdown-solution) {
    width: 45vw;
    max-width: 950px;
    min-width: 600px;
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Platform Mega Menu - 2 Column Grid */
.mega-menu-platform {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mega-menu-column {
    background: white;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mega-menu-column h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #5B7BFF;
    display: inline-block;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

.mega-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mega-menu-link {
    font-size: 16px;
    font-weight: 550;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    line-height: 1.5;
    padding: 6px 0;
    margin-bottom: 8px;
}

/* Highlighted Card */
.mega-menu-card {
    background: #f3f3ff;
    border-radius: 12px;
    padding: 24px;
}

.mega-menu-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mega-menu-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.mega-menu-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.mega-menu-card p {
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mega-menu-card-btn {
    background: #5B7BFF;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.mega-menu-card-btn:hover {
    background: #4A6AEE;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 123, 255, 0.3);
}

/* Solutions Mega Menu - 3 Column Grid */
.mega-menu-solutions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.solutions-column {
    background: white;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solutions-column h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #5B7BFF;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
}

.solutions-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.solutions-item {
    font-size: 16px;
    font-weight: 550;
    color: #1a1a1a;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1.5;
    padding: 6px 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

a.solutions-item {
    text-decoration: none;
    color: #1a1a1a;
}

a.solutions-item:hover {
    color: #5B7BFF;
}

a.solutions-item:visited {
    color: #1a1a1a;
}

.solutions-item img {
    align-self: start;
}

/* Solution Menu Header */
.mega-menu-header,
.solution-menu-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.mega-menu-header img,
.solution-menu-header img {
    background: #ebfaf3 ;
    border-radius: 8px ;
    padding: 8px;
    width: 48px ;
    height: 48px;
    align-self: flex-start;
}

.solution-menu-header i {
    background: #ebfaf3 ;
    border-radius: 8px;
    padding: 8px ;
    width: 48px ;
    height: 48px ;
    align-self: center ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    font-size: 24px ;
    align-self: flex-start ;
}

/* Solution Menu Buttons */
.btn-solution-menu {
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(91, 123, 255, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    margin-top: auto;
    width: 100%;
}

.btn-try-ai-service {
    background: #33d09b;
}

.btn-dev-tier-service {
    background: #5665fc;
}

.btn-enterprice-service {
    background: #ff0164;
}

.solution-menu-header-mobile:nth-child(1 of .solution-menu-header-mobile) {
    border-bottom-color: #33d09b;
}

.solution-menu-header-mobile:nth-child(2 of .solution-menu-header-mobile) {
    border-bottom-color: #5665fc;
}

.solution-menu-header-mobile:nth-child(3 of .solution-menu-header-mobile) {
    border-bottom-color: #ff0164;
}

.solution-menu-header.ai-services h3 {
    border-bottom-color: #33d09b;
}

.solution-menu-header.dev-tier h3 {
    border-bottom-color: #5665fc;
}

.solution-menu-header.enterprise h3 {
    border-bottom-color: #ff0164;
}

.solution-header-style2 h3 {
    text-align: start;
    margin-left: 0px;
    margin-right: 0px;
    border-bottom: none !important;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.solution-header-style2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.solution-header-style2 i {
    align-self: self-start;
}

.solution-header-style2 img {
    align-self: self-start;
}

.solution-header-style2-title {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.solution-header-style2-title hr {
    flex: 1;
    border: none;
    height: 1px;
    background-color: #33d09b;
    margin: 0;
    opacity: 0.25;
}

.dev-tier-hr-line {
    background-color: #5665fc !important;
}

.enterprise-hr-line {
    background-color: #ff0164 !important;
}

.platform-menu-hr-line {
    background-color: #5B7BFF !important;
}

.menu-single-card {
    grid-template-columns: 1fr !important;
}

/* ========================================
   MAIN CONTENT STYLES
   ======================================== */

.integrations-container {
    width: 100%;
    height: 100%;
    display: block;
}

.dashboard-main {
    width: 100%;
    padding: 60px 80px !important;
}

.integrations-header {
    margin-bottom: 40px;
}

.integrations-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.integrations-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 32px;
}

/* ========================================
   SEARCH BOX STYLES
   ======================================== */

.search-box {
    width: 100%;
    max-width: 500px;
    margin-bottom: 32px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-input:not(:placeholder-shown) {
    background-color: #fafafa;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

/* ========================================
   CATEGORY FILTER CHIPS
   ======================================== */

.category-chips {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.category-chip {
    padding: 10px 20px;
    border-radius: 24px;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.category-chip:hover {
    border-color: #5B7BFF;
    color: #5B7BFF;
}

.category-chip.active {
    background-color: #5B7BFF;
    border-color: #5B7BFF;
    color: white;
}

/* ========================================
   CATEGORY SECTIONS
   ======================================== */

.category-section {
    margin-bottom: 80px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-header {
    margin-bottom: 32px;
}

.category-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

/* ========================================
   CARDS CONTAINER & CARD STYLES
   ======================================== */

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, transform 0.2s, opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.card-image-container {
    width: 100%;
    /* height: 180px; */
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    /* height: 100%; */
    /* object-fit: inherit; */
}

.category-section[data-category-name='Text To Text'] img{
    height: 100%;
}

.card-icon-background {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 32px;
}

.card-icon {
    font-size: 48px;
    color: white;
}

.card-content {
    padding: 16px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.card-separator {
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    margin-bottom: 16px;
    margin-top: auto;
}

.card-link {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.card:hover .card-link {
    color: #000;
}

.card-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.2s;
    font-size: 18px;
}

.card:hover .card-link::after {
    margin-left: 12px;
}

/* Color backgrounds for different integration types */
.bg-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-audio {
    background: linear-gradient(135deg, #5B7BFF 0%, #3B82F6 100%);
}

.bg-video {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-text {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.bg-ai {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.bg-default {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
    width: 100%;
    background: white;
    padding: 60px 40px 32px;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-container {
    margin: 0px 10%;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;    
}

.footer-logo {
    /* margin-bottom: 8px; */
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.footer-links li a:hover {
    color: #5B7BFF;
}

.footer-copyright {
    max-width: 1400px;
    margin: 0px 10%;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 400;
    padding-top: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */

.no-results-message {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Extra Large Screens - 2800px+ */
@media (min-width: 2800px) {
    .dashboard-main {
        padding: 80px 120px !important;
    }

    .cards-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 32px;
    }

    .integrations-title {
        font-size: 64px;
    }

    .category-title {
        font-size: 36px;
    }

    .card-image-container {
        /* height: 220px; */
    }

    .card-icon {
        font-size: 56px;
    }

    .category-chip {
        padding: 12px 24px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 80px 60px 40px;
    }

    .footer-container {
        max-width: 2800px;
        gap: 60px;
        margin-bottom: 60px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        display: flex;
        gap: 10%;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-column-title {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 14px;
    }

    .footer-links li a {
        font-size: 16px;
    }

    .footer-copyright {
        max-width: 2800px;
        font-size: 15px;
        padding-top: 40px;
        
        margin-left: auto;
        margin-right: auto;
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 50px;
        padding: 14px 28px;
    }

    .menu-item {
        font-size: 18px;
    }

    .menu-dropdown {
        width: 65vw;
        max-width: 1600px;
        min-width: 1300px;
        padding: 40px;
    }

    .menu-dropdown:not(.menu-dropdown-solution) {
        width: 50vw;
        max-width: 1150px;
        min-width: 900px;
    }

    .mega-menu-platform {
        gap: 40px;
    }

    .mega-menu-column h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 18px;
    }

    .mega-menu-link {
        font-size: 18px;
        padding: 7px 0;
    }

    .mega-menu-card-header {
        gap: 10px;
        margin-bottom: 14px;
    }

    .mega-menu-card-icon {
        width: 40px;
        height: 40px;
    }

    .mega-menu-card h4 {
        font-size: 22px;
    }

    .mega-menu-card p {
        font-size: 16px;
    }

    .mega-menu-card-btn {
        font-size: 16px;
        padding: 14px 32px;
    }

    .mega-menu-solutions {
        gap: 25px;
    }

    .solutions-column h3 {
        font-size: 22px;
        font-weight: 600;
    }

    .solutions-item {
        font-size: 18px;
        padding: 7px 0;
    }

    .solution-menu-header {
        gap: 10px;
        margin-bottom: 14px;
    }

    .solution-menu-header img {
        width: 52px;
        height: 52px;
        padding: 10px;
    }

    .solution-menu-header i {
        width: 52px;
        height: 52px;
        padding: 10px;
        font-size: 26px;
    }

    .btn-solution-menu {
        font-size: 18px;
        padding: 16px 36px;
    }
}

/* Large Screens - 1866px to 2799px */
@media (min-width: 1866px) and (max-width: 2799px) {
    .dashboard-main {
        padding: 70px 100px !important;
    }

    .cards-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 28px;
    }

    .integrations-title {
        font-size: 56px;
    }

    .card-image-container {
        /* height: 200px; */
    }

    .card-icon {
        font-size: 52px;
    }

    .category-chip {
        padding: 11px 22px;
        font-size: 15px;
    }

    /* Footer */
    .footer {
        padding: 70px 50px 36px;
    }

    .footer-container {
        max-width: 1800px;
        gap: 54px;
        margin-bottom: 54px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        display: flex;
        gap: 10%;
    }

    .footer-logo img {
        height: 36px;
    }

    .footer-column-title {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .footer-links {
        gap: 13px;
    }

    .footer-links li a {
        font-size: 15px;
    }

    .footer-copyright {
        max-width: 1800px;
        font-size: 14px;
        padding-top: 36px;
        
        margin-left: auto;
        margin-right: auto;
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 40px;
        padding: 12px 24px;
    }

    .menu-item {
        font-size: 16px;
    }

    .menu-dropdown {
        width: 70vw;
        max-width: 1400px;
        min-width: 1100px;
        padding: 36px;
    }

    .menu-dropdown:not(.menu-dropdown-solution) {
        width: 55vw;
        max-width: 1000px;
        min-width: 800px;
    }

    .mega-menu-platform {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .mega-menu-column h3 {
        font-size: 18px;
        font-weight: 600;
    }

    .mega-menu-link {
        font-size: 15px;
        padding: 6px 0;
    }

    .mega-menu-card-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .mega-menu-card-icon {
        width: 28px;
        height: 28px;
    }

    .mega-menu-card h4 {
        font-size: 18px;
    }

    .mega-menu-card p {
        font-size: 14px;
    }

    .mega-menu-card-btn {
        font-size: 14px;
    }

    .mega-menu-solutions {
        gap: 20px;
    }

    .solutions-column h3 {
        font-size: 18px;
        font-weight: 600;
    }

    .solutions-item {
        font-size: 15px;
        padding: 6px 0;
    }

    .solution-menu-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .solution-menu-header img {
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .solution-menu-header i {
        width: 44px;
        height: 44px;
        padding: 8px;
        font-size: 22px;
    }

    .btn-solution-menu {
        font-size: 16px;
        padding: 14px 32px;
    }
}

/* Desktop Large - 1400px to 1865px */
@media (min-width: 1400px) and (max-width: 1865px) {
    .dashboard-main {
        padding: 60px 80px !important;
    }

    .cards-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    /* Footer */
    .footer {
        padding: 60px 40px 32px;
    }

    .footer-container {
        max-width: 1400px;
        gap: 48px;
        margin-bottom: 48px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        display: flex;
        gap: 10%;
    }

    .footer-logo img {
        height: 32px;
    }

    .footer-column-title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links li a {
        font-size: 14px;
    }

    .footer-copyright {
        max-width: 1400px;
        font-size: 13px;
        padding-top: 32px;
        
        margin-left: auto;
        margin-right: auto;
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 36px;
        padding: 11px 22px;
    }

    .menu-item {
        font-size: 15px;
    }

    .menu-dropdown {
        width: 75vw;
        max-width: 1200px;
        min-width: 900px;
        padding: 28px;
    }

    .menu-dropdown:not(.menu-dropdown-solution) {
        width: 60vw;
        max-width: 850px;
        min-width: 650px;
    }

    .mega-menu-platform {
        gap: 24px;
    }

    .mega-menu-column h3 {
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .mega-menu-link {
        font-size: 13px;
        padding: 4px 0;
    }

    .mega-menu-card {
        padding: 18px;
    }

    .mega-menu-card-header {
        gap: 6px;
        margin-bottom: 8px;
    }

    .mega-menu-card-icon {
        width: 24px;
        height: 24px;
    }

    .mega-menu-card h4 {
        font-size: 14px;
        font-weight: 500;
    }

    .mega-menu-card p {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .mega-menu-card-btn {
        font-size: 11px;
        padding: 8px 20px;
    }

    .mega-menu-solutions {
        gap: 14px;
    }

    .solutions-column h3 {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .solutions-item {
        font-size: 13px;
        padding: 4px 0;
    }

    .solution-menu-header {
        gap: 6px;
        margin-bottom: 10px;
    }

    .solution-menu-header img {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .solution-menu-header i {
        width: 32px;
        height: 32px;
        padding: 6px;
        font-size: 16px;
    }

    .btn-solution-menu {
        font-size: 13px;
        padding: 11px 26px;
    }
}

/* Desktop Medium - 1025px to 1399px */
@media (min-width: 1025px) and (max-width: 1399px) {
    .dashboard-main {
        padding: 50px 60px !important;
    }

    .cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .integrations-title {
        font-size: 42px;
    }

    .category-title {
        font-size: 24px;
    }

    /* Footer */
    .footer {
        padding: 55px 35px 30px;
    }

    .footer-container {
        max-width: 1200px;
        gap: 40px;
        margin-bottom: 44px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        gap: 10%;
        justify-content: center;
    }

    .footer-logo img {
        height: 30px;
    }

    .footer-column-title {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .footer-links {
        gap: 11px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-copyright {
        max-width: 1200px;
        font-size: 12px;
        padding-top: 30px;
        
        margin-left: auto;
        margin-right: auto;
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 32px;
        padding: 10px 20px;
    }

    .menu-item {
        font-size: 15px;
    }

    .menu-dropdown {
        width: 80vw;
        max-width: 1000px;
        min-width: 800px;
        padding: 24px;
    }

    .menu-dropdown:not(.menu-dropdown-solution) {
        width: 65vw;
        max-width: 750px;
        min-width: 600px;
    }

    .mega-menu-platform {
        gap: 20px;
    }

    .mega-menu-column h3 {
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .mega-menu-link {
        font-size: 12px;
        padding: 3px 0;
    }

    .mega-menu-card {
        padding: 14px;
    }

    .mega-menu-card-header {
        gap: 5px;
        margin-bottom: 6px;
    }

    .mega-menu-card-icon {
        width: 24px;
        height: 24px;
    }

    .mega-menu-card h4 {
        font-size: 13px;
        font-weight: 500;
    }

    .mega-menu-card p {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .mega-menu-card-btn {
        font-size: 10px;
        padding: 7px 18px;
    }

    .mega-menu-solutions {
        gap: 12px;
    }

    .solutions-column h3 {
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .solutions-item {
        font-size: 12px;
        padding: 3px 0;
    }

    .solution-menu-header {
        gap: 5px;
        margin-bottom: 8px;
    }

    .solution-menu-header img {
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    .solution-menu-header i {
        width: 28px;
        height: 28px;
        padding: 5px;
        font-size: 14px;
    }

    .btn-solution-menu {
        font-size: 12px;
        padding: 10px 24px;
    }
}

@media (min-width: 900px) and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 36px;
        margin-bottom: 40px;
        max-width: 1000px;    
        margin-left: auto;
        margin-right: auto;
        display: flex !important;
        gap: 10% !important;
        justify-content: center !important;    
    }

    .footer-copyright {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        
    }
}

/* Tablet Landscape - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .dashboard-main {
        padding: 40px 40px !important;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .integrations-title {
        font-size: 38px;
    }

    .category-title {
        font-size: 24px;
    }

    .card-image-container {
        /* height: 160px; */
    }

    .card-icon {
        font-size: 42px;
    }

    /* Footer */
    .footer {
        padding: 50px 30px 28px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 36px;
        margin-bottom: 40px;
        max-width: 1000px;        
        margin-left: auto;
        margin-right: auto;      
    }

    .footer-logo-column {
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }

    .footer-logo img {
        height: 28px;
    }

    .footer-column-title {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 12px;
        padding-top: 28px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 28px;
        padding: 10px 18px;
    }

    .menu-item {
        font-size: 14px;
    }

    .menu-dropdown {
        width: 90vw;
        min-width: 90vw;
        max-width: none;
        padding: 24px;
    }

    .menu-dropdown:not(.menu-dropdown-solution) {
        width: 75vw;
        min-width: 75vw;
    }

    .mega-menu-platform {
        gap: 20px;
    }

    .mega-menu-column h3 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 12px;
    }

    .mega-menu-link {
        font-size: 15px;
        padding: 6px 0;
    }

    .mega-menu-card {
        padding: 20px;
    }

    .mega-menu-card-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .mega-menu-card-icon {
        width: 28px;
        height: 28px;
    }

    .mega-menu-card h4 {
        font-size: 16px;
        font-weight: 500;
    }

    .mega-menu-card p {
        font-size: 14px;
    }

    .mega-menu-card-btn {
        font-size: 14px;
        padding: 10px 24px;
    }

    .mega-menu-solutions {
        gap: 12px;
    }

    .menu-dropdown-solution {
        min-width: 90vw;
        width: 90vw;
    }

    .solutions-column h3 {
        font-size: 18px;
        font-weight: 500;
    }

    .solutions-item {
        font-size: 15px;
        padding: 6px 0;
    }

    .solution-menu-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .solution-menu-header img {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .solution-menu-header i {
        width: 40px;
        height: 40px;
        padding: 8px;
        font-size: 20px;
    }

    .btn-solution-menu {
        font-size: 14px;
        padding: 12px 28px;
    }
}

/* Tablet Portrait and Mobile - max-width 991px */
@media (max-width: 991px) {
    .dashboard-main {
        padding: 32px 24px !important;
    }

    .category-section {
        margin-bottom: 56px;
    }
}

/* Mobile Large - max-width 767px */
@media (max-width: 767px) {
    .dashboard-main {
        padding: 24px 20px !important;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .integrations-title {
        font-size: 32px;
    }

    .integrations-description {
        font-size: 14px;
    }

    .category-title {
        font-size: 22px;
    }

    .card-image-container {
        /* height: 140px; */
    }

    .card-icon {
        font-size: 36px;
    }

    .card-title {
        font-size: 19px;
        margin-bottom: 0px;
    }

    .card-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .category-chips {
        gap: 8px;
        margin-bottom: 40px;
    }

    .category-chip {
        padding: 8px 16px;
        font-size: 13px;
    }

    .search-input {
        padding: 10px 14px 10px 36px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 24px 24px;
        margin-top: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-logo-column {
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }

    .footer-logo img {
        height: 26px;
    }

    .footer-column-title {
        font-size: 11px;
        margin-bottom: 10px;
        letter-spacing: 0.6px;
    }

    .footer-links {
        gap: 9px;
    }

    .footer-links li a {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 11px;
        padding-top: 24px;
        margin: auto;
    }

    /* Menu - Modal Approach */
    .dashboard-menu-bar {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 12px 20px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 2;
    }

    .dashboard-menu-bar::-webkit-scrollbar {
        display: none;
    }

    .menu-item {
        font-size: 14px;
        width: auto;
        padding: 8px 12px;
        flex-shrink: 0;
    }

    .menu-dropdown {
        display: none;
    }

    /* Modal Overlay */
    .mega-menu-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        display: none;
    }

    .mega-menu-modal.active {
        display: block;
    }

    .mega-menu-modal-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease;
    }

    .mega-menu-modal-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.24);
        max-height: 85vh;
        overflow-y: auto;
        animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mega-menu-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 2px solid #e5e7eb;
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 10;
    }

    .mega-menu-modal-title {
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mega-menu-modal-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mega-menu-modal-demo-btn {
        background: #5B7BFF;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

    .mega-menu-modal-close {
        background: transparent;
        border: none;
        color: #6b7280;
        font-size: 28px;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .mega-menu-modal-body {
        padding: 20px;
    }

    .mega-menu-flat-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 16px;
    }

    .mega-menu-flat-grid .mega-menu-link {
        font-size: 15px;
        padding: 8px 0;
        margin: 0;
        color: #1a1a1a;
    }

    .mega-menu-flat-grid .solutions-item {
        font-size: 15px;
        padding: 8px 0;
        color: #1a1a1a;
    }

    .solution-menu-header-mobile {
        margin-bottom: 16px;
        padding-bottom: 18px;
    }

    .solution-menu-header-mobile img,
    .solution-menu-header-mobile i {
        width: 48px;
        height: 48px;
        padding: 10px;
        border-radius: 8px;
        flex-shrink: 0;
        margin-bottom: 8px;
    }

    .solution-menu-header-mobile i {
        align-content: center;
        margin-bottom: 10px;
    }

    .solution-menu-header-mobile h3 {
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0;
        border: none;
        padding: 0;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .btn-solution-menu {
        font-size: 13px;
        margin-bottom: 48px;
        margin-top: 32px;
        width: 100%;
    }

    .solution-menu-header {
        gap: 6px;
        margin-bottom: 10px;
    }

    .solution-menu-header img {
        width: 36px;
        height: 36px;
        padding: 7px;
    }

    .solution-menu-header i {
        width: 36px;
        height: 36px;
        padding: 7px;
        font-size: 18px;
    }

    .solutions-item img {
        width: 24px;
        flex-shrink: 0;
    }

    .solutions-item {
        align-items: start;
    }
}

/* Small Mobile - max-width 480px */
@media (max-width: 480px) {
    .dashboard-main {
        padding: 20px 16px !important;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .integrations-title {
        font-size: 28px;
    }

    .integrations-description {
        font-size: 13px;
    }

    .category-title {
        font-size: 20px;
    }

    .card-image-container {
        /* height: 140px; */
    }

    .card-icon {
        font-size: 32px;
    }

    .category-chips {
        gap: 6px;
        margin-bottom: 32px;
    }

    .category-chip {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 36px 20px 20px;
        margin-top: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-bottom: 28px;
        margin: auto;
    }

    .footer-logo-column {
        margin-bottom: 4px;
    }

    .footer-logo img {
        height: 24px;
    }

    .footer-column-title {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links li a {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 10px;
        padding-top: 20px;
    }

    /* Menu */
    .dashboard-menu-bar {
        gap: 1px;
        padding: 10px 16px;
    }

    .menu-item {
        font-size: 11px;
        padding: 6px 10px;
    }

    .mega-menu-modal-header {
        padding: 16px;
    }

    .mega-menu-modal-title {
        font-size: 16px;
    }

    .mega-menu-modal-demo-btn {
        font-size: 13px;
        padding: 7px 16px;
    }

    .mega-menu-modal-body {
        padding: 16px;
    }

    .mega-menu-flat-grid {
        gap: 4px 16px;
    }

    .mega-menu-flat-grid .mega-menu-link,
    .mega-menu-flat-grid .solutions-item {
        font-size: 14px;
        padding: 7px 0;
    }

    .solution-menu-header-mobile {
        gap: 10px;
        margin-bottom: 18px;
    }

    .solution-menu-header-mobile img,
    .solution-menu-header-mobile i {
        width: 40px;
        height: 40px;
    }

    .solution-menu-header-mobile i {
        align-content: center;
    }

    .solution-menu-header-mobile h3 {
        font-size: 16px;
    }

    .btn-solution-menu {
        font-size: 12px;
    }

    .solution-menu-header img {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .solution-menu-header i {
        width: 32px;
        height: 32px;
        padding: 6px;
        font-size: 16px;
    }
}

/* Mobile - 481px to 767px */
@media (min-width: 481px) and (max-width: 767px) {
    .menu-item {
        font-size: 12px;
        width: auto;
        padding: 8px 12px;
        flex-shrink: 0;
    }
}

/* ========================================
   NEW HEADER MENU CARD-BASED MENU LAYOUT STYLES
   ======================================== */

/* Card Layout Container */
.mega-menu-card-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Header with Icon */
.mega-menu-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.mega-menu-header-icon {
    width: 40px !important;
    height: 40px !important;
    background: #f3f3ff;
    border-radius: 8px;
    padding: 6px;
}

.mega-menu-card-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    border: none;
    padding: 0;
}

/* Card Grid Layout - Default 2x2 */
.mega-menu-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* 3 Column Grid for Core Capabilities */
.mega-menu-card-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

/* Individual Card Item */
.mega-menu-card-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mega-menu-card-item:hover {
    background: #f8f9ff;
    border-color: #5B7BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 123, 255, 0.15);
}

.mega-menu-card-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-card-item-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    filter: brightness(0) invert(0);
}

.mega-menu-card-item h4 {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.mega-menu-card-item p {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Solution Card Specific Styles */
.mega-menu-solution-card {
    gap: 8px;
}

.solution-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2px;
}

.solution-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ========================================
   EXISTING MENU STYLES (Modified)
   ======================================== */

.menu-dropdown {
    position: fixed;
    left: 0%;
    margin-top: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    width: auto;
    max-width: 650px;
    min-width: 500px;
}

.menu-dropdown.menu-dropdown-solution {
    max-width: 750px;
    min-width: 600px;
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE STYLES FOR CARD LAYOUT
   ======================================== */

/* Desktop Large - 1400px to 1865px (matching original pattern) */
@media (min-width: 1400px) and (max-width: 1865px) {
    .menu-dropdown {
        max-width: 600px;
        min-width: 480px;
    }

    .menu-dropdown.menu-dropdown-solution {
        max-width: 700px;
        min-width: 580px;
    }

    .mega-menu-card-grid {
        gap: 14px;
    }

    .mega-menu-card-item {
        padding: 16px;
    }

    .mega-menu-card-item h4 {
        font-size: 13px;
        font-weight: 400;
    }

    .mega-menu-card-item-icon {
        width: 16px;
        height: 16px;
    }

    .mega-menu-card-item p {
        font-size: 11px;
    }
    
    .mega-menu-header-icon,
    .solution-card-icon {
        width: 28px !important;
        height: 28px !important;
        padding: 5px;
    }
    
    .mega-menu-card-header h3 {
        font-size: 13px;
        font-weight: 500;
    }
}

/* Desktop Medium - 1025px to 1399px */
@media (min-width: 1025px) and (max-width: 1399px) {
    .menu-dropdown {
        min-width: 500px;
        max-width: 650px;
        padding: 24px;
    }

    .menu-dropdown.menu-dropdown-solution {
        max-width: 700px;
        min-width: 550px;
    }

    .mega-menu-card-grid {
        gap: 12px;
    }

    .mega-menu-card-item {
        padding: 14px;
    }

    .mega-menu-card-item h4 {
        font-size: 12px;
        font-weight: 400;
    }

    .mega-menu-card-item-icon {
        width: 15px;
        height: 15px;
    }

    .mega-menu-card-item p {
        font-size: 10px;
    }

    .mega-menu-header-icon,
    .solution-card-icon {
        width: 24px !important;
        height: 24px !important;
        padding: 5px;
    }

    .mega-menu-card-header h3 {
        font-size: 12px;
        font-weight: 500;
    }
}

/* Tablet Landscape - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .menu-dropdown {
        width: 90vw;
        min-width: 90vw;
        max-width: none;
        padding: 20px;
    }

    .menu-dropdown.menu-dropdown-solution {
        min-width: 90vw;
        width: 90vw;
    }

    .mega-menu-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mega-menu-card-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu-card-item {
        padding: 14px;
    }

    .mega-menu-card-item h4 {
        font-size: 15px;
        font-weight: 400;
    }

    .mega-menu-card-item-icon {
        width: 18px;
        height: 18px;
    }

    .mega-menu-card-item p {
        font-size: 14px;
    }

    .mega-menu-header-icon,
    .solution-card-icon {
        width: 32px !important;
        height: 32px !important;
        padding: 6px;
    }

    .mega-menu-card-header h3 {
        font-size: 16px;
        font-weight: 500;
    }
}

/* Mobile - max-width 767px */
@media (max-width: 767px) {
    .menu-dropdown {
        display: none;
    }

    /* Mobile uses modal approach, no desktop dropdown */
    
    /* Mobile Modal Card Layout */
    .mega-menu-modal-body .mega-menu-card-layout {
        gap: 16px;
    }
    
    .mega-menu-modal-body .mega-menu-card-header {
        padding-bottom: 12px;
    }
    
    .mega-menu-modal-body .mega-menu-header-icon {
        width: 36px !important;
        height: 36px !important;
        padding: 7px;
    }
    
    .mega-menu-modal-body .mega-menu-card-header h3 {
        font-size: 16px;
    }
    
    .mega-menu-modal-body .mega-menu-card-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .mega-menu-modal-body .mega-menu-card-item {
        padding: 14px;
    }
    
    .mega-menu-modal-body .mega-menu-card-item h4 {
        font-size: 15px;
    }
    
    .mega-menu-modal-body .mega-menu-card-item-icon {
        width: 18px;
        height: 18px;
    }
    
    .mega-menu-modal-body .mega-menu-card-item p {
        font-size: 13px;
    }
}

#user-menu {
    visibility: hidden;
}

/* .dashboard-menu-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */