.about-box
{
  background-image: linear-gradient(rgba(195, 28, 47, 0.65), rgba(195, 28, 47, 0.65)), url(../img/aboutSMBackground.png);
  background-position: left;
  background-size: cover;
  padding: 150px 40px;
  min-height: 300px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  color: white;
}

.about-box h1
{
  margin-top: 0;
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.about-box p
{
  font-size: 1rem;
  line-height: 1.7;
}

.about-section
{
  padding: 40px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.about-section-content
{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.about-section-text
{
  flex: 1;
  font-family: Arial;
  color:black
}

.about-section-image
{
  overflow: hidden;
  border-radius: 10px;
  width: 300px;
  height: 400px;
  flex-shrink: 0;
}

.about-section-image img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.about-section-image img:hover
{
  transform: scale(1.12);
}

.about-section h2
{
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  margin-top: 0;
  color:black
}

.about-section p
{
  font-size: 1rem;
  line-height: 1.7;
  color:#6F6E72;
}

.ourValues-section
{
  padding: 60px 40px;
  background: linear-gradient(135deg, #dedede, #f0f0f0, #d2d2d2);
}

.ourValues-header
{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: black;
  text-align: center;
  margin-bottom: 20px;
}

.ourValues-description
{
  text-align: center;
  font-size: 1rem;
  color: #6F6E72;
  margin-top: 8px;
  margin-bottom: 70px;
  font-family: Arial;
}

.ourValues-grid
{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ourValues-card
{
  background: white;
  border-radius: 10px;
  padding: 32px 24px;
  width: 200px;
  box-shadow: 0 2px 12px rgb(195, 28, 47);
  text-align: center;
  border-top: 4px solid rgb(195, 28, 47);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ourValues-card:hover,
.ourValues-card.fade-in-left.visible:hover,
.ourValues-card.done:hover
{
  transform: translateX(0) translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.ourValues-card h3
{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(195, 28, 47);
  margin-top: 12px;
  margin-bottom: 12px;
}

.ourValues-card p
{
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6F6E72;
  margin: 0;
  font-family: Arial;
}

.ourValues-card img
{
  border-radius: 50%;
  border: 3px solid rgb(195, 28, 47);
  object-fit: cover;
  margin-bottom: 16px;
}

.fade-in-left
{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
  overflow-anchor: none;
}

.fade-in-left.visible
{
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left.done
{
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transition-delay: 0s !important;
}

.ourValues-grid .ourValues-card:nth-child(2) { transition-delay: 0.15s; }
.ourValues-grid .ourValues-card:nth-child(3) { transition-delay: 0.3s; }
.ourValues-grid .ourValues-card:nth-child(4) { transition-delay: 0.45s; }

@media (max-width: 768px)
{
  .about-section-content
  {
    flex-direction: column;
    align-items: center;
  }

  .about-section-image img
  {
    width: 100%;
  }
}
