.u-section-1 .u-sheet-1 {
  min-height: 588px;
}

.u-section-1 .u-tabs-1 {
  min-height: 480px;
  height: auto;
  margin: 60px auto 60px 0;
}

.u-section-1 .u-tab-link-1 {
  font-size: 1.25rem;
  background-image: none;
  font-weight: 600;
  padding: 10px 25px;
}

.u-section-1 .u-tab-link-2 {
  font-size: 1.25rem;
  background-image: none;
  font-weight: 600;
  padding: 10px 25px;
}

.u-section-1 .u-tab-link-3 {
  font-size: 1.25rem;
  background-image: none;
  font-weight: 600;
  padding: 10px 25px;
}

.u-section-1 .u-tab-pane-1 {
  background-image: none;
}

.u-section-1 .u-container-layout-1 {
  padding: 30px;
}

.u-section-1 .u-image-1 {
  width: 420px;
  height: 367px;
  margin: 0 auto 0 0;
}

.u-section-1 .u-text-1 {
  margin: -367px 0 0 522px;
}

.u-section-1 .u-text-2 {
  margin: 23px 0 0 522px;
}

.u-section-1 .u-text-3 {
  line-height: 1.8;
  margin: 27px 0 0 522px;
}

.u-section-1 .u-tab-pane-2 {
  background-image: none;
}

.u-section-1 .u-container-layout-2 {
  padding: 30px;
}

.u-section-1 .u-text-4 {
  line-height: 1.8;
  margin: 0;
}

.u-section-1 .u-tab-pane-3 {
  background-image: none;
}

.u-section-1 .u-container-layout-3 {
  padding: 30px;
}

.u-section-1 .u-text-5 {
  margin: 0 auto 0 0;
}

.u-section-1 .u-text-6 {
  margin: 31px auto 0 0;
}

.u-section-1 .u-btn-1 {
  border-style: solid;
  text-transform: uppercase;
  margin: 31px auto 0 0;
}

@media (max-width: 1199px) {
  .u-section-1 .u-tabs-1 {
    margin-right: initial;
    margin-left: initial;
  }

  .u-section-1 .u-text-1 {
    width: auto;
    margin-left: 451px;
  }

  .u-section-1 .u-text-2 {
    width: auto;
    margin-left: 451px;
  }

  .u-section-1 .u-text-3 {
    width: auto;
    margin-left: 451px;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-image-1 {
    width: 303px;
    height: 377px;
  }

  .u-section-1 .u-text-1 {
    margin-top: -377px;
    margin-left: 330px;
  }

  .u-section-1 .u-text-2 {
    margin-left: 330px;
  }

  .u-section-1 .u-text-3 {
    margin-left: 330px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-container-layout-1 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-1 .u-image-1 {
    width: 178px;
    height: 178px;
  }

  .u-section-1 .u-text-1 {
    margin-top: -177px;
    margin-left: 190px;
  }

  .u-section-1 .u-text-2 {
    margin-left: 190px;
  }

  .u-section-1 .u-text-3 {
    margin-left: 190px;
  }

  .u-section-1 .u-container-layout-2 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-1 .u-container-layout-3 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-tabs-1 {
    min-height: 763px;
    margin-right: initial;
    margin-left: initial;
  }

  .u-section-1 .u-image-1 {
    height: 226px;
    margin-right: initial;
    margin-left: initial;
    width: auto;
  }

  .u-section-1 .u-text-1 {
    margin-top: 14px;
    margin-left: 0;
  }

  .u-section-1 .u-text-2 {
    margin-top: 17px;
    margin-left: 0;
  }

  .u-section-1 .u-text-3 {
    margin-top: 14px;
    margin-left: 0;
  }
}

/* 1. Header Background Gradient and Stacking */
#sec-a493 {
    background: linear-gradient(to right,  white 20%,  #003247 70%, #003247 100%) !important;
}

#sec-a493 .u-sheet-1 {
    padding-top: 0px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}



/* MENU goes in the center - LEFT of ESA */
.u-menu-1 {
    order: 2;
    margin-right: 20px !important;
    margin-top: 100px !important;   /* <-- add this */
    width: auto !important;
    float: none !important;
}

/* ESA BIC Logo stays RIGHT */
.u-image-2 {
    order: 3;
    float: none !important;
    margin-top: -20px !important; /* adjust this number later */
    height: 105px !important;
    width: auto !important;
}

.u-image-2 img {
    height: 105px !important;
    width: auto !important;
}

/* Ensure the ESA BIC logo is responsive and its height adjusts automatically */
#sec-a493 .u-image-2 {
    /* Base size: Set a percentage of the container's width, which makes it dynamic */
    width: 25%; 
    height: auto; /* Ensures aspect ratio is maintained as width changes */
    max-width: 200px; /* Optional: Sets a maximum size for very large screens */
}

/* For the actual image tag inside the link, ensure it also respects the container's size */
#sec-a493 .u-image-2 img {
    width: 100%;
    height: auto;
}

/* FORCEFUL FIX: Making the ESA BIC logo (#sec-a493 .u-image-2) dynamic */

/* 1. Target the image container/wrapper element */
#sec-a493 .u-image-2 {
    /* Set a responsive width and enforce scaling */
    width: 20% !important; 
    height: auto !important;
    /* Control maximum size on large screens */
    max-width: 300px !important; 
    /* Center it (if needed for responsiveness) */
    margin: 10px auto !important;
    /* Ensure no conflicting absolute positioning */
    position: relative !important; 
}

/* 2. Target the actual <img> tag inside the wrapper */
#sec-a493 .u-image-2 img {
    /* Force the image to fill the responsive container's size */
    width: 120% !important; 
    height: auto !important;
    /* Remove any fixed size constraints on the image element */
    max-width: none !important;
    max-height: none !important; 
}

/* 3. Force responsiveness adjustments for different screen sizes (Media Queries) */
/* For tablets/smaller screens */
@media (max-width: 991px) {
    #sec-a493 .u-image-2 {
        width: 30% !important; 
    }
}

/* For phones/very small screens */
@media (max-width: 767px) {
    #sec-a493 .u-image-2 {
        width: 40% !important;
        /* Increase margin if the logo needs more space on smaller screens */
        margin-top: 10px !important; 
    }
}