/* =========================================
   PT. Karya Bumen MultiCita - Main CSS
   ========================================= */

:root {
  --kbm-primary: #0056b3;
  --kbm-primary-dark: #003d80;
  --kbm-secondary: #ffd700;
  --kbm-accent: #ff6b35;
  --kbm-dark: #1a1a2e;
  --kbm-text: #444;
  --kbm-light: #f8f9ff;
  --gradient-primary: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a2e 0%, #003d80 50%, #0056b3 100%);
  --shadow-sm: 0 2px 15px rgba(0,86,179,0.08);
  --shadow-md: 0 8px 30px rgba(0,86,179,0.15);
  --shadow-lg: 0 20px 60px rgba(0,86,179,0.2);
  --radius: 16px;
  --transition: all 0.3s ease;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--kbm-text);
  background: #fff;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  transition: var(--transition);
  z-index: 1050;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
#mainNav.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}
#mainNav .navbar-brand { text-decoration: none; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--kbm-primary);
  display: block;
  line-height: 1;
}
.brand-tagline {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.5px;
  display: block;
}
#mainNav .nav-link {
  color: #333333;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-link.active {
  color: var(--kbm-primary);
  background: rgba(0, 86, 179, 0.08);
}
#mainNav .dropdown-menu { border-radius: 12px; border: none; box-shadow: var(--shadow-md); padding: 0.5rem; }
#mainNav .dropdown-item { border-radius: 8px; padding: 0.5rem 1rem; font-size: 0.875rem; transition: var(--transition); }
#mainNav .dropdown-item:hover { background: rgba(0,86,179,0.06); color: var(--kbm-primary); }

/* ===== HERO ===== */
.hero-section { position: relative; height: 100vh; min-height: 600px; }
.heroSwiper { height: 100%; }
.hero-slide {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-color: var(--kbm-dark);
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.85;
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  border: 1px solid rgba(255,215,0,0.5);
  color: var(--kbm-secondary);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 550px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.swiper-button-next, .swiper-button-prev {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px; color: #fff; font-weight: 700; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--kbm-secondary); width: 24px; border-radius: 4px; }

/* ===== STATS ===== */
.stats-section { margin-top: -60px; position: relative; z-index: 10; }
.stats-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat-item {
  padding: 2rem 1rem;
  border-right: 1px solid #f0f0f0;
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,86,179,0.03); }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--kbm-primary);
  line-height: 1;
}
.stat-label { font-size: 0.875rem; color: #888; font-weight: 500; margin-top: 0.3rem; }

/* ===== SECTION ===== */
.section-padding { padding: 5rem 0; }
.section-badge {
  display: inline-block;
  background: rgba(0,86,179,0.08);
  color: var(--kbm-primary);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--kbm-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc { font-size: 1rem; color: #666; max-width: 600px; margin: 0 auto; }
.section-header .section-desc { margin: 0 auto; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PRODUK CARD ===== */
.produk-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
}
.produk-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.produk-icon {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  z-index: 2;
}
.produk-img { position: relative; overflow: hidden; height: 200px; }
.produk-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.produk-card:hover .produk-img img { transform: scale(1.05); }
.produk-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,86,179,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.produk-card:hover .produk-overlay { opacity: 1; }
.produk-body { padding: 1.5rem; }
.produk-kategori {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kbm-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(0,86,179,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.produk-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kbm-dark);
  margin-bottom: 0.75rem;
}
.produk-desc { font-size: 0.875rem; color: #666; line-height: 1.6; margin-bottom: 1rem; }
.produk-link {
  color: var(--kbm-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.produk-link:hover { gap: 0.75rem; color: var(--kbm-primary-dark); }

/* ===== WHY SECTION ===== */
.why-img-wrapper { position: relative; display: inline-block; }
.why-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--kbm-primary);
}
.why-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.bg-primary-soft { background: rgba(0,86,179,0.1); }
.bg-success-soft { background: rgba(25,135,84,0.1); }
.bg-warning-soft { background: rgba(255,193,7,0.1); }
.bg-info-soft { background: rgba(13,202,240,0.1); }

/* ===== PORTFOLIO ===== */
.portfolio-item-col {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 260px;
}
.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,30,80,0.9) 0%, rgba(0,30,80,0.2) 60%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(30px);
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-info { transform: translateY(0); }
.portfolio-cat { font-size: 0.7rem; font-weight: 700; color: var(--kbm-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; display: block; }
.portfolio-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.portfolio-client { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.portfolio-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid #e0e0e0;
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--kbm-primary); color: #fff; border-color: var(--kbm-primary); }

/* ===== TESTIMONIAL ===== */
.testimonial-section { background: var(--kbm-light); }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  height: 100%;
}
.testi-text { color: #555; font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--kbm-primary); }
.testi-name { font-weight: 700; color: var(--kbm-dark); font-size: 0.95rem; }
.testi-job { font-size: 0.78rem; color: #888; }

/* ===== CLIENTS ===== */
.clients-section {
  position: relative;
}
.client-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 50, 120, 0.05);
  border: 1px solid rgba(0, 86, 179, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 180px;
  justify-content: center;
}
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 86, 179, 0.12);
  border-color: var(--kbm-primary);
}
.client-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #f4f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 86, 179, 0.1);
}
.client-card:hover .client-icon-wrap {
  background: #e7f1ff;
  transform: scale(1.05);
}
.client-img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}
.client-details {
  width: 100%;
}
.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kbm-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.client-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--kbm-primary);
  background: rgba(0, 86, 179, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.clients-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.3s ease;
}
.clients-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 10px;
  background: var(--kbm-primary);
}

/* ===== ARTIKEL ===== */
.artikel-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  transition: var(--transition);
}
.artikel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.artikel-img { position: relative; height: 200px; overflow: hidden; }
.artikel-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.artikel-card:hover .artikel-img img { transform: scale(1.05); }
.artikel-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--kbm-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}
.artikel-body { padding: 1.5rem; }
.artikel-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: #aaa; margin-bottom: 0.75rem; }
.artikel-meta i { margin-right: 0.25rem; }
.artikel-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.artikel-title a { color: var(--kbm-dark); text-decoration: none; transition: var(--transition); }
.artikel-title a:hover { color: var(--kbm-primary); }
.artikel-ringkasan { font-size: 0.875rem; color: #666; line-height: 1.6; margin-bottom: 1rem; }
.artikel-link { color: var(--kbm-primary); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.artikel-content { font-size: 1rem; line-height: 1.8; color: #444; }
.artikel-content h3, .artikel-content h4 { color: var(--kbm-dark); margin-top: 1.5rem; }
.artikel-content ul, .artikel-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ===== CTA ===== */
.cta-section { padding: 4rem 0; }
.cta-card {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-title { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.cta-desc { color: rgba(255,255,255,0.8); margin: 0; }

/* ===== FOOTER ===== */
.footer-section { background: var(--kbm-dark); }
.footer-top { padding: 4rem 0 3rem; }
.footer-title { color: #fff; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--kbm-secondary); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.8rem; }
.footer-contact i { color: var(--kbm-secondary); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--kbm-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { background: var(--kbm-primary); color: #fff; transform: translateY(-3px); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--gradient-hero);
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header-title { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: #fff; }
.page-header-desc { color: rgba(255,255,255,0.75); font-size: 1rem; }
.breadcrumb-white .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb-white .breadcrumb-item.active { color: var(--kbm-secondary); }
.breadcrumb-white .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ===== ABOUT ===== */
.vm-card { padding: 2.5rem; border-radius: var(--radius); }
.vm-visi { background: var(--gradient-primary); color: #fff; }
.vm-misi { background: #fff; border: 2px solid #e8f0fe; }
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-visi .vm-icon, .vm-visi .vm-title { color: var(--kbm-secondary); }
.vm-misi .vm-icon, .vm-misi .vm-title { color: var(--kbm-primary); }
.vm-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem; }
.vm-text { opacity: 0.85; line-height: 1.7; }
.vm-list { padding-left: 1.5rem; opacity: 0.85; }
.vm-list li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ===== TIM ===== */
.tim-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}
.tim-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tim-img-wrapper { height: 220px; overflow: hidden; }
.tim-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.tim-card:hover .tim-img-wrapper img { transform: scale(1.05); }
.tim-info { padding: 1.25rem; text-align: center; }
.tim-nama { font-weight: 700; color: var(--kbm-dark); font-size: 0.95rem; margin-bottom: 0.25rem; }
.tim-jabatan { color: var(--kbm-primary); font-weight: 600; font-size: 0.8rem; margin-bottom: 0.4rem; }
.tim-divisi { display: inline-block; background: #f0f4ff; color: #555; font-size: 0.72rem; padding: 0.2rem 0.75rem; border-radius: 50px; }
.tim-social { display: inline-block; margin-top: 0.5rem; color: var(--kbm-primary); font-size: 1.1rem; }

/* ===== VISI MISI Values ===== */
.value-card { padding: 1.5rem; background: rgba(255,255,255,0.1); border-radius: var(--radius); transition: var(--transition); }
.value-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* ===== KONTAK ===== */
.kontak-info-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.kontak-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.kontak-info-icon { width: 44px; height: 44px; background: rgba(0,86,179,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--kbm-primary); font-size: 1.1rem; flex-shrink: 0; }
.kontak-info-item h6 { font-weight: 700; color: var(--kbm-dark); margin-bottom: 0.2rem; font-size: 0.875rem; }
.kontak-info-item p, .kontak-info-item a { color: #666; font-size: 0.875rem; margin: 0; text-decoration: none; }
.kontak-form-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); }

/* ===== KARIR ===== */
.karir-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; transition: var(--transition); }
.karir-card:hover { border-color: var(--kbm-primary); box-shadow: var(--shadow-md); }
.karir-posisi { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--kbm-dark); margin: 0.4rem 0; }
.karir-meta { font-size: 0.82rem; color: #888; }

/* ===== SIDEBAR ===== */
.sidebar-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; }
.hover-bg:hover { background: rgba(0,86,179,0.04); }

/* ===== PRODUK DETAIL ===== */
.produk-detail-content { font-size: 1rem; line-height: 1.8; color: #444; }
.produk-detail-content h3, .produk-detail-content h4 { color: var(--kbm-dark); margin-top: 1.5rem; font-weight: 700; }
.produk-detail-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.produk-detail-content ul li { margin-bottom: 0.4rem; }

/* ===== WA FLOAT + BACK TO TOP ===== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 35px rgba(37,211,102,0.7); } }

.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--kbm-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--kbm-primary-dark); color: #fff; transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }
  #mainNav .navbar-brand .brand-name {
    color: var(--kbm-primary) !important;
  }
  #mainNav .navbar-brand .brand-tagline {
    color: #666 !important;
  }
  #mainNav .navbar-toggler {
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: #f0f4ff;
    color: var(--kbm-primary);
  }
  #mainNav .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
  }
  #mainNav .navbar-collapse {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf2f7;
  }
  #mainNav .nav-link {
    color: #333333 !important;
    font-weight: 600;
    padding: 0.65rem 1rem !important;
    border-radius: 10px;
  }
  #mainNav .nav-link:hover,
  #mainNav .nav-link:focus,
  #mainNav .nav-link.active {
    color: var(--kbm-primary) !important;
    background: #f0f6ff !important;
  }
  #mainNav .dropdown-menu {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-top: 0.25rem;
    box-shadow: none;
  }
  #mainNav .dropdown-item {
    color: #444;
    padding: 0.5rem 1rem;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .hero-section { height: 100svh; }
  .hero-slide { height: 100svh; }
  .section-padding { padding: 3rem 0; }
  .stats-section { margin-top: 1rem; }
  .stat-number { font-size: 1.8rem; }
  .cta-card { padding: 2rem 1.5rem; }
  .cta-title { font-size: 1.5rem; }
  .why-badge-float { display: none; }
  .portfolio-card { height: 220px; }
  .portfolio-info { transform: translateY(0); }
}
