.hero-services {
  background: url('../img/uberuns/0.png') no-repeat center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: whitesmoke;
  position: relative;
  padding: 20px;
}

.hero-services h1 {
  color: whitesmoke;
  font-size: 3rem;
}

.hero-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-services-content {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: #1B2021;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Layout Containers */
.core-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
}

/* Services Box */
.services-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  padding: 10px;
  gap: 20px;
}

.who-are-we {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  gap: 10px;
}

/* Ensure Text Takes Available Space */
.box-content {
  flex: 1;
  max-width: 600px;
}

.text-box {
  padding: 15px;
  margin-bottom: 10px;
}

/* Image Styling - Positioned on the Right */
.services-box img {
  max-width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

/* Team Section */
.our-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: whitesmoke;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border-radius: 5px;
}

.team-member img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 50%;
}

.team-member h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #1B2021;
}

.team-member p {
  font-size: 1rem;
  color: #30343F;
  margin: 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-box {
    flex-direction: column;
    text-align: center;
  }

  .box-content {
    max-width: 100%;
  }

  .services-box img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  .team-member {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .services-box img {
    display: none !important;
  }
}

/* Accountant Section */
.accountant-section {
  margin: 40px 0;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.language-toggle {
  margin-top: 15px;
}

.lang-btn {
  background: #1B2021;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #30343F;
  transform: translateY(-2px);
}

.accountant-card {
  background: whitesmoke;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accountant-top-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
}

.accountant-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #1B2021;
  flex-shrink: 0;
}

.accountant-content {
  flex: 1;
  text-align: left;
}

.accountant-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 200px;
  text-align: left;
}

.accountant-name {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1B2021;
  font-family: 'Playfair Display', serif;
  text-align: left;
}

.accountant-title {
  font-size: 1.2rem;
  color: #30343F;
  margin-bottom: 15px;
  font-style: italic;
  text-align: left;
}

.accountant-description {
  text-align: left;
  line-height: 1.6;
}

.accountant-description p {
  margin-bottom: 15px;
  color: #30343F;
}

.accountant-description h5 {
  font-size: 1.3rem;
  color: #1B2021;
  margin: 20px 0 15px 0;
  font-family: 'Playfair Display', serif;
}

.accountant-description ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.accountant-description li {
  margin-bottom: 10px;
  color: #30343F;
}

.accountant-cta {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #1B2021;
  font-weight: 500;
}

/* Responsive adjustments for accountant section */
@media (max-width: 768px) {
  .accountant-card {
    padding: 20px;
  }

  .accountant-top-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .accountant-card img {
    width: 150px;
    height: 150px;
  }

  .accountant-header {
    height: auto;
    text-align: center;
  }

  .accountant-name {
    font-size: 1.5rem;
    text-align: center;
  }

  .accountant-title {
    font-size: 1rem;
    text-align: center;
  }

  .accountant-description {
    text-align: left;
  }
}