.mt-custom {
    background-color: var(--background-primary);
    margin-top: 11rem; 
    width: 100%;
    height: 31.2rem;
}

.section-title {
    margin-top: 12rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);;
    text-align: left;
    margin-left: 2rem;
}

.section-title2 {
    margin-top: 3;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);;
    text-align: left;
}

.section-title1 {
  font-size: 4rem;
  font-weight: bold;
  color: var(--text-primary);;
  margin-bottom: 1rem;
  text-align: left;
}

.section-title1 .highlight {
    font-size: 4rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);;
}

.font-semibold {
    font-weight: 600;
}

/* Features Section */
.features-icons {
    background-color: #f8f9fa;
}

.img-custom1 {
    height: 24rem !important;
    width: 50rem !important;
    margin-left: -0.5rem;
    margin-top: 4rem;
    max-width: 118% !important;
}

/* Images */
.img-custom {
    height: auto;
    height: 24rem !important;
    max-width: 116% !important;
    width: 50rem;
    margin-top: -3rem;
}

.img-custom2 {
    height: auto;
    height: 24rem !important;
    width: 50rem !important;
    margin-left: -6.8rem;
    margin-top: 2rem;
    max-width: 118% !important;
}

.card {
    border: 1px solid #000 !important;
    border-radius: 8px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    height: 100% !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-img-custom {
    width: 150px !important;
    height: auto;
    margin: 10px auto;
}

.card-title {
    font-weight: bold;
}

.card-body1 {
    display: block; 
    margin-top: -1.5rem !important;
}

.card-body2 {
    margin-top: -2rem !important; 
    display: block !important;
}

.card-body3{
    margin-top: -2rem !important; 
    display: block !important;
}

/* Lists */
.custom-list {
    padding-left: 1.5rem;
}

.custom-list li {
    margin-bottom: 0.5rem;
    list-style-type: none;
}

.compromise p{
   margin-bottom: 0rem !important;
}

/*.green-riso{
     margin-right: 6rem; 
}*/

.certificacion p {
    margin-left: 1rem;
    margin-right: 1.1rem;
}

.certif{
   margin-bottom: 2rem;
}

.lead-compromise {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: left;
  margin-left: 2rem;
}

.lead-compromise1 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2.3rem;
    text-align: justify;
    line-height: 1.6;
    color: var(--text-primary);
    margin-left: 1.1rem;
    margin-right: 3rem;
}

.img-fluid-custom {
  border-radius: 8px;
  margin-right: auto !important;
  margin-left: auto !important;
  display: block !important;
  box-sizing: border-box;
  max-width: 100%;
  height: 25rem;
}

.img-fluid-custom2 {
    border-radius: 8px;
    margin-right: auto !important;
    margin-left: auto !important;
    display: block !important;
    box-sizing: border-box;
    max-width: 100%;
    height: 10rem;
    margin-bottom: 1rem;
  }

.container-riso {
  padding-top: 1rem !important;
  padding-bottom: 3rem !important;
  margin-left: 12rem;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  max-width: 1320px;
  box-sizing: border-box;
}

.container-contact{
    padding-right: 3rem !important;
    padding-left: 3rem !important;
    margin-right: auto;
    margin-left: auto;
    max-width: 80%;
    box-sizing: border-box;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    color: var(--text-primary);
    line-height: var(--bs-body-line-height);
}

.container-contact-row{
    justify-content: center !important;
    --bs-gutter-x: 3rem;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.container-contact-row p{
  margin-bottom: .5rem !important;
  margin-top: 0;
  box-sizing: border-box;
  text-align: left;
}

.mailto{
    color: var(--text-red);
}

.about-section {
    margin-top: 11rem;
    text-align: center !important;
    box-sizing: border-box;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

.about-section h2 {
    text-align: left; 
    font-weight: bold;
    margin-bottom: 1.5rem !important;
}

.img-about {
    border-radius: 2px;
    height: auto;
    width: 60rem !important;
    margin-left: 5rem;
}

.about-section p {
    text-align: left;
    font-size: 16px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
  
  .container-about{
    padding: 50px 0 !important;
    margin-right: auto;
    margin-left: auto;
    max-width: 80%;
    box-sizing: border-box;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    color: var(--text-primary);
    line-height: var(--bs-body-line-height);
  }
  
  .mission-vision{
      display: flex; 
      justify-content: center; 
      gap: 30px;
      flex-wrap: wrap;
  }
  
  .mission-vision-card{
      background-color: var(--background-primary);
      padding: 20px; 
      border-radius: 8px; 
      box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
      width: 18rem; 
      height: 20rem; 
      display: flex; 
      flex-direction: column; 
      justify-content: flex-start;
  }
  
  .mission-vision-card h3{
    color: var(--text-primary);
    text-align: left;
    font-weight: bold;
  }
  
  .mission-vision-card p{
      color: var(--text-primary);
      text-align: left;
  }

.visit-header {
    background-color: var(--background-primary);
    padding: 50px 0;
    text-align: center;
    margin-top: 11rem;
}

.visit-header h1 {
    color: var(--text-red);
    font-weight : bold;
}

.visit-header p{
    color: var(--text-primary);;
}

.map-section{
    padding: 50px 0;
    background-color: #DCDDDE;
}

.container-map {
    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

.container-map h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.container-map p {
    color: var(--text-secondary);
    font-weight: 600;
}

.map-container iframe{
    border:0;
    width: 40rem;
    height: 28rem;
}

.visit-gallery {
    background-color: #ffffff;
    padding: 7rem 0;
}

.container-gallery {
    display: -webkit-inline-box;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 0.1rem;
}

.gallery-row{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-item {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 45%;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.3s ease;
    /* border-radius: 8px;  */
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
}

.gallery-item img:hover {
    transform: scale(1.05) translateY(-5px);
}

.gallery-item p{
    color: var(--text-primary);
    margin-top: 1rem; 
    font-weight : bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mt-custom {
        margin: auto;
        width: 100%;
        height: auto;
    }

    .img-custom1,
    .img-custom,
    .img-custom2 {
        position: unset;
        display: block;
        width: 100% !important;
        height: auto !important;
        margin: auto;
    }

    .section-title1 {
        font-size: 1.75rem;
    }

    .section-title1 .highlight {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }
}
