/* minimal styles for modal & actions (integrates with your existing styles) */
.chat-action { padding:8px 12px; margin-right:8px; border-radius:6px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.chat-action.secondary { background:#f5f5f5; }
.chat-email-modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:11000; background:rgba(0,0,0,0.4); visibility:hidden; opacity:0; transition:opacity .18s; }
.chat-email-modal.open { visibility:visible; opacity:1; }
.chat-email-box { background:#fff; padding:18px; border-radius:10px; width:320px; max-width:90%; box-shadow:0 8px 30px rgba(0,0,0,0.15); }
.chat-email-box h4 { margin:0 0 6px; font-size:16px; }
.chat-email-box p { margin:0 0 12px; color:#666; font-size:13px; }
.chat-email-box input[type="email"] { width:100%; padding:10px 12px; border-radius:6px; border:1px solid #ddd; margin-bottom:10px; box-sizing:border-box; }
.chat-email-actions { display:flex; justify-content:flex-end; gap:8px; }
.btn.small { padding:8px 12px; border-radius:6px; cursor:pointer; border:1px solid #ddd; background:#fff; }
.btn.small.primary { background:#ff8c10; color:#fff; border-color:#ff8c10; }
.btn.small.secondary { background:#f6f6f6; }
.chat-email-error { color:#b00020; margin-top:8px; font-size:13px; display:none; }

/* disabled input style */
.chatbot-input input[disabled] { background:#f5f5f5; color:#999; }
.chatbot-input button[disabled] { opacity:0.7; cursor:not-allowed; }

/* optionally style status text */
#chatStatus { font-weight:600; color:#444; margin-bottom:6px; }
#chatStatus.online { color: green; }
#chatStatus.offline { color: #666; }
/* ---------- Chatbot base styles (from your inline CSS) ---------- */

/* ===== Scroll Top Button ===== */
#scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #ff6600;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#scroll-top.show { opacity: 1; visibility: visible; }

/* ===== Chatbot floating button (moved to left side) ===== */
.chatbot-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #ff8c10;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-weight: 600;
}
.chatbot-btn i { font-size: 18px; }

/* ===== Overlay ===== */
.chatbot-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.chatbot-overlay.open { opacity: 1; visibility: visible; }

/* ===== Chatbot Panel ===== */
.chatbot-panel {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 360px;
    max-width: 100%;
    background: #fff;
    z-index: 10000;
    transform: translateX(-100%);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease;
    font-family: inherit;
}
.chatbot-panel.open { transform: translateX(0); }

.chatbot-header { padding: 16px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.chatbot-header h4 { margin: 0; font-size: 16px; }
.chatbot-close { background: transparent; border: none; font-size: 18px; cursor: pointer; }

.chatbot-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chatbot-input {
    padding: 12px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}
.chatbot-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.chatbot-input button {
    background: #ff8c10;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.msg { max-width: 80%; padding: 10px 12px; border-radius: 12px; line-height: 1.3; }
.msg.user { background: #e6f0ff; align-self: flex-end; }
.msg.bot  { background: #f3f3f3; align-self: flex-start; }

@media (max-width: 420px) {
    .chatbot-panel { width: 100%; }
}

/* ---------- Online/offline actions & small components ---------- */
.chat-action { padding:8px 12px; margin-right:8px; border-radius:6px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.chat-action.secondary { background:#f5f5f5; }

#chatStatus { font-weight:600; color:#444; margin-bottom:6px; }
#chatStatus.online { color: green; }
#chatStatus.offline { color: #666; }

/* disabled input style */
.chatbot-input input[disabled] { background:#f5f5f5; color:#999; }
.chatbot-input button[disabled] { opacity:0.7; cursor:not-allowed; }

/* ---------- Email modal styles ---------- */
.chat-email-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    background: rgba(0,0,0,0.4);
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s ease, visibility .18s ease;
}
.chat-email-modal.open { visibility: visible; opacity: 1; }
.chat-email-box {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    width: 320px;
    max-width: 90%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.chat-email-box h4 { margin:0 0 6px; font-size:16px; }
.chat-email-box p { margin:0 0 12px; color:#666; font-size:13px; }
.chat-email-box input[type="email"] { width:100%; padding:10px 12px; border-radius:6px; border:1px solid #ddd; margin-bottom:10px; box-sizing:border-box; }
.chat-email-actions { display:flex; justify-content:flex-end; gap:8px; }
.btn.small { padding:8px 12px; border-radius:6px; cursor:pointer; border:1px solid #ddd; background:#fff; }
.btn.small.primary { background:#ff8c10; color:#fff; border-color:#ff8c10; }
.btn.small.secondary { background:#f6f6f6; }
.chat-email-error { color:#b00020; margin-top:8px; font-size:13px; display:none; }

/* small responsive tweaks */
@media (max-width: 480px) {
  .chatbot-btn { left: 10px; bottom: 12px; padding: 10px 12px; }
  .chat-email-box { width: 92%; }
}
/* --- Visual/status styles --- */
.chat-status-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.status-dot { width:12px; height:12px; border-radius:50%; display:inline-block; box-shadow:0 0 0 4px rgba(0,0,0,0.03); }
.status-text { font-weight:700; color:#333; }
.status-online .status-dot { background: #2ecc71; box-shadow:0 0 0 5px rgba(46,204,113,0.08); }
.status-offline .status-dot { background: #e74c3c; box-shadow:0 0 0 5px rgba(231,76,60,0.06); }

/* Actions */
.chat-actions { display:flex; gap:10px; margin-bottom:12px; }
.chat-action {
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-weight:600;
  transition:all .14s;
  box-shadow:0 6px 14px rgba(9,30,66,0.04);
}
.chat-action:active { transform:translateY(1px); }
.chat-action.primary { background:#1f8ef1; color:#fff; border-color:transparent; }
.chat-action.secondary { background:#fff; color:#333; }
.chat-action.disabled {
  opacity:.45;
  pointer-events:none;
  filter:grayscale(.05);
  box-shadow:none;
}

/* Chat panel tweaks (ensure it's still compatible with your other CSS) */
.chatbot-panel { width:360px; max-width:100%; }
.chatbot-body { padding:12px; }
.chatbot-input { padding:12px; border-top:1px solid #eee; display:flex; gap:8px; }
.chatbot-input input { flex:1; padding:10px 12px; border-radius:8px; border:1px solid #ddd; }
.chatbot-input button { padding:10px 14px; border-radius:8px; background:#ff8c10; color:#fff; border:none; }

/* Email/Name modal */
.chat-email-modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:12000; background:rgba(0,0,0,0.35); visibility:hidden; opacity:0; transition:opacity .18s; }
.chat-email-modal.open { visibility:visible; opacity:1; }
.chat-email-box { background:#fff; padding:18px; border-radius:10px; width:360px; max-width:95%; box-shadow:0 12px 40px rgba(2,6,23,0.12); }
.chat-email-box h4 { margin:0 0 6px; font-size:16px; }
.chat-email-fields { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.chat-email-fields input { padding:10px 12px; border-radius:8px; border:1px solid #ddd; }
.chat-email-actions { display:flex; justify-content:space-between; gap:8px; }
.chat-email-error { color:#b00020; font-size:13px; display:none; margin-top:8px; }

/* disabled input style */
.chatbot-input input[disabled] { background:#f3f4f6; color:#999; }
.chatbot-input button[disabled] { opacity:0.7; cursor:not-allowed; }

/* Chat user info form (inside chat panel) */
.chat-user-form {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
}

.chat-user-form input {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-user-form input:focus {
  border-color: #ff8c10; /* your theme color */
}

.chat-user-form button.chat-action.primary {
  width: 100%;
  background: #ff8c10; /* your theme color */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: 500;
  cursor: pointer;
}

.chat-user-form button.chat-action.primary:hover {
  background: #ff8c10;
}

.chat-error {
  color: #e63946;
  font-size: 13px;
  text-align: center;
  margin-top: 5px;
}
/* //hero section */
 /* .hero-section {
    position: relat ive;
    height: 100vh;
    overflow: hidden;
}

.hero-slider, 
.owl-carousel .owl-stage-outer, 
.owl-carousel .owl-stage, 
.owl-carousel .owl-item {
    height: 100%;
} */

/* .hero-single {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-single.video-slide {
    background: #000;
} */

/* ===============================
   HERO VIDEO SECTION
================================= */

/* Base structure */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* For local video (not iframe) */
.video-background video,
#demoHeroVideo {
    width: 100%;
    height: auto;
    border: none;
    object-fit: cover;
}

/* Dark overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero text layer */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

/* Desktop - full screen video */
.hero-single.video-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Responsive video adjustments */
@media (max-width: 1200px) {
    #demoHeroVideo {
        width: 100% !important;
        height: auto !important;
        border: none !important;
        object-fit: cover !important;
    }
}

@media (max-width: 767px) {
    #demoHeroVideo {
        width: 100% !important;
        height: auto !important;
        border: none !important;
        object-fit: cover !important;
    }

    .hero-single.video-slide {
        height: 100vh;
    }
}

/* ===============================
   MOBILE RESPONSIVE IMPROVEMENTS
   (Non-destructive — desktop safe)
================================= */
@media (max-width: 767px) {
    .hero-single.video-slide {
        height: auto;
        padding-top: 90px;
        padding-bottom: 40px;
        overflow: hidden;
    }

    .hero-single.video-slide .video-background,
    .hero-single.video-slide .video-background video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-single.video-slide .hero-content {
        position: relative;
        z-index: 3;
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center;
        margin: 0 auto;
        max-width: 640px;
    }

    .hero-single.video-slide .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        word-break: break-word;
    }

    .hero-single.video-slide .hero-sub-title {
        font-size: 0.95rem !important;
        margin-bottom: 8px;
        display: block;
    }

    .hero-single.video-slide .hero-btn {
        margin-top: 14px;
    }

    .hero-single.video-slide,
    .hero-single.video-slide .container,
    .hero-single.video-slide .row {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* whatsapp floating button */
#whatsappFloating {
    position: fixed;
    bottom: 80px; /* distance from bottom */
    left: 30px;   /* distance from the left edge */
    right: auto;  /* disable right positioning */
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

#whatsappFloating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


#whatsappFloating .wa-badge {
    font-size: 25px;
}

#whatsappFloating .wa-label {
    display: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* vision & mission */
.feature-item-vm {
    position: relative;
    text-align: left;
    background: var(--color-dark);
    border-radius: 20px;
    padding: 5px 20px 30px 20px;
    transition: var(--transition);
    z-index: 1;
}

/* Custom button group styling for Blog/News filters */
.filter-btn-group .custom-filter-btn {
  border: 1px solid #0000CC;
  color: #0000CC;
  background-color: #fff;
  font-weight: 500;
  padding: 8px 18px;
  transition: all 0.2s ease-in-out;
}

.filter-btn-group .custom-filter-btn:hover {
  background-color: #0000CC;
  color: #fff;
}

.filter-btn-group .btn-check:checked + .custom-filter-btn {
  background-color: #0000CC;
  color: #fff;
  border-color: #0000CC;
}

.filter-btn-group .custom-filter-btn:focus {
  box-shadow: none;
}

/* ===== Pagination Styling ===== */
.pagination .page-link {
  min-width: 100px;                /* gives enough room for Prev/Next */
  padding: 8px 16px;              /* comfortable clickable area */
  text-align: center;             /* centers text inside */
  font-weight: 500;               /* medium bold text */
  border-radius: 6px;             /* slightly rounded corners */
  transition: all 0.2s ease-in-out;
}

/* Brand color styling for hover & active */
.pagination .page-link:hover {
  background-color: #0000CC;
  color: #fff;
  border-color: #0000CC;
}

.pagination .page-item.active .page-link {
  background-color: #0000CC;
  border-color: #0000CC;
  color: #fff;
}

/* Make Prev and Next buttons match others visually */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .pagination .page-link {
    min-width: 85px;              /* slightly smaller for mobile */
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .pagination {
    flex-wrap: wrap;              /* stack if too narrow */
    gap: 5px;
  }
  .pagination .page-link {
    min-width: 75px;              /* allow smaller buttons */
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* Toast styles (minimal) */
.global-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 260px;
  z-index: 20000;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10,20,40,0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 240ms ease;
}
.global-toast.show { opacity: 1; transform: translateY(0); }
.gt-body { display:flex; gap:12px; padding:14px; align-items:center; }
.gt-icon { width:44px; height:44px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; }
.gt-content { flex:1; }
.gt-title { font-weight:600; color:#0f1724; margin-bottom:6px; }
.gt-progress { height:4px; background:rgba(0,0,0,0.06); border-radius:999px; overflow:hidden; }
.gt-progress-bar { height:100%; transform-origin:left; transform:scaleX(1); transition:transform linear; background:rgba(255,255,255,0.9); }
.gt-success { background: linear-gradient(90deg,#10b981,#06b6d4); }
.gt-error { background: linear-gradient(90deg,#ef4444,#f97316); }
.gt-warning { background: linear-gradient(90deg,#f59e0b,#f97316); }
.hidden { display:none; }
@media(max-width:420px){ .global-toast{ right:12px; left:12px; } }
  /* Let the table expand and use the page scrollbar instead of an inner one */
  .table-responsive {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  /* Prevent parent containers from clipping the expanded table */
  .box-body, .box, .col-12, .container-full, .content-wrapper {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  /* Avoid forcing a fixed table width that can cause horizontal inner scrollbars */
  #example1 {
    table-layout: auto !important;
    width: 100% !important;
  }

  /* Keep small-screen usability: only allow inner horizontal scroll on tiny viewports */
  /* @media (max-width: 640px) {
    .table-responsive { overflow-x: auto !important; }
    #example1 { table-layout: auto; }
  }

@media (max-width: 992px) {
  .btn-close.d-lg-none {
    filter: invert(0%) brightness(0%) contrast(100%);
    margin-left: 240px;
  }
} */
@media (max-width: 992px) {
  .navbar-collapse {
    position: relative;
  }

  .btn-close.d-lg-none {
    position: absolute;
     /* adjust vertical position */
    right: 15px;     /* move to right side */
      /* keep it above menu */
    filter: invert(0%) brightness(0%) contrast(100%); /* make it black */
  }
}



