/*
Theme Name: BD IT Support
Theme URI: https://bditsupport.com/
Author: BD IT SUPPORT
Author URI: https://bditsupport.com/
Description: Premium Theme with Brand-Specific Pink-Orange Gradient Colors & Integrated Engine
Version: 3.3.0
Text Domain: hostdigital
*/

:root {
    /* ব্র্যান্ড কালার ভেরিয়েবলসমূহ */
    --logo-pink: #ec4899;
    --logo-orange: #f59e0b;
    --brand-dark: #1e1b4b;
    --brand-teal: #027474;
    --brand-teal-hover: #015252;
    --bg-light: #f8fafc;
    --text-color: #334155;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --brand-gradient: linear-gradient(135deg, #ec4899 0%, #f43f5e 40%, #f59e0b 100%);
    --teal-gradient: linear-gradient(135deg, #027474 0%, #0f172a 100%);
}

/* ==========================================================
   ১. বেসিক রিসেট ও গ্লোবাল স্টাইল
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #fdf4ff 100%);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* লেআউট মোড (Full / Boxed) */
body.site-layout-full {
    width: 100%;
    max-width: none;
}

body.site-layout-boxed {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(15, 23, 42, 0.10);
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

/* ==========================================================
   ২. টপ বার ও সোশ্যাল আইকন
   ========================================================== */
.top-bar {
    background: var(--brand-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
}

.top-left span i {
    color: var(--logo-pink);
}

.top-right a {
    color: #cbd5e1;
    display: inline-block;
}

.top-right a:hover {
    color: var(--logo-orange);
    transform: translateY(-2px);
}

/* ==========================================================
   ৩. হেডার ও মেনুবার
   ========================================================== */
.main-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #fdf4ff 100%) !important;
    box-shadow: 0 4px 25px rgba(30, 27, 75, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    gap: 20px;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.main-menu .menu-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-menu .menu-list > li {
    position: relative;
}

.main-menu .menu-list > li > a {
    color: var(--brand-dark);
    font-size: 16px;
    font-weight: 600;
    padding: 30px 0;
    display: block;
}

.main-menu .menu-list > li:hover > a {
    color: var(--logo-pink);
}

.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 12px;
    color: var(--logo-orange);
}

.main-menu ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-top: 3px solid var(--logo-pink);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.1);
    border-radius: 0 0 8px 8px;
}

.main-menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu ul ul li a {
    color: var(--text-color);
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.main-menu ul ul li a:hover {
    background: rgba(236, 72, 153, 0.05);
    color: var(--logo-pink);
    padding-left: 24px;
}

.client-btn a {
    background: var(--brand-gradient);
    color: #fff;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.client-btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.mobile-client-btn {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(236, 72, 153, 0.1);
    color: var(--logo-pink);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
}

/* ==========================================================
   ৪. ৫ কলাম ডাইনামিক পোস্ট কার্ড গ্রিড
   ========================================================== */
.five-col-posts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .five-col-posts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .five-col-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .five-col-posts-grid { grid-template-columns: 1fr; }
}

.screenshot-style-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--brand-teal);
    box-shadow: 0 4px 15px rgba(2, 116, 116, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

.screenshot-style-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(2, 116, 116, 0.2);
}

.card-img-wrap {
    display: block;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    transition: transform 0.4s ease;
}

.screenshot-style-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.badge-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--brand-teal);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-content-area {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-heading {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.35;
}

.card-heading a {
    color: #1e293b;
}

.screenshot-style-card:hover .card-heading a {
    color: var(--brand-teal);
}

.card-desc {
    color: #64748b;
    font-size: 11.5px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.price-box-wrapper {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 12px;
}

.price-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 3px 0;
    color: #475569;
    border-bottom: 1px dashed #cbd5e1;
}

.price-row-item:last-child {
    border-bottom: none;
}

.price-row-item strong {
    color: #e11d48;
    font-size: 13px;
}

.active-row {
    color: var(--brand-teal);
    font-weight: 600;
}

.active-row strong {
    color: var(--brand-teal);
    font-size: 13px;
}

.card-btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-demo-view, .btn-buy-now {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-demo-view {
    background: #ffffff;
    color: var(--brand-teal);
    border: 1px solid var(--brand-teal);
}

.btn-demo-view:hover {
    background: var(--brand-teal);
    color: #ffffff;
}

.btn-buy-now {
    background: var(--brand-teal);
    color: #ffffff;
    border: 1px solid var(--brand-teal);
}

.btn-buy-now:hover {
    background: var(--brand-teal-hover);
}

/* ==========================================================
   ৫. হোস্টিং প্রাইসিং টেবিল
   ========================================================== */
.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1.5px solid var(--brand-teal);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(2, 116, 116, 0.18);
}

.pricing-card .card-header {
    background: var(--brand-teal);
    color: #ffffff;
    padding: 18px 10px;
}

.pricing-card .card-header h3 {
    font-size: 22px;
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #fff;
}

.pricing-card .price-tag {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    padding: 20px 10px 10px 10px;
}

.pricing-card .price-tag span {
    display: block;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    margin-top: 5px;
}

.pricing-card .feature-list {
    padding: 15px 20px;
    text-align: left;
}

.pricing-card .feature-item {
    font-size: 13px;
    color: #334155;
    padding: 8px 0;
    border-bottom: 1px dotted #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card .feature-item:last-child {
    border-bottom: none;
}

.pricing-card .feature-item i.check {
    color: var(--brand-teal);
    font-size: 15px;
}

.pricing-card .feature-item.disabled {
    color: #94a3b8;
}

.pricing-card .feature-item i.cross {
    color: #94a3b8;
    font-size: 15px;
}

.pricing-card .buy-btn {
    background: var(--brand-teal);
    color: #ffffff;
    display: inline-block;
    padding: 10px 35px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    margin: 15px auto;
}

.pricing-card .buy-btn:hover {
    background: var(--brand-teal-hover);
}

.pricing-card .card-footer-text {
    font-size: 11px;
    color: #64748b;
    padding: 0 15px;
    margin-top: 10px;
    text-align: center;
}

/* ==========================================================
   ৬. ক্লায়েন্ট সেকশন ও টাইটেল অ্যানিমেশন
   ========================================================== */
.client-section-unique-wrap {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.client-title-container {
    text-align: center;
    margin-bottom: 25px;
}

.animated-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #027474, #ec4899, #027474);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    text-transform: uppercase;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--brand-teal);
    margin: 0 auto;
    transition: 0.4s;
    border-radius: 2px;
}

.client-title-container:hover .title-divider {
    width: 140px;
    background: var(--logo-pink);
}

.client-slider-inner-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #cbd5e1;
}

.client-item {
    padding: 0 10px;
}

.client-item img {
    width: 100% !important;
    height: 80px !important;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* ==========================================================
   ৭. লাইভ চ্যাটবট ও অডিও কল উইজেট
   ========================================================== */
.bdit-float-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999990;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.bdit-btn-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bdit-btn-label {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bdit-btn-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.bdit-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bdit-chat-window {
    position: fixed;
    bottom: 95px;
    left: 25px;
    width: 380px;
    height: 580px;
    max-height: 85vh;
    background: #1e293b;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 999999;
    display: none;
    flex-direction: column;
}

.bdit-chat-window.active {
    display: flex;
}

.bdit-head {
    padding: 10px 14px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.bdit-status-ping {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.bdit-call-btn {
    background: #22c55e;
    border: none;
    color: #fff;
    padding: 4px 7px;
    border-radius: 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
}

.bdit-tts-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 4px 6px;
    border-radius: 10px;
    font-size: 11px;
    cursor: pointer;
}

.bdit-close-cross {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
}

.bdit-body-stream {
    flex: 1;
    padding: 14px;
    background: #0b1120;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    max-width: 85%;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.4;
    word-break: break-word;
    color: #fff;
}

.msg.customer {
    align-self: flex-end;
    background: #2563eb;
}

.msg.admin {
    align-self: flex-start;
    background: #10b981;
}

.msg.bot {
    align-self: flex-start;
    background: #334155;
}

.msg audio {
    max-width: 220px;
    height: 36px;
    border-radius: 20px;
    margin-top: 4px;
    display: block;
}

.bdit-footer-form {
    display: flex;
    padding: 10px 12px;
    background: #1e293b;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    align-items: center;
}

.bdit-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.bdit-input-wrapper input {
    width: 100%;
    padding: 9px 85px 9px 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.bdit-tool-icons {
    position: absolute;
    right: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.bdit-icon-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    padding: 2px;
}

.bdit-send-btn {
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    height: 38px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* অডিও কল মডাল */
.bdit-call-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
    display: flex;
}

.bdit-call-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.bdit-call-pulse-icon {
    font-size: 45px;
    margin-bottom: 12px;
    animation: bditPulseRing 1.5s infinite;
}

@keyframes bditPulseRing {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ==========================================================
   ৮. স্ক্রোল-টু-টপ বাটন
   ========================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-teal);
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(2, 116, 116, 0.4);
    z-index: 99999;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--brand-teal-hover);
    color: #ffffff;
    transform: translateY(-6px) scale(1.05);
}

/* ==========================================================
   ৯. রেসপন্সিভ মিডিয়া কোয়েরি
   ========================================================== */
@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .client-btn {
        display: none;
    }

    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 15px 30px rgba(30, 27, 75, 0.1);
        border-top: 1px solid #f1f5f9;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s ease;
        padding: 0 20px;
    }

    .main-menu.active {
        max-height: 85vh;
        opacity: 1;
        visibility: visible;
        padding: 20px;
        overflow-y: auto;
    }

    .main-menu .menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-menu .menu-list > li > a {
        padding: 14px 5px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
        color: var(--brand-dark);
    }

    .mobile-client-btn {
        display: block;
        margin: 20px 0 5px 0;
    }

    .mobile-client-btn a {
        display: block;
        background: var(--brand-gradient);
        color: #ffffff;
        text-align: center;
        padding: 13px;
        border-radius: 50px;
        font-weight: 600;
    }

    .bdit-chat-window {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        bottom: 85px;
    }
}

