/* =============================================== */
/* GLOBAL STYLES                                  */
/* =============================================== */

/* CSS Variables */
:root {
  --bwm-gold: #ccb78d;
  --bwm-dark-blue: #2d414f;
  --bwm-blue: #2b5df3;
  --bwm-dark-bg: #11172a;
  --bwm-darker-bg: #0b0f1d;
  --bwm-partnership-bg: #dfedff;
  --bwm-text-secondary: #556070;
  --bwm-accent-yellow: #ffc107;
  --bwm-carousel-bg: #1a2332;
  --white: #ffffff;
  --black: #000000;
}

/* Typography */
body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.playfair {
  font-family: 'Playfair Display', serif;
}

h1 {
  padding-top: .25em;
  font-size: clamp(1.875rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Heading Styles */
h2 {
  font-size: clamp(1.625rem, 3vw + 0.8rem, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--bwm-dark-blue);
}

h3 {
  font-size: clamp(1.375rem, 2.5vw + 0.7rem, 2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--bwm-dark-blue);
}

h4 {
  font-size: clamp(1.125rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.875rem;
  color: var(--bwm-dark-blue);
}

h5 {
  font-size: clamp(1rem, 1.5vw + 0.4rem, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--bwm-dark-blue);
}

h6 {
  font-size: clamp(0.875rem, 1vw + 0.3rem, 1rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: var(--bwm-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Paragraph and Text Styles */
p {
  font-size: clamp(0.9rem, 1vw + 0.2rem, 1rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.text-small {
  font-size: clamp(0.75rem, 1vw + 0.1rem, 0.875rem);
  line-height: 1.5;
}

.text-large {
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.125rem);
  line-height: 1.7;
}

/* Link Styles */
a {
  color: var(--bwm-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--bwm-gold);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--bwm-gold);
  outline-offset: 2px;
}

/* Blockquote Styles */
blockquote {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  margin: clamp(1rem, 2vw + 0.5rem, 2rem) 0;
  padding: clamp(0.75rem, 1.5vw + 0.5rem, 1.5rem) clamp(1rem, 2vw + 0.5rem, 2rem);
  border-left: 4px solid var(--bwm-gold);
  background-color: rgba(204, 183, 141, 0.05);
  position: relative;
}

blockquote p {
  margin-bottom: 0;
}

blockquote::before {
  content: '"';
  font-size: clamp(3rem, 4vw + 1rem, 4rem);
  color: var(--bwm-gold);
  position: absolute;
  top: clamp(-0.25rem, -0.5vw - 0.1rem, -0.5rem);
  left: clamp(0.75rem, 1vw + 0.3rem, 1rem);
  font-family: 'Playfair Display', serif;
}

/* Font Weight Utilities */
.fw-light {
  font-weight: 300 !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

/* Text Transform Utilities */
.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

/* Responsive Typography - Using Clamp for Fluid Scaling */
/* All typography now uses clamp() for smooth responsive scaling */
/* Media queries below only handle non-font-size responsive adjustments */

@media (max-width: 576px) {
  blockquote {
    border-left-width: 3px;
  }
}

/* Color Utilities */
.text-bwm-gold {
  color: var(--bwm-gold) !important;
}

.text-bwm-blue {
  color: var(--bwm-blue) !important;
}

.text-bwm-dark {
  color: var(--bwm-dark-blue) !important;
}

.bg-bwm-gold {
  background-color: var(--bwm-gold) !important;
}

.bg-bwm-blue {
  background-color: var(--bwm-blue) !important;
}

.bg-bwm-dark {
  background-color: var(--bwm-dark-bg) !important;
}

/* Gradient Backgrounds */
.bg-gradient-gold {
  background: linear-gradient(180deg, rgba(213, 195, 158, 1) 0%, rgba(188, 163, 108, 1) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(180deg, rgba(45, 62, 76, 1) 0%, rgba(46, 70, 87, 1) 94%, rgba(35, 53, 67, 1) 95%, rgba(35, 53, 67, 1) 100%);
}

.bg-gradient-hero {
  background: linear-gradient(180deg, rgba(0, 35, 66, 0.1) 0%, rgba(0, 35, 66, 1.0) 75%, rgba(0, 35, 66, 1.0) 100%);
}

.bg-gradient-business {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.75) 23%, rgba(255, 255, 255, 0.75) 54%, rgba(255, 255, 255, 0) 72%);
}

.bg-gradient-footer {
  background: linear-gradient(180deg, rgba(22, 34, 71, 1) 0%, rgba(33, 55, 133, 1) 50%, rgba(22, 34, 71, 1) 100%);
}

/* Buttons */
.btn-bwm-gold {
  background-color: var(--bwm-gold) !important;
  border-color: var(--bwm-gold) !important;
  color: var(--bwm-dark-blue) !important;
  border-radius: 2rem;
  font-weight: 700;
  padding-left: 2em;
  padding-right: 2em;
}

.btn-bwm-gold:hover {
  background-color: var(--bwm-dark-blue) !important;
  border-color: var(--bwm-gold) !important;
  color: var(--bwm-gold) !important;
}

.btn-bwm-blue {
  background-color: var(--bwm-blue) !important;
  border-color: var(--bwm-blue) !important;
  color: var(--white) !important;
  border-radius: 2rem;
  font-weight: 700;
  padding-left: 2em;
  padding-right: 2em;
}

.btn-bwm-blue:hover {
  background-color: var(--white) !important;
  border-color: var(--bwm-blue) !important;
  color: var(--bwm-blue) !important;
}




/* Utility Classes */
.gold-border {
  border: 2px solid var(--bwm-gold);
  border-radius: 0.5rem;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 23, 42, 0.75) !important;
}

.inner-slider-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
}

/* Business chip links */
.biz-chip {
  text-decoration: none !important;
  color: inherit !important;
}

/* Button display utility */
.btn-block-style {
  display: block;
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}


/* =============================================== */
/* NAVIGATION STYLES                              */
/* =============================================== */

#topbar a {
  font-size: clamp(.9rem, 1vw + 0.1rem, 0.875rem);
}
#navbarNav {
  margin: .5em 2em;
}
#navbarNav .nav-link {
  margin-bottom: .5em;
}
/* #navbarNav .nav-links {
  margin-bottom: 1em;
} */
.navbar-brand img {
  height:70px;
  width: auto;
}

/* =============================================== */
/* HERO SECTION STYLES                           */
/* =============================================== */

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

#hero video {
  object-fit: cover;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#hero video img {
  object-fit: cover;
}

#hero .bg-gradient-hero {
  z-index: 2;
}

/* Mobile Hero Styles (max-width: 991px) - Simplified */
@media (max-width: 991px) {
  .hero-section {
    height: 60vh;
    min-height: 300px;
    position: relative;
    /* Remove complex positioning for mobile */
  }
  
  #hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Remove excessive margins and positioning */
  }
}

/* Desktop Hero Styles (min-width: 992px) - Keep gradient integration */
@media (min-width: 992px) {
  .hero-section {
    min-height: 45rem;
    position: relative;
  }
  
  #hero video {
    position: absolute;
    top: -50px;
    left: 0;
    margin-top: -10px;
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .hero-section {
    min-height: 55rem;
  }
}

/* =============================================== */
/* CALL TO ACTION SECTION STYLES                 */
/* =============================================== */

#call-to-action {
  position: relative;
  z-index: 2;
}

#call-to-action #blue-back-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 35, 66, 1);
  z-index: -1;
}

/* Mobile Call to Action Styles (max-width: 991px) - Simplified */
@media (max-width: 991px) {
  #call-to-action {
    /* Remove complex positioning and negative margins */
    margin-top: 0;
    padding: 40px 0;
    background: rgba(0, 35, 66, 1) !important;
    border-top: 4px solid rgba(0, 20, 40, 1); /* Darker blue top border */
    /* Remove excessive padding */
  }
  
  #call-to-action #blue-back-panel {
    display: none; /* Not needed for mobile solid background */
  }
}

/* Desktop Call to Action Styles (min-width: 992px) - Keep gradient overlay */
@media (min-width: 992px) {
  #call-to-action {
    margin-top: -300px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, 
      rgba(0, 35, 66, 0) 0%, 
      rgba(0, 35, 66, 0.5) 20%, 
      rgba(0, 35, 66, 1) 40%, 
      rgba(0, 35, 66, 1) 100%
    ) !important;
  }
  
  #call-to-action #blue-back-panel {
    top: 120px;
    height: calc(100% - 120px);
  }
}


/* =============================================== */
/* CAROUSEL SECTION STYLES                       */
/* =============================================== */

#hero-carousel {
  z-index: 3;
}

/* Custom rounded corner classes for carousel */
#desktopCarousel {
  border-radius: 1.5rem; /* rounded-lg-4 equivalent */
}

#desktopCarousel .carousel-inner {
  border-radius: 1rem; /* rounded-4 equivalent */
}

#desktopCarousel .carousel-item-slide {
  border-radius: 1.5rem; /* rounded-lg-4 equivalent */
}

#desktopCarousel .carousel-item-corner-accent {
  border-radius: 1.5rem; /* rounded-lg-4 equivalent */
}

#hero-carousel .carousel-inner a {
  cursor: pointer;
}
.desktop-carousel-wrap {
  margin-top: -4rem; 
  margin-bottom: 4rem;
}
.desktop-carousel-wrap #desktopCarousel {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
              0 8px 25px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
}
.desktop-carousel-wrap .carousel-indicators {
  bottom: -3rem;
}
#desktopCarousel .inner-carousel-slide img {
  visibility: hidden;
}
/* Additional carousel item styles */
#desktopCarousel .carousel-item-slide {
  /* Aspect ratio container for 960x300 images (3.2:1 ratio) */
  aspect-ratio: 3.2 / 1;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 4px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2),
              0 4px 15px rgba(0, 0, 0, 0.1),
              inset 0 0 0 2px var(--bwm-accent-yellow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layered background: image + gradient + fallback color */
  --carousel-bg-image: none;
  --carousel-fallback-color: var(--bwm-carousel-bg);
  background-image: var(--carousel-bg-image), 
                    linear-gradient(135deg,
                      rgba(255, 193, 7, 0.1) 0%,
                      rgba(255, 193, 7, 0.05) 100%);
  background-color: var(--carousel-fallback-color) !important;
}

/* Navigation arrows */
#desktopCarousel .carousel-control-prev,
#desktopCarousel .carousel-control-next {
  width: 5%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}
#desktopCarousel .carousel-control-next {
  border-radius: 8px 0 0 8px;
}
#desktopCarousel .carousel-control-prev:hover,
#desktopCarousel .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.5);
}
#desktopCarousel .carousel-control-prev-icon,
#desktopCarousel .carousel-control-next-icon {
  background-size: 20px 20px;
  filter: brightness(0) invert(1);
}
#desktopCarousel .carousel-item-corner-accent {
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(255, 193, 7, 0.1) 50%,
    transparent 52%
  );
  pointer-events: none;
}
.carousel-cursor-pointer {
  cursor: pointer;
}
.carousel-cursor-pointer {
  cursor: pointer;
}

@media (max-width: 991px) {
  /* Allow Bootstrap's responsive containers to work properly */
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Reset carousel styles for mobile/tablet - remove desktop styling */
  .desktop-carousel-wrap {
    margin-top:0;
    margin-left:0;
    margin-right:0;
  }

  .desktop-carousel-wrap .container-fluid {
    margin:0 !important;
    padding:0 !important;
  }
  
  .desktop-carousel-wrap #desktopCarousel {
    box-shadow: none !important;
    border-radius: 0;
  }
  
  #desktopCarousel .carousel-inner {
    border-radius: 0 !important;
  }
  
  #desktopCarousel .carousel-item-slide {
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
    /* Dynamic height for mobile - show full image without cropping */
    height: calc(100vw / 3.2);
    min-height: 150px;
    max-height: 250px;
    background-size: contain !important; /* Show full image */
    aspect-ratio: unset; /* Override desktop aspect ratio */
  }
  
  #desktopCarousel .carousel-item-corner-accent {
    border-radius: 0 !important;
  }
  
  /* Navigation arrows adjustments for mobile */
  #desktopCarousel .carousel-control-prev,
  #desktopCarousel .carousel-control-next {
    border-radius: 0;
    width: 8%;
  }
  
  /* Remove corner accents on mobile for cleaner look */
  #desktopCarousel .carousel-item-corner-accent {
    display: none;
  }
  .bg-gradient-hero {
    background:  rgba(0, 35, 66, 0.4);
  }
}


/* =============================================== */
/* COCKPIT TO PULPIT SECTION STYLES             */
/* =============================================== */

#cockpit-to-pulpit {
  min-height: clamp(520px, 70vh, 760px);
  background-color: var(--bwm-darker-bg);
  position: relative;
}

#cockpit-to-pulpit .cockpit-bg-wrap {
  background: var(--bwm-darker-bg) url("../images/bill-plane-bg3-1.png") 15% center / cover no-repeat;
  z-index: 0;
}

#cockpit-to-pulpit .container {
  position: relative;
  z-index: 2;
}

#cockpit-to-pulpit .cockpit-bg {
  display: none;
}

#cockpit-to-pulpit .cockpit-thumb {
  border-radius: 0.75rem;
  border: 1px solid rgba(17, 23, 42, 0.15);
  box-shadow: 0 8px 18px rgba(17, 23, 42, 0.12);
  height: 220px;
  object-fit: cover;
  display: block;
  transform: rotate(1.5deg);
  transform-origin: center;
}

#cockpit-to-pulpit .btn-bwm-blue a {
  display: block;
}

/* Plane animation container */
.plane-animation-container {
  z-index: 2; 
  pointer-events: none;
}

/* Plane image styling */
.plane-image {
  width: 500px; 
  height: auto; 
  opacity: 0.8;
}

@media (max-width: 991px) {
  /* Cockpit to Pulpit mobile adjustments */

  /* Show more empty space at top where headshot is */
  /* #cockpit-to-pulpit .cockpit-bg-wrap {
    background-position: 50% 20% !important; 
    background-size: cover !important;
  } */
   

  #cockpit-to-pulpit .container {
    /* background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 30%,
      rgba(255, 255, 255, 0.95) 40%,
      var(--white) 50%,
      var(--white) 100%
    ); */
    border-radius: 0 0 20px 20px;
    /* padding-top: 60vh !important; */
    margin-top: 0;
  }

  #cockpit-to-pulpit .col-lg-6 .inner-text-container {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: -2rem;
  }
  /* #cockpit-to-pulpit  {
    background-color: var(--white);
  } */
}


/* =============================================== */
/* BUSINESS LEADERSHIP SECTION STYLES           */
/* =============================================== */

/* Additional container styles */
.business-leadership-container,
.conferences-container {
  padding-top: 4em;
  padding-bottom: 4em;
}

#business-impact-editorial {
  background-color: var(--bwm-darker-bg) !important;
  position: relative;
  overflow: hidden;
  background-image: url("../images/mask-group-9.png");
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
}

#business-impact-editorial .video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: none;
}

#business-impact-editorial .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#business-impact-editorial .section-overlay {
  z-index: 1;
}

#business-impact-editorial .container {
  position: relative;
  z-index: 2;
}

/* Business Portfolio Styles */
.biz-grid-container {
  /* Removed flexbox - now using Bootstrap grid */
}

/* Business portfolio layout */
#business-impact-editorial .biz-portfolio {
  margin-top: 1.75rem;
}

.biz-featured-left {
  min-height: 300px;
}

.biz-scroll-container {
  height: 500px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  /* background: rgba(0, 0, 0, 0.1); */
}

/* Business tile base styles */
.biz-tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Subtle background zoom effect */
.biz-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 108%;
  background-position: center;
  transform: scale(1);
  transition: transform 260ms ease;
  z-index: 0;
}

/* Business tile overlay */
.biz-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 193, 7, 0.10),
      transparent 55%
    );
}

/* Glass morphism business chip */
.biz-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 12px 14px;
}

/* JBS Logo */
.biz-logo {
  max-width: 190px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

/* Business text styles */
.biz-eyebrow {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.9;
  margin-bottom: 6px;
}

.biz-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  line-height: 1.05;
}

/* Decorative monogram */
.biz-monogram {
  position: absolute;
  right: 14px;
  bottom: 6px;
  font-family: "Playfair Display", serif;
  font-size: 54px;
  opacity: 0.08;
  pointer-events: none;
}

/* Business tile hover effects */
.biz-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.biz-tile:hover::before {
  transform: scale(1.04);
}

.biz-tile:focus-visible {
  outline: none;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 0 3px rgba(255, 193, 7, 0.55);
}

/* Swiper Business Portfolio Styles */
.biz-swiper {
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.biz-swiper .swiper-slide {
  height: auto;
  margin-bottom: 1rem;
}

.biz-swiper .swiper-wrapper {
  align-items: stretch;
}

.biz-scroll-container:active {
  cursor: grabbing;
}

/* Biz chip links styling */
.biz-chip a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.biz-tile .biz-chip a:hover {
  opacity: 0.9;
}

.biz-tile.biz-small {
  min-height: 14rem;
  flex-shrink: 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}


.biz-portfolio a {
  text-decoration: none; 
  color: inherit;
}

/* Business portfolio responsive adjustments */
@media (max-width: 991px) {
  /* Match padding on mobile for consistent visual width */
  .biz-scroll-container {
    height: 600px;
    width: 500px;
    padding: 1rem; /* Match the p-3 padding from featured section */
    margin: 2em auto;
  }
  .biz-feature {
    width: 500px !important;
  }
  
  .biz-swiper {
    padding: 0; /* Remove internal swiper padding since container now has padding */
  }

  /* #business-impact-editorial {
    background-color: var(--bwm-darker-bg) !important;
    position: relative;
    overflow: hidden;
    background-image: url("../images/mask-group-9.png");
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
  } */
}

@media (min-width: 992px) {
  .biz-featured-left,
  .biz-scroll-container {
    height: 460px;
  }
  
  /* Restore swiper internal padding on desktop */
  .biz-swiper {
    padding: 1rem;
  }
}

/* XXL breakpoint - restore original proportions */
@media (min-width: 1400px) {
  .biz-featured-left {
    min-height: 460px;
  }
  .biz-scroll-container {
    height: 460px;
  }
}

/* Business entity background images */
.biz-rcb {
  background-image: url("../images/bg-rcb.png");
  background-size: cover;
  background-position: center;
}

.biz-rcb::before {
  background-image: url("../images/bg-rcb.png");
}

.biz-lfm {
  background-image: url("../images/bg-lfm.png");
  background-size: cover;
  background-position: center 35%;
}

.biz-lfm::before {
  background-image: url("../images/bg-lfm.png");
  background-position: center 35%;
}

.biz-hfr {
  background-image: url("../images/bg-h365.png");
  background-size: cover;
  background-position: center 25%;
}

.biz-hfr::before {
  background-image: url("../images/bg-h365.png");
  background-position: center 25%;
}

.biz-smp {
  background-image: url("../images/bg-smp.png");
  background-size: cover;
  background-position: center;
}

.biz-smp::before {
  background-image: url("../images/bg-smp.png");
}

.biz-jwm {
  background-image: url("../images/bg-jwm.png");
  background-size: cover;
  background-position: center 15%;
}

.biz-jwm::before {
  background-image: url("../images/bg-jwm.png");
  background-position: center 15%;
}

.biz-eci {
  background-image: url("../images/bg-eci.png");
  background-size: cover;
  background-position: center 40%;
}

.biz-eci::before {
  background-image: url("../images/bg-eci.png");
  background-position: center 40%;
}

.biz-jcb {
  background-image: url("../images/bg-jcs.png");
  background-size: cover;
  background-position: center;
}

.biz-jcb::before {
  background-image: url("../images/bg-jcs.png");
}

.biz-fpp {
  background-image: url("../images/bg-fpp.png");
  background-size: cover;
  background-position: center;
}

.biz-wpp {
  background-image: url("../images/bg-wpp.png");
  background-size: cover;
  background-position: center;
}

.biz-jbs {
  background-image: url("../images/bg-jbs.png");
  background-size: cover;
  background-position: center;
}

/* Common zoom layer for marketplace backgrounds */
.biz-fpp::before,
.biz-wpp::before,
.biz-jbs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 108%;
  background-position: center;
  z-index: 0;
}



/* =============================================== */
/* PARTNERSHIP SECTION STYLES                   */
/* =============================================== */

.partnership-container {
  padding-top: 4em;
  padding-bottom: 4em;
}
#partner {
  background-color: var(--bwm-partnership-bg) !important;
}

/* Partnership image styles */
.partner-fall {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.partner-fall:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* Mobile partnership improvements */
@media (max-width: 991px) {
  .partnership-container {
    padding-top: 2em;
    padding-bottom: 2em;
  }
  
  /* Center and size images better on mobile */
  .partner-fall {
    /* max-width: 280px; */
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  /* Reduce spacing between images on mobile */
  .partnership-images .row {
    gap: 1rem;
  }
}

/* Mobile partnership improvements */
@media (max-width: 786px) {
  /* Center and size images better on mobile */
  .partner-fall {
    /* max-width: 280px; */
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* =============================================== */
/* CONFERENCES SECTION STYLES                   */
/* =============================================== */

#conferences {
  position: relative;
  overflow: visible;
}

#conferences .conference-hero {
  background-image: url(../images/mask-group-4.png);
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(320px, 42vh, 460px);
  height: 60vh;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 2vw, 2rem);
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
          /* padding-bottom: 150px;
          padding-top: 100px; */
}

#conferences .conference-hero .section-overlay {
  z-index: 1;
  background: linear-gradient(180deg,
          rgba(10, 12, 20, 0.78) 0%,
          rgba(10, 12, 20, 0.45) 55%,
          rgba(10, 12, 20, 0.12) 100%);
}

#conferences .conference-hero .container {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.5rem;
  padding-top: clamp(2rem, 3vw, 3rem);
}

#conferences .conference-hero .conference-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

#conferences .conference-hero h1 {
  letter-spacing: 0.02em;
  line-height: 1.08;
}

#conferences .conferences-cards-wrap {
  margin-top: -200px; 
  position: relative; 
  z-index: 10; 
  padding-top: 100px; 
  padding-bottom: 100px;
}
.conferences-cards-wrap .conferences-cards-wrap-inner {
  background-color: transparent !important;
}

#conferences .conference-cards {
  margin-top: -30px;
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 5;
}

#conferences .conference-cards::before {
  content: "";
  position: absolute;
  inset: -60px 0 0;
  background: radial-gradient(60% 60% at 50% 0%,
          rgba(255, 255, 255, 0.4) 0%,
          rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

#conferences .conference-cards .row {
  position: relative;
  z-index: 1;
  row-gap: clamp(1.25rem, 2.5vw, 2rem);
}

#conferences .conference-cards-surface {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

#conferences .conference-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
      0 26px 55px rgba(7, 12, 24, 0.14),
      0 10px 30px rgba(7, 12, 24, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  overflow: hidden;
}

#conferences .conference-card .conference-card-media {
  aspect-ratio: 16 / 10;
  height: 280px;
  margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

#conferences .conference-card .card-logo {
  max-width: 60px; /* Mobile first - smaller logo */
  width: 100%;
  height: auto;
}

/* Responsive logo sizing */
@media (min-width: 576px) {
  #conferences .conference-card .card-logo {
    max-width: 80px; /* Small tablets */
  }
}

@media (min-width: 768px) {
  #conferences .conference-card .card-logo {
    max-width: 100px; /* Tablets */
  }
}

@media (min-width: 992px) {
  #conferences .conference-card .card-logo {
    max-width: 120px; /* Desktop */
  }
}

@media (min-width: 1200px) {
  #conferences .conference-card .card-logo {
    max-width: 150px; /* Large desktop - original size */
  }
}

#conferences .conference-card .conference-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
          rgba(12, 16, 28, 0.08) 0%,
          rgba(12, 16, 28, 0.35) 100%);
  pointer-events: none;
}

#conferences .conference-card .conference-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#conferences .conference-card .card-body {
  padding: 1rem 1.4rem 0.75rem;
  display: flex;
  flex-direction: column;
  height: auto;
  gap: 0;
}

#conferences .conference-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
  min-height: 3.24rem;
}

#conferences .conference-card p {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--bwm-text-secondary) !important;
  margin-bottom: 0.5rem;
}

#conferences .conference-card .btn {
  margin-top: auto;
  font-size: 0.9rem;
  white-space: nowrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Conferences responsive adjustments */
@media (min-width: 992px) {
  #conferences .conference-cards {
    margin-top: -120px;
  }
}

/* =============================================== */
/* GLOBAL PRESENCE SECTION STYLES               */
/* =============================================== */

.global-presence-container {
  padding-top: 4em;
  padding-bottom: 4em;
}
#global-presence {
  background-image: url(../images/mask-group.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Global Presence Cards - Responsive Sizing */
.global-presence-card {
  aspect-ratio: 4/3;
  overflow: hidden;
}

#global-presence .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#global-presence .card:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .global-presence-card {
    aspect-ratio: 3/2;
  }
  
  #global-presence .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  .global-presence-container {
    padding-top: 2em;
    padding-bottom: 2em;
  }
}

@media (max-width: 576px) {
  .global-presence-card {
    aspect-ratio: 1/1;
  }
}

/* =============================================== */
/* FOOTER STYLES                                 */
/* =============================================== */

.footer-container {
  padding-top: 4em;
  padding-bottom: 4em;
}

.footer-container .blockquote {
  font-size: 2.5rem; 
  line-height: 1.4;
}

/* =============================================== */
/* MEDIA QUERIES                                 */
/* =============================================== */
































