/* Exact inline styles from template - Volvo fonts, cards, sections */

.video-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
}
.text-box {
  position: absolute;
  width: 40%;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  max-width: 70%;
}
.text-box h2 { font-size: 20px; margin: 0 0 10px 0; color: #fff; }
.text-box p { font-size: 16px; margin: 0; }

@font-face {
  font-family: 'VolvoBroad';
  src: url('../fonts/VolvoBroadProDigital.woff2') format('woff2'),
       url('../fonts/VolvoBroadProDigital.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'VolvoNovum';
  src: url('../fonts/VolvoNovum-Regular.woff2') format('woff2'),
       url('../fonts/VolvoNovum-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 { font-family: 'VolvoBroad', sans-serif !important; }
p { font-family: 'VolvoNovum', 'Helvetica', 'Arial', sans-serif !important; }
span { font-family: 'VolvoNovum', 'Helvetica', 'Arial', sans-serif !important; }
a { font-family: 'VolvoNovum', 'Helvetica', 'Arial', sans-serif !important; }
ul { font-family: 'VolvoNovum', 'Helvetica', 'Arial', sans-serif !important; }
em { font-family: 'VolvoNovum', 'Helvetica', 'Arial', sans-serif !important; }

.card-link { text-decoration: none; color: inherit; }
.custom-card {
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fafafa;
}
.custom-card:hover {
  background-color: #efefef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card-image-wrapper { width: 100%; height: 180px; overflow: hidden; }
.card-img-top { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body {
  background-color: #fafafa;
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.card-title { font-size: 18px; margin-bottom: 8px; }
.card-text { font-size: 14px; color: #444; margin-bottom: 0; }
.card-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.card-image-wrapper:hover img {
  transform: scale(1.2);
  transform-origin: center center;
}

@media (max-width: 767.98px) {
  #section-begin .col-md-6 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 20px;
  }
  #section-begin .heading-main { font-size: 56px !important; letter-spacing: 4px !important; }
  #section-begin .heading-sub { font-size: 24px !important; letter-spacing: 1px !important; }
  #section-begin .heading-col { margin-top: -100px !important; }
}
.team-image { text-align: center; }
.team-image img { max-width: 40%; height: auto; display: inline-block; }
@media (max-width: 767px) {
  .hide-on-mobile { display: none !important; }
}
.health-text { padding: 40px; }
@media (min-width: 992px) {
  .health-text { padding: 120px; }
}
