.banner {
  position: relative;
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-40%, -40%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 24, 33, 0.5); /* tono oscuro semitransparente */
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: white; /* cambia a blanco para mejor contraste */
  display: flex;
  justify-content: space-between;
}

/* About section */
.about {
    margin: 30px 0;
}

.about-content {
    display: flex;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.about-image-placeholder {
    flex: 1;
    min-height: 300px;   
}
.about-image-placeholder img {
    width: 100%;
    display: block;
}


.about-text {
    flex: 1;
    padding: 30px;
}

/* Values section */
.values {
    margin: 30px 0;
}

.values-content {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.values-text {
    flex: 1;
    padding: 30px;
}

.values-image-placeholder {
    flex: 1;
    min-height: 300px;
    background-color: #f0f0f0;
}
.values-image-placeholder img {
    width: 100%;
    display: block;
}

/* Practice areas section */
.practice-areas {
    margin: 30px 0;
    padding: 30px 0;
    text-align: center;
    background-color: white;
}
/* .practice-areas h2{
    padding-top: 20px;
} */

.practice-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.practice-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.practice-image-placeholder { 
    height: 180px;
    background-color: #f0f0f0;
    overflow: hidden
}
.practice-image-placeholder img{
    width: 100%;
   
}

.practice-card-content {
    padding: 20px;
}

/* News section */
.news {
    margin: 30px 0;
    text-align: center;
}

.news-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.news-image-placeholder {
    height: 180px;
    background-color: #f0f0f0;
    overflow: hidden
}

.news-card-content {
    padding: 20px;
}

.news-image-placeholder img{
    width: 100%;  
}

.news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

