/* MULTI-LEVEL DROPDOWN MENUS (MATCHING IMAGE 1 & IMAGE 2) */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > .nav-link i.fa-chevron-down {
    transition: transform 0.25s ease;
}

.nav-item-dropdown:hover > .nav-link i.fa-chevron-down,
.nav-item-dropdown.open > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 225px;
    background: #ffffff;
    backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 0 24px var(--accent-glow);
    padding: 8px;
    list-style: none;
    display: none;
    z-index: 1100;
    border: 1.5px solid var(--accent-border);
    border-top: 3px solid var(--accent);
    margin-top: 0;
    transform-origin: top left;
}

/* Invisible hover bridge to prevent cursor mouseleave flicker */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 24px;
    width: 11px;
    height: 11px;
    background: #ffffff;
    transform: rotate(45deg);
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    z-index: 1;
}

.nav-item-dropdown:hover > .dropdown-menu,
.nav-item-dropdown.open > .dropdown-menu {
    display: block;
    animation: dropdownSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark, #0f172a);
    border-radius: 8px;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-item:hover, .dropdown-item.active {
    background: var(--accent);
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.dropdown-item:hover i, .dropdown-item.active i {
    color: #ffffff !important;
}

.dropdown-item i.fa-chevron-right {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-submenu:hover > .dropdown-item {
    background: var(--accent-subtle);
    color: var(--accent) !important;
}

.dropdown-submenu:hover > .dropdown-item i.fa-chevron-right {
    transform: translateX(4px);
    color: var(--accent) !important;
}

/* SUBMENU FLYOUT - OPENS STRICTLY TO THE RIGHT SIDE */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dropdown-submenu > .dropdown-sub-menu {
    position: absolute;
    top: -6px;
    left: 100%;
    min-width: 270px;
    max-width: 340px;
    background: #ffffff;
    backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16), 0 0 25px var(--accent-glow);
    padding: 8px;
    list-style: none;
    display: none;
    margin-left: 8px;
    border: 1.5px solid var(--accent-border);
    border-left: 3.5px solid var(--accent);
    z-index: 1200;
    transform-origin: top left;
}

/* Horizontal invisible hover bridge to ensure zero cursor drop when hovering to the right */
.dropdown-submenu > .dropdown-sub-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: -16px;
    width: 20px;
    height: 100%;
    background: transparent;
}

.dropdown-submenu:hover > .dropdown-sub-menu,
.dropdown-submenu.open > .dropdown-sub-menu {
    display: block;
    animation: dropdownSlideRight 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownSlideRight {
    0% {
        opacity: 0;
        transform: translateX(-10px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ==========================================================================
   SERVICES TWO-COLUMN MEGA MENU (SUBMENUS SHOWN ON THE RIGHT SIDE)
   ========================================================================== */
.services-nav-item {
    position: relative;
}

.services-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 65px rgba(29, 42, 88, 0.2), 0 0 30px var(--accent-glow);
    border: 1.5px solid var(--border-subtle, #e2e8f0);
    border-top: 3.5px solid var(--accent, #00b1ff);
    display: none;
    flex-direction: row;
    padding: 0;
    margin-top: 0;
    z-index: 1200;
    transform-origin: top left;
    overflow: hidden;
}

/* Invisible hover bridge to prevent cursor mouseleave flicker */
.services-mega-dropdown::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.services-nav-item:hover > .services-mega-dropdown,
.services-nav-item.open > .services-mega-dropdown {
    display: flex;
    animation: dropdownSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* LEFT SIDEBAR: Service Categories */
.services-mega-sidebar {
    width: 230px;
    min-width: 230px;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-sidebar-header {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 2px 10px 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.services-cat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-cat-tab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
}

.services-cat-tab:hover,
.services-cat-tab.active {
    background: #ffffff;
    color: var(--primary, #1d2a58);
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(29, 42, 88, 0.08);
    transform: translateX(3px);
}

.services-cat-tab.active {
    border-left: 3.5px solid var(--accent, #00b1ff);
    color: var(--primary, #1d2a58);
}

.cat-tab-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-ico {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
}
.cat-ico-indigo { color: #6366f1; }
.cat-ico-emerald { color: #10b981; }
.cat-ico-sky { color: #0284c7; }
.cat-ico-purple { color: #8b5cf6; }
.cat-ico-amber { color: #f59e0b; }
.cat-ico-pink { color: #ec4899; }

.cat-arrow {
    font-size: 0.72rem;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.services-cat-tab:hover .cat-arrow,
.services-cat-tab.active .cat-arrow {
    color: var(--accent, #00b1ff);
    transform: translateX(3px);
}

.services-sidebar-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.all-services-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary, #1d2a58);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.all-services-link:hover {
    color: var(--accent, #00b1ff);
    background: rgba(0, 177, 255, 0.08);
}

/* RIGHT SIDE: Sub-menu Panels ("ডান সাইড থেকে যেন দেখায়") */
.services-mega-content {
    flex: 1;
    background: #ffffff;
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
}

.services-cat-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: panelFadeIn 0.22s ease forwards;
}

.services-cat-panel.active {
    display: flex;
}

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

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #f1f5f9;
}

.panel-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary, #1d2a58);
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}

.panel-subtitle {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

.panel-quote-link {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent, #00b1ff);
    text-decoration: none;
    background: rgba(0, 177, 255, 0.1);
    border: 1px solid rgba(0, 177, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.panel-quote-link:hover {
    background: var(--accent, #00b1ff);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 177, 255, 0.3);
}

/* Cards Grid inside each Sub-menu (Exactly 4 Cards per category) */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.service-nav-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.service-nav-card:hover {
    border-color: var(--accent, #00b1ff);
    box-shadow: 0 8px 24px rgba(29, 42, 88, 0.08);
    transform: translateY(-2px);
}

.snc-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
    min-width: 0;
}

.snc-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.snc-info {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.snc-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary, #1d2a58);
    text-decoration: none;
    line-height: 1.25;
    display: block;
    margin-bottom: 3px;
    transition: color 0.18s ease;
}

.snc-title:hover {
    color: var(--accent, #00b1ff);
}

.snc-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dedicated Price & Delivery Meta Row */
.snc-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    margin-top: 6px;
    border-top: 1px dashed #e2e8f0;
    gap: 8px;
}

.snc-price-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.snc-price-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.snc-price-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary, #1d2a58);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.snc-delivery-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.snc-delivery-badge i {
    color: var(--accent, #00b1ff);
}

/* Action Buttons Row (Clear, High-Contrast, No-Wrap) */
.snc-btn-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.btn-snc-view {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary, #1d2a58);
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    padding: 6px 11px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.btn-snc-view:hover {
    background: var(--primary, #1d2a58);
    border-color: var(--primary, #1d2a58);
    color: #ffffff !important;
}

.btn-snc-order {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--accent, #00b1ff);
    border: 1.5px solid var(--accent, #00b1ff);
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 177, 255, 0.25);
}

.btn-snc-order:hover {
    background: var(--accent-hover, #0096db);
    border-color: var(--accent-hover, #0096db);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 177, 255, 0.35);
    transform: translateY(-1px);
}

/* Bottom banner of the right side */
.services-mega-footer-bar {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 8px;
}

.services-mega-footer-text {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
}

.services-mega-footer-link {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent, #00b1ff);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.services-mega-footer-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   DESKTOP & LAPTOP RESPONSIVE SCALING (1081px to 1440px)
   Prevents any overflow or cut-off on laptops, Windows scaling & smaller desktops
   ========================================================================== */
@media (min-width: 1081px) and (max-width: 1400px) {
    .services-mega-dropdown {
        width: min(850px, calc(100vw - 32px));
    }
    .services-mega-sidebar {
        width: 210px;
        min-width: 210px;
        padding: 14px 10px;
    }
    .services-cards-grid {
        gap: 10px;
    }
    .service-nav-card {
        padding: 10px 12px;
    }
    .snc-title {
        font-size: 0.85rem;
    }
    .snc-desc {
        font-size: 0.73rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (min-width: 1081px) and (max-width: 1240px) {
    .services-mega-dropdown {
        width: min(780px, calc(100vw - 28px));
        border-radius: 14px;
    }
    .services-mega-sidebar {
        width: 185px;
        min-width: 185px;
        padding: 12px 8px;
    }
    .services-cat-tab {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .services-mega-content {
        padding: 12px 14px 14px;
    }
    .services-cards-grid {
        gap: 8px;
    }
    .service-nav-card {
        padding: 9px 10px;
    }
    .snc-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.95rem;
    }
    .snc-title {
        font-size: 0.82rem;
    }
    .snc-price-box .snc-price-value {
        font-size: 0.88rem;
    }
    .snc-delivery-badge {
        font-size: 0.68rem;
    }
    .btn-snc-view, .btn-snc-order {
        font-size: 0.74rem;
        padding: 5px 8px;
    }
}

@media (min-width: 1081px) and (max-width: 1140px) {
    .services-mega-dropdown {
        width: min(710px, calc(100vw - 20px));
    }
    .services-mega-sidebar {
        width: 170px;
        min-width: 170px;
    }
    .services-cat-tab {
        padding: 7px 8px;
        font-size: 0.8rem;
    }
    .services-mega-footer-text {
        font-size: 0.72rem;
    }
    .services-mega-footer-link {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE: COMPACT SERVICES LIST & HORIZONTAL PILL CATEGORIES
   ========================================================================== */
@media (max-width: 1080px) {
    .services-mega-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: 1.5px solid #e2e8f0;
        border-radius: 14px;
        flex-direction: column;
        margin-top: 8px;
        overflow: hidden;
        background: #ffffff;
    }

    /* Category list turns into a sleek horizontal pill bar */
    .services-mega-sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1.5px solid #e2e8f0;
        padding: 10px 10px 8px;
        background: #f8fafc;
    }

    .services-sidebar-header,
    .services-sidebar-footer,
    .cat-arrow {
        display: none !important;
    }

    .services-cat-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .services-cat-list::-webkit-scrollbar {
        display: none;
    }

    .services-cat-tab {
        flex: 0 0 auto;
        width: auto;
        padding: 7px 12px;
        font-size: 0.78rem;
        font-weight: 700;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #334155;
        white-space: nowrap;
        transform: none !important;
    }

    .services-cat-tab.active {
        background: var(--primary, #1d2a58);
        border-color: var(--primary, #1d2a58);
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(29, 42, 88, 0.2);
    }

    .services-cat-tab.active .cat-tab-left span {
        color: #ffffff !important;
    }

    .services-cat-tab.active .cat-ico {
        color: var(--accent, #00b1ff) !important;
    }

    .services-mega-content {
        padding: 10px 10px 12px;
    }

    .panel-header {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .panel-title {
        font-size: 0.9rem;
    }

    .panel-subtitle {
        display: none; /* Keep header compact on mobile */
    }

    .panel-quote-link {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    /* Single column compact list */
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Compact Service Item ("খালি নামগুলো... সুন্দর দেখাবে") */
    .service-nav-card {
        padding: 9px 11px;
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        transform: none !important;
    }

    .snc-header {
        margin-bottom: 0;
        align-items: center;
        gap: 8px;
    }

    .snc-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .snc-title {
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Hide long descriptions on mobile to keep menu compact and fast to browse */
    .snc-desc {
        display: none !important;
    }

    .snc-meta-row {
        padding: 4px 0 0;
        margin-top: 5px;
        border-top: 1px dashed #e2e8f0;
        gap: 6px;
    }

    .snc-price-value {
        font-size: 0.96rem;
    }

    .snc-delivery-badge {
        font-size: 0.66rem;
        padding: 2px 6px;
    }

    .snc-btn-row {
        margin-top: 5px;
        gap: 6px;
    }

    .btn-snc-view {
        padding: 4px 9px;
        font-size: 0.72rem;
    }

    .btn-snc-order {
        padding: 4px 10px;
        font-size: 0.72rem;
    }

    .services-mega-footer-bar {
        margin-top: 8px;
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .services-mega-footer-text,
    .services-mega-footer-link {
        font-size: 0.72rem;
    }
}

/* HIRE ME & TOP SELL SERVICES (MATCHING IMAGE 3) */
.hire-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hire-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hire-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.hire-banner {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    padding: 1.25rem;
    text-align: center;
    box-sizing: border-box;
    background: var(--dark) !important;
    border-bottom: 2px solid var(--accent);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hire-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
    pointer-events: none;
}

/* Theme-Harmonized Brand Logos & Icons: All adapt dynamically to selected theme color */
.hire-banner i,
.hire-banner span,
.hire-banner div {
    color: var(--accent) !important;
    transition: color 0.3s ease;
}

.hire-banner.fiverr,
.hire-banner.upwork,
.hire-banner.freelancer,
.hire-banner.google,
.hire-banner.facebook,
.hire-banner.leads,
.hire-banner.youtube,
.hire-banner.canva,
.hire-banner.hosting,
.hire-banner.storage,
.hire-banner.scraping,
.hire-banner.seo {
    color: var(--accent) !important;
}

.hire-body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.hire-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.4rem;
    min-height: 2.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.hire-card:hover .hire-title {
    color: var(--accent);
}

.hire-desc {
    font-size: 0.84rem;
    color: var(--text-muted, #64748b);
    text-align: center;
    margin-bottom: 0.85rem;
    line-height: 1.45;
    min-height: 3.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hire-price-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(var(--accent-rgb), 0.10);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    text-align: center;
}

.hire-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: #475569;
    min-height: 72px;
}

.hire-features-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hire-features-list li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hire-stats {
    padding: 0.65rem 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-top: auto;
    margin-bottom: 1rem;
    font-size: 0.78rem;
}

.hire-stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.hire-stats-row:last-child {
    margin-bottom: 0;
}

.hire-actions-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hire-btn-learn {
    background: var(--accent) !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 10px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.hire-btn-learn:hover {
    background: var(--accent-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px var(--accent-glow) !important;
    transform: translateY(-2px);
}

.hire-btn-order {
    background: var(--primary) !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 10px 8px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}

.hire-btn-order:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-2px);
}

/* HIRE FILTER BUTTONS */
.hire-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hire-filter-btn {
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hire-filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.hire-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

/* REVIEW PRICING SHOWCASE BANNER (THEME UNIFIED) */
.review-showcase-box {
    background: var(--dark) !important;
    border: 1.5px solid var(--accent-border);
    border-radius: 20px;
    padding: 2.25rem;
    color: #ffffff;
    margin-bottom: 3rem;
    box-shadow: 0 16px 36px rgba(var(--dark-rgb), 0.35);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.review-showcase-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.20) 0%, transparent 70%);
    pointer-events: none;
}

/* Review Platform Tab Switcher */
.review-platform-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.review-tab-btn {
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.review-tab-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.review-tab-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.review-tab-btn.active i {
    color: #ffffff !important;
}

.review-pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.review-pricing-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

.review-pricing-card.popular {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.review-pricing-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Package Name Top Tag */
.review-pkg-name-top {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-pkg-name-top i {
    color: var(--accent);
}

/* Service Card Package Name & Price Pill Box */
.hire-pkg-pill-box {
    background: rgba(var(--primary-rgb), 0.03);
    border: 1px solid rgba(var(--primary-rgb), 0.10);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.hire-card:hover .hire-pkg-pill-box {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--accent-rgb), 0.28);
}

.hire-pkg-name-top {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hire-pkg-name-top i {
    color: var(--accent);
}

.hire-pkg-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.hire-pkg-bdt {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.hire-pkg-bdt small {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.hire-pkg-usd {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.btn-hire-chat-inquire {
    width: 100%;
    margin-top: 8px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-hire-chat-inquire:hover {
    background: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-hire-chat-inquire i {
    color: var(--accent);
    transition: color 0.2s ease;
}

.btn-hire-chat-inquire:hover i {
    color: #ffffff !important;
}

@media (max-width: 1200px) {
    .review-pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .review-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hire-grid {
        grid-template-columns: 1fr;
    }
    .hire-actions-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .review-pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .review-showcase-box {
        padding: 1.5rem 1.25rem;
    }
}


/* EXTENSIONS GRID (MATCHING IMAGE 4) */
.extension-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.extension-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.extension-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: var(--accent);
}

.extension-preview-box {
    width: 100%;
    height: 160px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--bg-surface);
    font-size: 3rem;
    color: var(--accent);
}

.extension-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.extension-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.extension-btn-details {
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 24px;
    border-radius: 6px;
    display: inline-block;
    transition: filter 0.2s;
}

.extension-btn-details:hover {
    filter: brightness(1.1);
    color: #ffffff;
}

@media (max-width: 1080px) {
    .hire-grid, .extension-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-item-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-menu:not(.services-mega-dropdown) {
        position: static !important;
        box-shadow: none !important;
        display: none;
        margin: 8px 0 0 0 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1.5px solid var(--accent-border) !important;
        border-left: 3px solid var(--accent) !important;
        border-radius: 12px !important;
        width: 100% !important;
        padding: 8px !important;
        animation: none !important;
        transform: none !important;
    }

    .dropdown-menu:not(.services-mega-dropdown)::before,
    .dropdown-menu:not(.services-mega-dropdown)::after {
        display: none !important;
    }

    .nav-item-dropdown.open > .dropdown-menu:not(.services-mega-dropdown) {
        display: block !important;
    }

    .dropdown-item {
        color: #ffffff !important;
        padding: 10px 14px;
        white-space: normal;
        border-radius: 8px;
    }

    .dropdown-item:hover, .dropdown-item.active {
        background: var(--accent) !important;
        color: #ffffff !important;
        transform: none !important;
    }

    .dropdown-submenu {
        width: 100%;
    }

    .dropdown-submenu > .dropdown-sub-menu {
        position: static !important;
        box-shadow: none !important;
        display: none;
        margin: 6px 0 6px 12px !important;
        background: rgba(0, 0, 0, 0.25) !important;
        border: 1.5px solid var(--accent-border) !important;
        border-left: 3px solid var(--accent) !important;
        border-radius: 10px !important;
        width: calc(100% - 12px) !important;
        padding: 6px !important;
        animation: none !important;
        transform: none !important;
    }

    .dropdown-submenu > .dropdown-sub-menu::after {
        display: none !important;
    }

    .dropdown-submenu.open > .dropdown-sub-menu {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hire-grid, .extension-grid {
        grid-template-columns: 1fr;
    }
}
