﻿.active {
    /*background-color:#f8f9fa !important;*/
    border-radius:8px;
}
.card-header{
    background-color:#009688 !important;
    color: #fff!important;
}
.card-title{
    margin-bottom: 0px!important;
}
.form-check-input:checked{
    background-color:#009688 !important;
    border-color:#009688 !important;
}
.text-primary{
    color:#009688 !important;
}
.btn-primary{
    background-color:#009688 !important;
    border-color:#009688!important;
}
.btn-outline-primary {
    color: #009688 !important;
    border-color: #009688 !important;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #009688 !important;
    border-color: #009688 !important;
}
hr {
    border-top: 1px solid #b5b5b5 !important;
}
label{
    font-weight:normal!important;
}
.form-control:disabled, .form-control[readonly]{
    background-color: #f8f9fa!important;
}  

/*search panel style*/


.table-light tbody+tbody, .table-light td, .table-light th, .table-light thead th {
    border-color: #d3d3d373!important;
}

.page-item.active .page-link{    
    background-color:#009688 !important;
    border-color:#009688!important;
    z-index:0;
}

@media print {
        body {
            margin: 0;
            padding: 0;
        }

        #printArea {
            width: 100%;
            max-width: 780px;
            margin: 0 auto;
            padding: 20px;
            box-sizing: border-box;
        }

        @page {
            size: auto;
            margin: 15mm;
        }
    }


/*
    print page button style 
*/
.action-btn {
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 5px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#btnExport {
    background-color: #4CAF50;
}

    #btnExport:hover {
        background-color: #45a049;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

#btnPrintInvoice {
    background-color: #007bff;
}

    #btnPrintInvoice:hover {
        background-color: #0069d9;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

.close-btn {
    background-color: #f44336;
}

    .close-btn:hover {
        background-color: #d32f2f;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }



/*ticketchatbox*/

    #chatContainer::-webkit-scrollbar {
        width: 6px;
    }

    #chatContainer::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 5px;
    }

    textarea:focus {
        border-color: #009688;
        box-shadow: 0 0 0 0.2rem rgba(63, 103, 145, 0.25);
    }


/* === Slider Section === */
.license-section{
    margin: 15px 0 15px 0;
}
.hero-slider {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.carousel-item {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background image */
.slider-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;

    /* Add blur and opacity */
    filter: blur(4px);
    opacity: 0.4;

    /* Add smooth transitions */
    transition: filter 1s ease, opacity 1s ease, transform 1.2s ease;
    transform: scale(1);
}
.carousel-item.active .slider-bg {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1.05); /* Optional zoom effect */
}
 .slider-content {
    position: relative;
    z-index: 3;
    padding: 1rem 2rem;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Dark overlay */
.slider-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* Text content */
.slider-content {
    position: relative;
    z-index: 3;
    padding: 1rem 2rem;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.slider-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.slider-desc {
    font-size: 1rem;
    color: #ddd;
}

@media (max-width: 768px) {
    .slider-title { font-size: 1.2rem; }
    .slider-desc { font-size: 0.85rem; }
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators {
    margin-bottom: 70px;
}

/* curve back*/

.custom-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    overflow: hidden;
}

.custom-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

.hover-zoom {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .hover-zoom:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
            z-index: 2;
        }





        /* Mega menu width */

/* ড্রপডাউনকে ডানের দিকে align করুন */
.mega-right .dropdown-menu { right: 0; left: auto; }

/* বড় স্ক্রিনে: চওড়া সেন্সিবল লিমিট + স্ক্রল */
.mega-menu {
  width: auto;
   max-width: min(90vw, 640px);;
  max-height: 70vh;
  overflow: auto;
}
.dropdown-mega { position: static; }
.mega-menu { }

/* ছোট স্ক্রিনে: ভিউপোর্ট অনুযায়ী auto-fit (centered) */
@media (max-width: 991.98px) {
  .mega-right .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: calc(100vw - 24px);    /* বাঁ-ডান 12px মার্জিন */
    max-width: none;
  }
  .mega-menu { max-height: 70vh; overflow: auto; }
}

/* সেফটি: অনুভূমিক স্ক্রল এড়াতে (যদি কোথাও ওভারফ্লো হয়) */
html, body { overflow-x: hidden; }

.country-block {
    padding-bottom: 4px;
}
.country-block .dropdown-item {
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .15s ease;
}
.country-block .dropdown-item:hover {
    background: #f8f9fa;
}

/* Chevron rotation when expanded */
.rotate-icon {
    transition: transform 0.3s ease;
}
.country-header.collapsed .rotate-icon {
    transform: rotate(0deg);
}
.country-header:not(.collapsed) .rotate-icon {
    transform: rotate(90deg);
}

/* ===== Base Navbar ===== */
.navbar-elevated {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
}
.navbar-elevated .navbar-brand {
  font-weight: 700;
  letter-spacing: .2px;
  display: inline-flex; align-items: center; gap: 8px;
}
.navbar-elevated .brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  display: inline-block;
}

/* ===== Main menu items ===== */
.mainmenu .nav-link {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.mainmenu .nav-link.active,
.mainmenu .nav-link:hover {
  color: #111;
}
.mainmenu .nav-link .hover-underline {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.mainmenu .nav-link:hover .hover-underline,
.mainmenu .nav-link.active .hover-underline {
  transform: scaleX(1);
}

/* ===== Dropdown: shared animation ===== */
.dropdown-menu {
  --dd-scale: .98;
  --dd-y: 8px;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  padding: 10px;
  animation: dd-fade .22s ease forwards;
  transform: translateY(var(--dd-y)) scale(var(--dd-scale));
  opacity: 0;
}
@keyframes dd-fade {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ===== Simple dropdown (About JB) ===== */
.dropdown-soft .dropdown-menu.menu-card {
  min-width: 240px;
  padding: 8px;
  background: #fff;
}
.dropdown-soft .dropdown-item {
  border-radius: 10px;
  padding: 8px 10px;
  transition: background .18s ease, transform .15s ease;
}
.dropdown-soft .dropdown-item:hover {
  background: #f6f7fb;
  transform: translateX(2px);
}

/* ===== Mega dropdown (Our Service) ===== */
.dropdown-mega { position: static; }
.dropdown-mega .mega-wrap {
  width: min(1024px, 94vw);
  padding: 16px;
}
.country-grid { /* Bootstrap row already present; extra spacing tweaks */
  margin: 0;
}
.country-box {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.country-box:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.country-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; margin-bottom: 10px;
  border-bottom: 1px dashed #e9e9e9;
}
.country-head .bullet {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7c3aed;
}
.country-head .title {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .05em;
  color: #6b7280; font-weight: 700;
}
.country-list { list-style: none; padding: 0; margin: 0; }
.country-link {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 8px; border-radius: 10px;
  text-decoration: none; color: #222;
  transition: background .18s ease, transform .15s ease;
}
.country-link .chev { opacity: .4; transition: transform .15s ease, opacity .15s ease; }
.country-link:hover {
  background: #f7f7ff;
  transform: translateX(2px);
}
.country-link:hover .chev { opacity: .8; transform: translateX(2px); }

/* ===== Desktop hover-open (optional CSS; JS নিচে) ===== */
@media (min-width: 992px) {
  .dropdown-mega:hover > .dropdown-menu,
  .dropdown-soft:hover > .dropdown-menu {
    display: block;
  }
}

/* ===== Toggler icon contrast fix ===== */
.navbar-elevated .navbar-toggler {
  border-color: #ddd;
}
.navbar-elevated .navbar-toggler:focus { box-shadow: none; }
