/* ============================================================
   RGC - Rupsaha Group of Companies
   Main Stylesheet
   ============================================================ */

:root {
  --primary:     #0F2D52;
  --secondary:   #1D5AA6;
  --accent:      #E4B95B;
  --accent-dark: #C8973A;
  --bg:          #F8F9FB;
  --bg-dark:     #0A1E38;
  --text:        #1A1A1A;
  --text-muted:  #6C757D;
  --white:       #FFFFFF;
  --border:      #E2E8F0;
  --shadow:      0 4px 24px rgba(15,45,82,.10);
  --shadow-lg:   0 8px 40px rgba(15,45,82,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all .35s cubic-bezier(.4,0,.2,1);
  --font-main:   'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 700px; height: auto; display: block; }
::selection { background: var(--accent); color: var(--primary); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ── Typography ── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}
.accent-text { color: var(--accent); }
.primary-text { color: var(--primary); }

/* ── Buttons ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  border: none;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,90,166,.4);
  color: var(--white);
}

.btn-accent-custom {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border: none;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-accent-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228,185,91,.4);
  color: var(--primary);
}
.btn-outline-custom {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: .7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
}

/* ── Section Divider ── */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}
.section-divider.center { margin: .75rem auto 1.5rem; }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .5s, visibility .5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.preloader-logo span { color: var(--accent); }
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent);
  border-radius: 2px;
  animation: preload 1.2s ease-in-out infinite;
}
@keyframes preload {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Navbar ── */
#mainNav {
  background: rgba(15,45,82,.97);
  transition: var(--transition);
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}
#mainNav.scrolled {
  background: rgba(15,45,82,.97);
  backdrop-filter: blur(12px);
  padding: .7rem 0;
  box-shadow: var(--shadow-lg);
}
.navbar-brand .brand-logo {
  height: 48px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: .5px;
}
.brand-text .brand-sub {
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,.9) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 0%; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--white) !important; }
.dropdown-menu {
  background: var(--primary);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .5rem;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: -300px;
    margin-top: var(--bs-dropdown-spacer);
}

.dropdown-item {
  color: rgba(255,255,255,.85) !important;
  padding: .5rem .75rem;
  border-radius: 6px;
  font-size: .87rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-item:hover {
  background: rgba(228,185,91,.15) !important;
  color: var(--accent) !important;
}
.companies-dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
  columns: 2;
  column-gap: .5rem;
}
.companies-dropdown-menu .dropdown-item { break-inside: avoid; }
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.3);
  padding: .4rem .6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero Slider ── */
#hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}
.hero-swiper { width: 100%; height: 100%; }
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,45,82,.85) 0%, rgba(15,45,82,.55) 60%, rgba(29,90,166,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 250px;
}
.hero-badge {
  display: inline-block;
  background: rgba(228,185,91,.2);
  border: 1px solid rgba(228,185,91,.4);
  color: var(--accent);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title span { 
  color: var(--accent); 
  font-size: 1.4rem; 
}
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: .55rem;
  font-weight: 400;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: .75rem;
  font-weight: 600;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  padding: .75rem 1.25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .2rem;
}

/* Company sidebar */
.hero-company-sidebar {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(15,45,82,.88);
  backdrop-filter: blur(12px);
  border-left: 3px solid var(--accent);
  width: 350px;
  max-height: 80vh;
  overflow-y: auto;
  padding: .75rem 0;
  border-radius: var(--radius) 0 0 var(--radius);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.hero-company-sidebar::-webkit-scrollbar { width: 3px; }
.hero-company-sidebar::-webkit-scrollbar-thumb { background: var(--accent); }
.sidebar-header {
  padding: .5rem 1rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: .25rem;
}
.sidebar-company-link {
  display: block;
  padding: .45rem 1rem;
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.sidebar-company-link:hover,
.sidebar-company-link.active {
  background: rgba(228,185,91,.12);
  color: var(--accent);
  border-left-color: var(--accent);
}

/* Swiper controls */
.hero-swiper-pagination {
  bottom: 30px !important;
  left: 30px !important;
  right: auto !important;
  text-align: left;
}
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.4);
  opacity: 1;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 50px;
}
.hero-prev, .hero-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-prev:hover, .hero-next:hover {
  background: rgba(228,185,91,.3) !important;
}
.hero-prev { left: 20px !important; }
.hero-next { right: 360px !important; }
.hero-prev::after, .hero-next::after { font-size: .9rem !important; color: var(--white); }

/* ── Section Spacing ── */
section { padding: 90px 0px 0px 0px; }
section:nth-child(even) { background: var(--white); }
.bg-primary-dark { background: var(--bg-dark) !important; }

/* ── Companies Section ── */
#companies { background: var(--bg); padding: 80px 0 0; }
.companies-header { text-align: center; margin-bottom: 3rem; }
.company-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.company-section:last-child { border-bottom: none; }
.company-section.even { background: var(--white); }
.company-section.odd  { background: var(--bg); }
.company-section-inner { display: flex; gap: 3rem; align-items: center; }
.company-section.even .company-section-inner { flex-direction: row; }
.company-section.odd  .company-section-inner { flex-direction: row-reverse; }
.company-img-wrap {
  flex: 0 0 45%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.company-img-wrap img {
  width: 580px;
  height: 330px;
  object-fit: cover;
  transition: transform .5s ease;
}
.company-img-wrap:hover img { transform: scale(1.04); }
.company-img-wrap img.lightbox-trigger { cursor: zoom-in; }
.company-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,45,82,.85), transparent);
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.company-category-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lightbox-hint {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  transition: color .2s;
}
.company-img-wrap:hover .lightbox-hint { color: var(--accent); }

/* ── Image Lightbox ── */
.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.img-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--accent); }
.lightbox-inner {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
  cursor: grab;
}
.lightbox-inner:active { cursor: grabbing; }
.lightbox-img-wrap {
  transform-origin: center center;
  transition: transform .15s ease;
  line-height: 0;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
  user-select: none;
  pointer-events: none;
}
.lightbox-caption {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: .75rem;
  text-align: center;
}
.lightbox-controls {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
}
.lightbox-ctrl-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem;
  transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-ctrl-btn:hover { background: var(--accent); color: var(--primary); }
.company-logo-small {
  width: 300px;
  height: 80px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.company-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(15,45,82,.06);
  line-height: 1;
  position: absolute;
  top: -.1rem;
  right: 0;
  pointer-events: none;
}
.company-info { flex: 1; position: relative; }
.company-name-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .5rem;
}
.company-tagline {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1rem;
}
.company-desc { color: var(--text-muted);  margin-bottom: 1.5rem; line-height: 1.8; text-align: justify; }
.company-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: 20px 0 0 0;
  text-align: justify;
}
.service-tag {
  background: rgba(15,45,82,.08);
  color: var(--primary);
  padding: .3rem .75rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid rgba(15,45,82,.12);
  transition: var(--transition);
}
.service-tag:hover {
  background: var(--primary);
  color: var(--white);
}
.company-mission {
  background: linear-gradient(135deg, rgba(15,45,82,.04), rgba(29,90,166,.06));
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: var(--text);
  font-style: italic;
  text-align: justify;
}
.company-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  text-align: justify;
}
.achievement-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.achievement-item i { color: var(--accent); font-size: .9rem; }
.company-learn-more {
    display: flex;
    justify-content: flex-end;
}

.company-learn-more .btn-primary-custom {
    font-size: .88rem;
    padding: .55rem 1.5rem;
}

/* ── About Section ── */
#about {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/about-bg.jpg') center/cover no-repeat;
  opacity: .08;
}
.about-content { position: relative; z-index: 1; }
.about-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
}
.about-text { color: rgba(255,255,255,.8); line-height: 1.9; }
.chairman-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
}
.chairman-card::before {
  content: '\201C';
  font-size: 8rem;
  color: rgba(228,185,91,.15);
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-family: Georgia, serif;
  line-height: 1;
}
.chairman-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  margin-bottom: 1rem;
}
.chairman-name { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.chairman-title { font-size: .8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.chairman-msg { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.8; font-style: italic; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; margin-bottom: 2rem; }
.value-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(228,185,91,.12);
  border-color: rgba(228,185,91,.3);
  transform: translateY(-4px);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--primary);
}
.value-title { font-size: 1rem; font-weight: 700; color: var(--white); }
.value-desc { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* Stats Counter */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 70px 0;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.15);
}
.stat-card:last-child::after { display: none; }
.stat-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 0 auto 1rem;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* ── Career Section ── */
#career { background: var(--bg); }
.career-header { text-align: center; margin-bottom: 3rem; }
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.job-card:hover::before { transform: scaleX(1); }
.job-company { font-size: .8rem; color: var(--secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }
.job-title { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.job-meta-item {
  display: flex; align-items: center; gap: .3rem;
  font-size: .8rem; color: var(--text-muted);
}
.job-meta-item i { color: var(--secondary); }
.job-desc { font-size: .875rem; color: var(--text-muted); flex: 1; margin-bottom: 1.25rem; line-height: 1.7; }
.job-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.job-deadline { font-size: .78rem; color: var(--text-muted); }
.apply-btn {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  border: none;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.apply-btn:hover { opacity: .9; transform: scale(1.03); }

.why-join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; margin-bottom: 2rem; }
.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(15,45,82,.08), rgba(29,90,166,.12));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--secondary);
}
.why-title { font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.why-desc { font-size: .85rem; color: var(--text-muted); }

/* Application Modal */
.modal-content { border: none; border-radius: var(--radius-lg); overflow: hidden; }
.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  padding: 1.5rem 2rem;
}
.modal-title { font-weight: 700; }
.modal-body { padding: 2rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--primary); }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: var(--transition);
  background: var(--bg);
}
.form-control:focus, .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(29,90,166,.12);
  background: var(--white);
}

/* ── Contact Section ── */
#contact {
  background: linear-gradient(135deg, var(--primary) 0%, #0A1E38 100%);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/contact-bg.jpg') center/cover no-repeat;
  opacity: .05;
}
.contact-content { position: relative; z-index: 1; }
.contact-title { color: var(--white); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(228,185,91,.15);
  border: 1px solid rgba(228,185,91,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 600; }
.contact-info-value { color: rgba(255,255,255,.85); font-size: .93rem; margin-top: .15rem; }
.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius);
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.contact-form .form-control:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228,185,91,.15);
  color: var(--white);
}
.contact-form .form-label { color: rgba(255,255,255,.8); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; margin-bottom: 2rem; }
.map-container iframe { width: 100%; height: 260px; border: none; }
.container-map {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 2rem;
 }
/* ── Footer ── */
#footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 50px; }
.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.footer-desc { font-size: .87rem; line-height: 1.8; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition);
  background: rgba(255,255,255,.06);
}
.social-link:hover { transform: translateY(-3px); opacity: .9; border-color: transparent; }
.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 1.25rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-text { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom-text a { color: var(--accent); }

/* ── Notification Toast ── */
.rgc-toast {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 99998;
  min-width: 300px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  transform: translateX(120%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  border-left: 4px solid var(--secondary);
}
.rgc-toast.show { transform: translateX(0); }
.rgc-toast.success { border-left-color: #22c55e; }
.rgc-toast.error   { border-left-color: #ef4444; }
.rgc-toast-icon { font-size: 1.2rem; margin-top: .1rem; }
.rgc-toast.success .rgc-toast-icon { color: #22c55e; }
.rgc-toast.error   .rgc-toast-icon { color: #ef4444; }
.rgc-toast-msg { font-size: .88rem; color: var(--text); line-height: 1.5; }
.rgc-toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .9rem;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

/* ── AOS Overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-company-sidebar { display: none; }
  .hero-next { right: 15px !important; }
  .company-section-inner,
  .company-section.even .company-section-inner,
  .company-section.odd  .company-section-inner { flex-direction: column; }
  .company-img-wrap { flex: none; width: 100%; }
  .company-img-wrap img { height: 500px; width: 880px; }
  .companies-dropdown-menu { columns: 1; }
  .company-number { 
    font-size: 3rem;
    font-weight: 900;
    color: rgba(15, 45, 82, .06);
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 25px;
    pointer-events: none;
  }
  #companies {
    background: var(--bg);
    padding: 20px 0 0;
  }
  /* ── Hero Slider ── */
  #hero {
    position: relative;
    height: 60vh;
    min-height: 60px;
    overflow: hidden;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 10px 20px 0 20px;
  }
  img { max-width: 1000px; height: auto; display: block; }
  .company-services-list {
    padding: 0px 0 0 0;
}
.company-section-inner { gap: 1rem; }
}
@media (max-width: 767px) {
  section { padding: 60px 0px 0px 0; }
  .hero-next { right: 2px !important; }
  .hero-prev { left: 2px !important; }
  .hero-title { font-size: 1.25rem; }
  .hero-title span { 
  color: var(--accent); 
  font-size: 1rem; 
  }
  .hero-desc {
  font-size: .85rem;
  }
  .hero-stats-row { gap: 1rem; }
  .hero-stat { padding: .5rem .75rem; }
  .stat-card::after { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .company-section { padding: 20px 0px 20px 0px; border-bottom: 1px solid var(--border);}
  .hero-prev, .hero-next {
    width: 18px;
    height: 38px;
    background: rgb(11 79 164 / 93%) !important;
    border: 1px solid #ffc10711;
    border-radius: 30%;
    backdrop-filter: blur(8px);
    transition: var(--transition);
  }
  .company-img-wrap img { height: 370px; width: 580px; }
  img { max-width: 700px; height: auto; display: block; }
}
@media (max-width: 575px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary-custom,
  .hero-btns .btn-outline-custom { width: 100%; justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .companies-header { text-align: center; margin-bottom: 0rem; }
  .company-logo-small {width: 250px; height: 80px;}
  .company-img-wrap img { height: 230px; width: 420px; }
  img { max-width: 700px; height: auto; display: block; }
  .company-img-overlay { padding: .5rem; }
  .company-category-badge { padding: .25rem .4rem; font-size: .5rem; font-weight: 500; }
}

/* ── Companies Mobile Sidebar ── */
.companies-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.companies-sidebar-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.companies-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #0e1724;
  z-index: 1999;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.4);
}
.companies-sidebar.open {
  transform: translateX(0);
}
.companies-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 90px 10px 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  background: var(--primary);
  flex-shrink: 0;
}
.companies-sidebar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .25rem;
  transition: color .2s;
}
.companies-sidebar-close:hover { color: var(--accent); }
.companies-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
}
.companies-sidebar-list li { border-bottom: 1px solid rgba(255,255,255,.05); }
.companies-sidebar-link {
  display: block;
  padding: .75rem 1.25rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .88rem;
  transition: background .2s, color .2s, padding-left .2s;
}
.companies-sidebar-link:hover {
  background: rgba(228,185,91,.12);
  color: var(--accent);
  padding-left: 1.6rem;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.08);
  border-radius: 50px;
  padding: .2rem .35rem;
  border: 1px solid rgba(255,255,255,.15);
}
.lang-btn {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: .5px;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active {
  background: var(--accent);
  color: var(--primary);
}

/* ── Bangla font when lang-bn ── */
body.lang-bn,
body.lang-bn .section-title,
body.lang-bn .section-subtitle,
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3,
body.lang-bn h4, body.lang-bn h5, body.lang-bn h6,
body.lang-bn p, body.lang-bn a, body.lang-bn span,
body.lang-bn label, body.lang-bn button,
body.lang-bn input, body.lang-bn textarea {
  font-family: 'Hind Siliguri', var(--font-main);
}
body.lang-bn .company-name-title { font-size: 1.35rem; }
body.lang-bn .stat-label,
body.lang-bn .value-title { font-size: .82rem; }
