/* ==============================
   HEADER
   ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: blue;
  background-image: url('topbackground1.jpg'); /* Header background */
  background-size: cover;       /* Scale image to cover header */
  background-position: center;  /* Center the image */
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-left: 20px;
  padding-bottom: 15px;
  box-sizing: border-box;
  border-bottom: 2px solid skyblue;
  z-index: 10;
}

/* COMPANY NAME IN HEADER */
.company-name {
  color: white;
  font-weight: bold;
  font-size: clamp(14px, 2.5vw, 32px); /* Responsive font */
  padding-left: 20px;
  white-space: nowrap;
}

/* COMPANY LOGO */
.logo-header {
  position: absolute;
  top: 35px;
  right: 250px;
  width: clamp(80px, 15vw, 200px); /* Responsive width */
  height: auto;
  z-index: 30;
  background-color: black;
}

/* ==============================
   RIGHT PANEL
   ============================== */
.right {
  position: fixed;
  top: 150px;
  right: 0;
  width: 30%;
  height: calc(100vh - 150px);   /* Full height minus header */
  background-image: url('right_background1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-left: 2px solid skyblue;
  border-bottom: 2px solid black;
  box-sizing: border-box;
  padding: 20px;
  overflow-y: auto;

  /* Flex layout for contact box */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertical center */
  align-items: flex-start; /* Left align */
}

/* CONTACT BOX INSIDE RIGHT PANEL */
.contact-box-r {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 180px;
  box-sizing: border-box;
}

/* CONTACT BOX TITLE */
.contact-box-r h2 {
  margin: 0 0 15px 0;
  font-size: 40px;
  font-weight: bold;
  color: blue;
}

/* CONTACT ITEM LINES */
.contact-item-r {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  margin-left: 10px;
  font-weight: bold;
  color: blue;
}

/* INDENTED SECOND LINE */
.indent-r {
  margin-left: 28px;
}

/* CONTACT ICONS */
.icon-r {
  height: clamp(18px, 3vw, 30px);
  width: auto;
  margin-right: 18px;
  margin-bottom: 8px;
  background-color: transparent;
}

.email-text {
    text-decoration: underline;
    color: blue; /* optional to match your design */
}

/* ==============================
   LEFT PANEL
   ============================== */
.left {
  position: fixed;
  top: 150px; 
  left: 0;
  width: 70%;
  height: calc(100vh - 150px);
  background-color: white;
  border-bottom: 2px solid black;
  box-sizing: border-box;
  padding: 20px;
  overflow-y: auto;
}

/* LEFT CONTENT CONTAINER */
.container-l {
  padding: 10px;
  margin-top: 10px;
}

/* LEFT PANEL TITLE */
.left-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: black;
}

/* SPECIALIST ITEM LINES */
.item-l {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  margin-left: 40px;  /* Space from left edge */
  font-size: 16px;
  line-height: 20px;
}

/* ICON NEXT TO LEFT PANEL TEXT */
.icon-l {
  height: 18px;
  width: auto;
  margin-right: 10px;
  margin-top: 2px;
  background-color: transparent;
}

/* JOB IMAGE GRID */
.job-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, 200px); /* 5 columns, each 200px */
  grid-template-rows: repeat(2, 200px);    /* 2 rows, each 200px */
  gap: 30px;
  justify-content: center;                  /* Center the grid in container */
}

/* JOB IMAGES */
.job-img {
  width: 100%;          /* Fill grid cell */
  aspect-ratio: 1 / 1;
  object-fit: cover;    /* Crop image if needed */
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* ==============================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================== */
@media screen and (max-width: 768px) {

  /* LEFT PANEL */
  .left {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 100px;
    border-left: none;
    border-bottom: 2px solid black;
    padding: 10px;
  }

  /* LEFT CONTENT */
  .container-l {
    padding: 5px;
    margin-top: 10px;
  }

  .left-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .item-l {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 8px;
  }

  .icon-l {
    height: 16px;
    margin-right: 6px;
    margin-top: 2px;
  }

  /* JOB GRID ON MOBILE */
  .job-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 8px;
  }

  .job-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  /* RIGHT PANEL */
  .right {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 300px;
    border-left: none;
    border-bottom: 2px solid black;
    padding: 10px;

    /* Background adjustments */
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;

    /* Flex adjustments */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  /* CONTACT BOX ADJUSTMENTS */
  .contact-box-r {
    margin: 0 auto 10px auto;
    width: 95%;
    padding: 10px;
  }

  .contact-box-r h2 {
    font-size: 28px;
  }

  .contact-item-r {
    font-size: 14px;
  }

  .icon-r {
    height: 20px;
    margin-right: 6px;
  }

  /* LOGO ADJUSTMENTS */
  .logo-header {
    position: relative;
    top: 0;
    right: 0;
    display: block;
    margin: 0 auto 10px auto;
    width: clamp(60px, 25vw, 150px);
    height: auto;
  }
 /* MOBILE ADJUSTMENTS */
 .left, .right {
   margin-top: 150px;      /* avoid overlapping with fixed header */
 }
}


