:root {
  --ubl-green: #007a3e; /* Approximate brand green */
  --ubl-dark-green: #005a2e;
  --ubl-light-gray: #f8f9fa;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* Top Header Styling */
.top-header {
  padding: 10px 0;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.logo-section img {
  height: 50px;
}

.header-links a {
  color: #555;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.header-links a:hover {
  color: var(--ubl-green);
}

.btn-apply {
  border: 1px solid var(--ubl-green);
  color: var(--ubl-green);
  background: white;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 15px;
  white-space: nowrap;
}

.btn-apply:hover {
  background: var(--ubl-green);
  color: white;
}

.lang-switch {
  border: 1px solid #ccc;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 10px;
  white-space: nowrap;
}
.lang-switch span.active {
  background-color: var(--ubl-green);
  color: white;
  padding: 1px 4px;
}

.nav_date {
  text-align-last: center;
  padding: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #666;
}

/* Main Navbar */
.main-navbar {
  background-color: var(--ubl-green);
  padding: 0;
}

.custom_nav .nav-link {
  color: white !important;
  padding: 12px 15px !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.active .nav-link {
  background-color: var(--ubl-dark-green);
}

.dropdown-toggle::after {
  font-size: 12px;
  vertical-align: middle;
}

/* --- MEGA MENU STYLES --- */
.main-navbar .nav-item.dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  left: 2%;
  right: 2%;
  width: 96%;
  margin-top: 0;
  padding: 30px;
  border: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  display: none; /* Hidden by default */
  z-index: 9999;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover .mega-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-card {
  background-color: #f1f8f3;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.mega-menu-card:hover {
  background-color: #e2f1e6;
  transform: translateY(-3px);
  border-color: #d1e7dd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mega-menu-icon {
  font-size: 2rem;
  color: var(--ubl-green);
  min-width: 50px;
}

.mega-menu-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--ubl-green);
  fill: none;
  stroke-width: 1.5;
}

.mega-menu-title {
  color: var(--ubl-green);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.mega-menu-desc {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* Hero/Banner Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 50%, #e8f5e9 100%);
  min-height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.carousel {
  width: 100%;
}

/* Ensure carousel items take full height of hero section */
.carousel-item {
  min-height: 450px;
}

/* Center content vertically in the carousel item */
.carousel-item > .container {
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  z-index: 2;
}

.bengali-text h1 {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 700;
  color: var(--ubl-dark-green);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.bengali-text .red-highlight {
  color: #d32f2f;
}

.bengali-sub {
  font-family: 'Noto Sans Bengali', sans-serif;
  background-color: var(--ubl-dark-green);
  color: white;
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.8rem;
  font-weight: 700;
  transform: skew(-10deg);
}

.bengali-sub span {
  display: inline-block;
  transform: skew(10deg);
}

/* Floating Sidebars */
.right-sidebar {
  position: fixed;
  right: 0;
  top: 19%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.side-tab {
    background-color: var(--ubl-green);
    color: white;
    margin-bottom: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 13px 9px;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
}
.side-tab:hover {
  background-color: #fff;
  color: black;
}



.left-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.float-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border: 2px solid var(--ubl-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ubl-green);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.float-icon:hover {
  background-color: var(--ubl-green);
  color: white;
}

.chat-bot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1001;
  background-color: var(--ubl-green);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.red-bottom-border {
  height: 5px;
  background: linear-gradient(90deg, #d32f2f 40%, var(--ubl-green) 40%);
}


 

        /* Footer */
        .footer {
            background-color: #1a1a1a;
            color: #aaa;
            font-size: 0.9rem;
            padding: 60px 0 20px;
        }
        .footer h5 { color: white; margin-bottom: 20px; font-weight: 600; }
        .footer ul { list-style: none; padding: 0; }
        .footer ul li { margin-bottom: 10px; }
        .footer ul li a { color: #aaa; text-decoration: none; transition: 0.2s; }
        .footer ul li a:hover { color: var(--ub-green); }
        .footer-bottom {
            border-top: 1px solid #333;
            margin-top: 40px;
            padding-top: 20px;
        }
        .social-icons a {
            color: white;
            margin-right: 15px;
            font-size: 1.2rem;
        }
     .side_tab_1{
            
        }

         /* --- RIGHT SIDE DRAWER / PANEL --- */
        .side-drawer {
            position: fixed;
            top: 0;
            right: -400px; /* Start hidden off-screen */
            width: 350px;
            height: 100vh;
            background-color: white;
            z-index: 1050; /* Above navbar and tabs */
            box-shadow: -5px 0 20px rgba(0,0,0,0.15);
            transition: right 0.3s cubic-bezier(0.77, 0, 0.175, 1);
            display: flex;
            flex-direction: column;
        }

        .side-drawer.open {
            right: 0; /* Slide in */
        }

        .drawer-header {
            background-color: var(--ubl-green);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid #d32f2f; /* Red accent line */
        }

        .drawer-title {
            margin: 0;
            font-weight: 700;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-close-drawer {
            background: none;
            border: 2px solid rgba(255,255,255,0.5);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-close-drawer:hover {
            background-color: white;
            color: var(--ubl-green);
            border-color: white;
        }

        .drawer-body {
            flex-grow: 1;
            padding: 25px;
            overflow-y: auto;
        }

        /* Drawer Overlay (Optional - to dim background) */
        .drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
        }

.responsive-padding {
    padding-left: 2rem;
    padding-right: 2rem;
}

