/* ===== BUSINESS VENTURES - BOTTOM DOTS VERSION ===== */

/* Reset and Base */
.bv-wrapper {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #f9fafa;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Header */
.bv-header {
  padding: 80px 0 50px;
  text-align: center;
  background: #f9fafa;
}

.bv-header-container {
  max-width: 1265px;
  margin: 0 auto;
  padding: 0 20px;
}

.bv-main-title,
h1.bv-main-title {
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #1d5d5b !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px !important;
}

.bv-subtitle {
  font-size: 15px;
  color: #218576;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

/* Main Content */
.bv-main-content {
  padding: 30px 60px 60px;
}

.bv-content-container {
  max-width: 1265px;
  margin: 0 auto;
  padding: 20px 0px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Left Content */
.bv-left-content {
  flex: 0 0 520px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Vertical Line (Left side) */
.bv-vertical-line {
  flex-shrink: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    #e5e7eb 0%,
    #9ca3af 15%,
    #9ca3af 85%,
    #e5e7eb 100%
  );
  height: 400px;
}

/* Content Area */
.bv-text-content {
  flex: 1;
  min-height: 400px;
  position: relative;
  padding-right: 20px;
}

.bv-content-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.bv-content-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Venture Meta */
.bv-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.bv-sector {
  font-size: 13px;
  font-weight: 600;
  color: #218576;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bv-founded {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Title */
.bv-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d5d5b;
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* Role */
.bv-role {
  font-size: 15px;
  color: #4b5563;
  font-weight: 500;
  margin: 0 0 28px 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* Description */
.bv-description {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 32px 0;
  font-weight: 400;
  max-width: 440px;
  padding-top: 24px;
  position: relative;
}

.bv-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #218576;
  border-radius: 1.5px;
}

/* Link */
.bv-link {
  display: inline-block;
  font-size: 14px;
  color: #218576;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid #218576;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.bv-link:hover {
  background: #218576;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 133, 118, 0.25);
}

/* ===== RIGHT SLIDER WITH BOTTOM DOTS ===== */
.bv-right-slider {
  flex: 1;
  max-width: 580px;
  position: relative;
  padding-bottom: 80px;
}

.bv-slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.bv-slider-slide {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Slide Positions */
.bv-prev-slide {
  width: 240px;
  height: 160px;
  left: 0;
  transform: translateX(0) scale(0.8) rotateY(10deg);
  opacity: 0.5;
  z-index: 1;
  filter: brightness(0.8) blur(0.5px);
}

.bv-active-slide {
  width: 500px;
  height: 320px;
  left: 50%;
  transform: translateX(-50%) scale(1) rotateY(0);
  opacity: 1;
  z-index: 3;
  filter: brightness(1);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 80px rgba(33, 133, 118, 0.15);
}

.bv-next-slide {
  width: 240px;
  height: 160px;
  right: 0;
  transform: translateX(0) scale(0.8) rotateY(-10deg);
  opacity: 0.5;
  z-index: 1;
  filter: brightness(0.8) blur(0.5px);
}

.bv-slide-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.bv-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.bv-active-slide .bv-slide-image img {
  transform: scale(1.05);
}

/* ===== BOTTOM DOTS NAVIGATION ===== */
.bv-bottom-dots {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
  z-index: 100;
}

.bv-bottom-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d1d5db;
  border: 2px solid white;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bv-bottom-dot:hover {
  background: #218576;
  transform: scale(1.2);
}

.bv-bottom-dot.active {
  background: #218576;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(33, 133, 118, 0.2);
}

/* Dot Label (appears on hover) */
.bv-bottom-dot-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.bv-bottom-dot:hover .bv-bottom-dot-label {
  opacity: 1;
}

/* ===== ENHANCED FOOTER DESIGN ===== */
.bv-footer {
  padding: 60px 0 80px;
  text-align: center;
  background: #f9fafa;
}

.bv-footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.bv-footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.bv-footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #e5e7eb 20%,
    #e5e7eb 80%,
    transparent 100%
  );
  opacity: 0.7;
}

.bv-footer-text {
  font-size: 15px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  font-style: normal;
  max-width: 500px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Pure CSS Wave */
.bv-curve-separator {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-bottom: -1px;
}

.bv-curve-separator::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25%;
  width: 150%;
  height: 100px;
  background: rgba(33, 133, 118, 0.25);
  border-radius: 50% / 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== LARGE DESKTOP OPTIMIZATION (1905px+) ===== */
@media (min-width: 1905px) {
  .bv-header-container,
  .bv-content-container,
  .bv-footer-container {
    max-width: 1600px;
  }

  .bv-main-title,
  h1.bv-main-title {
    font-size: 52px !important;
  }
  .bv-content-slide {
    top: 50px !important;
  }

  .bv-content-container {
    gap: 80px;
  }

  .bv-left-content {
    flex: 0 0 600px;
    gap: 50px;
  }

  .bv-vertical-line {
    height: 450px;
  }

  .bv-title {
    font-size: 26px;
    max-width: 500px;
  }

  .bv-description {
    font-size: 17px;
    max-width: 500px;
  }

  .bv-right-slider {
    max-width: 700px;
  }

  .bv-slider-container {
    height: 450px;
  }

  .bv-active-slide {
    width: 600px;
    height: 380px;
  }

  .bv-prev-slide,
  .bv-next-slide {
    width: 280px;
    height: 190px;
  }

  .bv-bottom-dots {
    gap: 28px;
  }

  .bv-bottom-dot {
    width: 16px;
    height: 16px;
  }

  .bv-footer-text {
    font-size: 16px;
    max-width: 700px;
  }
}

/* ===== FOR ACTUAL LAPTOP (1280×585 CSS, DPR 1.5) ===== */
@media (max-width: 1280px) and (max-height: 585px) {
  .bv-header {
    padding: 30px 0 15px !important;
    padding-bottom: 5px !important;
    padding-top: 100px !important;
  }

  .bv-main-title,
  h1.bv-main-title {
    font-size: 25px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .bv-main-title {
    font-size: 18px !important;
    background-color: #f9fafa;
    background-color: linear-gradient(
      180deg,
      rgba(249, 250, 250, 1) 39%,
      rgba(33, 133, 118, 0.6) 100%
    );
  }

  .bv-subtitle {
    font-size: 12px !important;
  }

  .bv-main-content {
    padding: 10px 25px 25px !important;
    padding-bottom: 0px;
  }

  .bv-content-container {
    gap: 25px !important;
    padding: 10px 0 !important;
    max-width: 1000px !important;
  }

  .bv-left-content {
    flex: 0 0 380px !important;
    gap: 15px !important;
  }

  .bv-vertical-line {
    height: 280px !important;
  }

  .bv-text-content {
    min-height: 280px !important;
  }

  .bv-meta {
    margin-bottom: 12px !important;
  }

  .bv-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  .bv-role {
    font-size: 12px !important;
    margin-bottom: 15px !important;
  }

  .bv-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding-top: 15px !important;
    margin-bottom: 20px !important;
    max-width: 320px !important;
  }

  .bv-link {
    padding: 8px 20px !important;
    font-size: 12px !important;
  }

  .bv-right-slider {
    max-width: 420px !important;
    padding-bottom: 50px !important;
  }

  .bv-slider-container {
    height: 250px !important;
  }

  .bv-active-slide {
    width: 340px !important;
    height: 220px !important;
  }

  .bv-prev-slide,
  .bv-next-slide {
    width: 160px !important;
    height: 105px !important;
  }

  .bv-bottom-dots {
    gap: 12px !important;
    padding: 8px 0 !important;
  }

  .bv-bottom-dot {
    width: 10px !important;
    height: 10px !important;
  }

  .bv-footer {
    padding: 25px 0 35px !important;
  }

  .bv-footer-content {
    gap: 15px !important;
  }

  .bv-footer-text {
    font-size: 12px !important;
    max-width: 400px !important;
  }
}

/* For SHORT screens (650px height) - HiDPI FIXED */
@media (max-width: 1265px) and (max-height: 650px) {
  .bv-header {
    padding: 40px 0 20px;
  }

  .bv-main-title,
  h1.bv-main-title {
    margin-bottom: 8px !important;
  }

  .bv-subtitle {
    font-size: 13px;
  }

  .bv-main-content {
    padding: 15px 30px 30px;
  }

  .bv-content-container {
    gap: 30px;
    padding: 15px 0;
  }

  .bv-left-content {
    flex: 0 0 400px;
    gap: 20px;
  }

  .bv-vertical-line {
    height: 300px;
  }

  .bv-text-content {
    min-height: 320px;
  }

  .bv-meta {
    margin-bottom: 15px;
  }

  .bv-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .bv-role {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .bv-description {
    font-size: 14px;
    line-height: 1.5;
    padding-top: 18px;
    margin-bottom: 24px;
    max-width: 350px;
  }

  .bv-link {
    padding: 10px 24px;
    font-size: 13px;
  }

  .bv-right-slider {
    max-width: 450px;
    padding-bottom: 60px;
  }

  .bv-slider-container {
    height: 280px;
  }

  .bv-active-slide {
    width: 380px;
    height: 240px;
  }

  .bv-prev-slide,
  .bv-next-slide {
    width: 180px;
    height: 120px;
  }

  .bv-bottom-dots {
    gap: 15px;
    padding: 10px 0;
  }

  .bv-bottom-dot {
    width: 12px;
    height: 12px;
  }

  .bv-footer {
    padding: 30px 0 40px;
  }

  .bv-footer-content {
    gap: 20px;
  }

  .bv-footer-text {
    font-size: 13px;
    max-width: 450px;
  }
}

/* ===== EXTRA SHORT SCREENS (585px height) - HiDPI FIXED VERSION ===== */
/* This will work on BOTH normal and HiDPI displays */
@media (max-width: 1300px) and (max-height: 690px),
  (max-width: 1265px) and (max-height: 585px) and (-webkit-min-device-pixel-ratio: 1.5),
  (max-width: 1265px) and (max-height: 585px) and (min-resolution: 144dpi) {
  .bv-header {
    padding: 50px 0 15px !important;
  }

  .bv-main-title,
  h1.bv-main-title {
    font-size: 28px !important;
    margin-bottom: 8px !important;
  }

  .bv-subtitle {
    font-size: 11px !important;
  }

  .bv-main-content {
    padding: 10px 25px 25px !important;
  }

  .bv-content-container {
    gap: 25px !important;
    padding: 10px 0 !important;
    max-width: 1000px !important;
  }

  .bv-left-content {
    flex: 0 0 380px !important;
    gap: 15px !important;
  }

  .bv-vertical-line {
    height: 280px !important;
  }

  .bv-text-content {
    min-height: 280px !important;
  }

  .bv-meta {
    margin-bottom: 12px !important;
  }

  .bv-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  .bv-role {
    font-size: 12px !important;
    margin-bottom: 15px !important;
  }

  .bv-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding-top: 15px !important;
    margin-bottom: 20px !important;
    max-width: 320px !important;
  }

  .bv-description::before {
    width: 50px !important;
    height: 2px !important;
  }

  .bv-link {
    padding: 8px 20px !important;
    font-size: 12px !important;
  }

  .bv-right-slider {
    max-width: 420px !important;
    padding-bottom: 50px !important;
  }

  .bv-slider-container {
    height: 250px !important;
  }

  .bv-active-slide {
    width: 400px !important;
    height: 270px !important;
  }

  .bv-prev-slide,
  .bv-next-slide {
    width: 160px !important;
    height: 105px !important;
  }

  .bv-bottom-dots {
    gap: 12px !important;
    padding: 8px 0 !important;
    top: 15px;
  }

  .bv-bottom-dot {
    width: 10px !important;
    height: 10px !important;
  }

  .bv-bottom-dot-label {
    font-size: 10px !important;
    top: -25px !important;
  }

  .bv-footer {
    padding: 5px 0 35px !important;
  }

  .bv-footer-content {
    gap: 15px !important;
  }

  .bv-footer-text {
    font-size: 12px !important;
    max-width: 400px !important;
  }

  .bv-curve-separator {
    height: 40px !important;
  }

  .bv-curve-separator::before {
    height: 70px !important;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .bv-header {
    padding: 60px 0 40px;
  }

  .bv-main-title,
  h1.bv-main-title {
    font-size: 36px !important;
  }

  .bv-main-content {
    padding: 20px 40px 40px;
  }

  .bv-content-container {
    flex-direction: column;
    gap: 50px;
    max-width: 700px;
  }

  .bv-left-content {
    flex: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    gap: 30px;
  }

  .bv-vertical-line {
    height: 340px;
  }

  .bv-text-content {
    padding-right: 0;
  }

  .bv-title {
    font-size: 28px;
  }

  .bv-right-slider {
    max-width: 600px;
    margin: 0 auto;
  }

  .bv-slider-container {
    height: 320px;
  }

  .bv-active-slide {
    width: 400px;
    height: 260px;
  }

  .bv-bottom-dots {
    gap: 20px;
    padding: 15px 0;
    top: 15px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .bv-header {
    padding: 50px 0 10px;
  }

  .bv-main-title,
  h1.bv-main-title {
    font-size: 28px !important;
  }

  .bv-main-content {
    padding: 0px 20px 0px;
  }

  .bv-content-container {
    gap: 0px;
    flex-direction: column-reverse !important;
    padding: 0px;
  }
  .bv-subtitle {
    font-size: 11px !important;
  }
  .bv-left-content {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }

  .bv-vertical-line {
    display: none;
  }

  .bv-text-content {
    text-align: center;
    min-height: 380px;
  }

  .bv-meta {
    justify-content: center;
    display: none;
  }

  .bv-title {
    font-size: 18px;
  }

  .bv-description {
    max-width: 100%;
  }

  .bv-description::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .bv-slider-container {
    height: 280px;
  }

  .bv-active-slide {
    width: 320px;
    height: 210px;
  }

  .bv-prev-slide,
  .bv-next-slide {
    display: none;
  }

  .bv-bottom-dots {
    gap: 20px;
    padding: 2px 0;
  }

  .bv-bottom-dot {
    width: 12px;
    height: 12px;
    position: relative !important;
  }

  .bv-bottom-dot-label {
    display: none;
  }

  .bv-footer {
    padding: 0px;
  }

  .bv-footer-content {
    flex-direction: row;
    gap: 0px;
  }

  .bv-footer-line {
    display: none;
  }

  .bv-footer-text {
    font-size: 11px;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    gap: 0px !important;
    padding: 0px;
  }
}
.bv-right-slider {
  padding-bottom: 35px !important;
}

.bv-link {
  font-size: 11px;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid #218576;
}
.bv-role {
  display: none;
}
/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.bv-bottom-dot:focus {
  outline: 2px solid #218576;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(33, 133, 118, 0.2);
}

.bv-link:focus {
  outline: 2px solid #218576;
  outline-offset: 2px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .bv-content-slide,
  .bv-slider-slide,
  .bv-bottom-dot,
  .bv-link {
    transition: none !important;
    animation: none !important;
  }

  .bv-active-slide .bv-slide-image img {
    transform: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bv-vertical-line {
    background: #4b5563;
  }

  .bv-footer-line {
    background: #4b5563;
  }

  .bv-bottom-dot {
    border-color: #4b5563;
  }
}

/* REMOVED: The problematic image loading animation */
/* If you want image loading animation, use this instead: */
.bv-slide-image.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

#business-ventures-section-scroll {
  scroll-margin-top: 55px;
}
