/* Custom styles for Debashis Mitra Corporate Portfolio & Fleet Solutions */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy-dark: #070D1E;
  --navy-900: #0B132B;
  --navy-800: #152243;
  --navy-700: #1E2D54;
  --electric-500: #3B82F6;
  --electric-600: #2563EB;
  --electric-700: #1D4ED8;
  --amber-500: #F59E0B;
  --emerald-500: #10B981;
  --whatsapp-green: #25D366;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
}

img, svg, video {
  max-width: 100%;
}

p, span, h1, h2, h3, h4, h5, h6, a {
  overflow-wrap: break-word;
}
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

html[lang="bn"] {
  font-family: 'Hind Siliguri', 'Poppins', -apple-system, sans-serif;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', sans-serif;
}

html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4,
html[lang="bn"] .font-display {
  font-family: 'Hind Siliguri', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0B132B;
}
::-webkit-scrollbar-thumb {
  background: #1E2D54;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3B82F6;
}

/* Background Grids & Patterns */
.bg-grid-pattern {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.bg-dot-pattern {
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glassmorphism Classes */
.glass-card {
  background: rgba(21, 34, 67, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

/* Language Pill Switcher Capsule (matching requested design) */
.lang-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background: #EEF2F6;
  border-radius: 9999px;
  padding: 3px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.2;
}

.lang-pill-btn[data-lang="en"] {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lang-pill-btn[data-lang="bn"] {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.lang-pill-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.12), 0 1px 3px -1px rgba(0, 0, 0, 0.06);
}

.lang-pill-btn:not(.active):hover {
  color: #0F172A;
}

/* Floating WhatsApp Button & Pulse */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 12px;
}

.floating-whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 15px 30px -3px rgba(37, 211, 102, 0.65), 0 6px 10px -2px rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  pointer-events: none;
}

.whatsapp-pulse-ring-2 {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  background: #0B132B;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-whatsapp-wrap:hover .whatsapp-tooltip,
.whatsapp-tooltip.always-show {
  opacity: 1;
  transform: translateX(0);
}

.online-dot {
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B132B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2563EB;
  transform: translateY(-3px);
}

/* Logo Styling */
.brand-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  /* NO transform on hover to prevent jumping */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.brand-logo-container:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* No scale/transform here - prevents double-scale flicker */
}

/* Executive Photo Showcase & Career Ready Status */
.executive-avatar-box {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #2563EB;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: #0B132B;
}

@media (min-width: 640px) {
  .executive-avatar-box {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }
}

.executive-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.executive-badge-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px 0 0 0;
  background: #000000;
  border-top: 2px solid #3B82F6;
  border-left: 2px solid #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.open-to-work-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.open-to-work-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Mobile Responsive Adjustments (320px - 640px) */
@media (max-width: 640px) {
  .floating-whatsapp-wrap {
    bottom: 18px;
    right: 14px;
  }
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .back-to-top {
    bottom: 18px;
    right: 72px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
  .brand-logo-container {
    width: 38px !important;
    height: 38px !important;
  }
  .lang-toggle-wrapper {
    padding: 2px !important;
  }
  .lang-pill-btn {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }
  .executive-avatar-box {
    width: 84px !important;
    height: 84px !important;
  }
  .glass-card {
    padding: 1.25rem !important;
  }
  /* Prevent table / tag overflow */
  .software-tab-btn {
    font-size: 11px !important;
    padding: 6px 4px !important;
  }
}


