@keyframes float {
  0% {
    transform: translateY(0px) scale(1.1);
  }

  50% {
    transform: translateY(-20px) scale(1.1);
  }

  100% {
    transform: translateY(0px) scale(1.1);
  }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

.glass-badge {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

.stat-glow-orange {
  text-shadow: 0 10px 20px rgba(234, 88, 12, 0.15);
}

.stat-glow-brand {
  text-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.watermark-text {
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  pointer-events: none;
  line-height: 1;
  user-select: none;
  font-family: 'Outfit', sans-serif;
}

/* --- Premium Value Cards Redesign --- */

.value-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

/* Suble Shutter Hover Effect */
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.03), rgba(255, 255, 255, 0));
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.value-card:hover::before {
  height: 100%;
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 23, 42, 0.1) !important;
}

/* Glassmorphism Icon Box */
.icon-box {
  position: relative;
  z-index: 10;
  transition: all 0.5s ease;
}

.value-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Ghost Background Icon */
.ghost-icon {
  position: absolute;
  bottom: -20px;
  right: 0;
  left: 0;
  font-size: 8rem;
  text-align: center;
  margin: auto !important;
  color: rgba(15, 23, 42, 0.02);
  transform: rotate(-15deg);
  transition: all 0.7s ease;
  z-index: 0;
  pointer-events: none;
}

.value-card:hover .ghost-icon {
  transform: rotate(0deg) scale(1.2);
  color: rgba(15, 23, 42, 0.04);
}

/* --- 'All-in-One' Unified Our Story Section --- */

.story-unified-card {
  display: flex;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  /* Darker industrial border */
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.story-nav-column {
  background-color: #f8fafc;
  border-right: 1.5px solid #cbd5e1;
  min-width: 280px;
  overflow: hidden;
  /* Crucial for clipping button backgrounds */
  padding: 0;
  /* Ensure no gaps */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* PERFECT VERTICAL CENTERING (Top to Bottom) */
}

.tab-btn {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  /* Center the entire content wrapper as a block */
  padding: 1.5rem 1rem;
  transition: all 0.4s ease;
  background-color: #ffffff;
  cursor: pointer;
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  /* Matched to main section border color */
  border-radius: 0 !important;
  /* Fix for 'cut' or rounded backgrounds inside bars */
}

.tab-btn:last-child {
  border-bottom: none;
}

.tab-btn .tab-content-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  min-width: 210px;
  /* FIXED WIDTH FOR PERFECT ICON COLUMN ALIGNMENT */
}

.tab-btn.active {
  background-color: #2563eb !important;
  /* Industrial Blue */
  color: #ffffff !important;
}

.tab-btn.active .icon-circle {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.tab-btn.active span {
  color: #ffffff !important;
}

.tab-btn .icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

/* Tab Content Styling */
.tab-story-content {
  flex: 1;
  padding: 3.5rem;
  background-color: #ffffff;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
}

.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.5s ease-out forwards;
}

@keyframes tabFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile & Tablet Refinement (max-width: 1023px) */
@media (max-width: 1023px) {
  .story-unified-card {
    flex-direction: column;
    border-radius: 1.5rem;
    /* Slightly tighter on mobile */
  }

  .story-nav-column {
    min-width: 100%;
    border-right: none;
    border-bottom: 1.5px solid #cbd5e1;
  }

  .tab-btn {
    padding: 1.25rem 1rem;
  }

  .tab-btn .tab-content-wrapper {
    gap: 0.75rem;
  }

  .tab-story-content {
    padding: 2.5rem 1.5rem;
  }

  .tab-story-content h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }
}

/* Highlight Pills */
.pill-badge {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background-color: #fff7ed;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 237, 213, 0.5);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Recognition & Awards Section (Section 5) --- */

.award-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  /* Even softer border */
  border-radius: 1.5rem;
  padding: 2.75rem 2.25rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.08);
  /* More premium shadow */
  border-color: rgba(13, 148, 136, 0.2);
}

.award-card .card-glow-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: #f0fdfa;
  /* Extremely soft teal */
  border-bottom-left-radius: 100%;
  z-index: 1;
  transition: all 0.5s ease;
}

.award-card:hover .card-glow-accent {
  background: #ccfbf1;
  width: 140px;
  height: 140px;
}

.award-card .award-icon-box {
  position: relative;
  z-index: 5;
  width: 3.25rem;
  height: 3.25rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  /* Darker defined border */
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  margin-bottom: 2.5rem;
  transition: all 0.5s ease;
}

.award-card:hover .award-icon-box {
  background: #0d9488;
  color: #ffffff;
  /* Simple hover transition without rotation or scale */
}

.award-year {
  color: #14b8a6;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  opacity: 0.8;
}

.award-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  /* Cleaner weight */
  color: #1e293b;
  font-size: 1.15rem;
  /* Better scale */
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.award-org {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Scrollbar Hide & Link Arrow Re-use */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Interactive Arrow Link */
.learn-more-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
  color: var(--brand-color);
}

.value-card:hover .learn-more-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Global Presence Section (Section 6) --- */

.presence-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  row-gap: 4.5rem;
  /* Increased vertical spacing between cards */
  padding-right: 2rem;
}

.presence-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.75rem 2.5rem 2.75rem 3.5rem;
  /* More spacious padding */
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: fit-content;
  border: 2px solid #cbd5e1;
  /* BOLDER BORDER as requested */
}

/* Custom Floating Side Accent to match reference exactly */
.presence-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 5px;
  background-color: #2563eb;
  border-radius: 0 100px 100px 0;
  transition: all 0.4s ease;
}

.presence-card:hover {
  transform: translateX(12px);
  box-shadow: 0 25px 50px -15px rgba(37, 99, 235, 0.12);
}

.presence-card:hover::before {
  height: 80%;
  top: 10%;
}

.stagger-down {
  transform: translateY(4rem);
  /* More airy staggering */
}

.presence-icon {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 2rem;
  display: block;
}

.presence-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.presence-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Map & Video Component */
.map-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-dots-svg {
  width: 100%;
  height: auto;
  opacity: 0.35;
  filter: grayscale(1);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  animation: playPulse 2s infinite;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: #1d4ed8;
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Mobile Presence Refinement (max-width: 1023px) */
@media (max-width: 1023px) {
  .presence-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    row-gap: 1.5rem;
    /* Explicitly reduced row-gap */
    padding-right: 0;
  }

  .stagger-down {
    transform: translateY(0);
  }

  .map-container {
    margin-top: 1.5rem;
    /* Reduced from 4rem to fix large space issue */
  }

  .video-play-btn {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
  }
}

/* --- Corporate Video Modal (Section 6 Integration) --- */

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.video-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #000;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-backdrop.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-ratio-box {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
}

.video-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.close-video-btn {
  position: absolute;
  top: -4rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-video-btn:hover {
  background: #2563eb;
  transform: rotate(90deg) scale(1.1);
  border-color: #2563eb;
}

@media (max-width: 640px) {
  .video-modal-content {
    border-radius: 0.75rem;
  }

  .close-video-btn {
    top: -3.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}