/* Custom Styles for Welhire */

/* Container Styles */
.container_a {
  display: flex;
  gap: 40px;
  /* max-width: 1200px; */
  margin: 60px auto;
  /* padding: 0 20px; */
  align-items: flex-start;
}

/* Left Navigation Sidebar */
.side_pane {
  flex: 0 0 220px;
  padding: 20px;
  background: #fff;
  border-right: 1px solid #eee;
  height: calc(60vh - 60px);
  position: sticky;
  top: 160px;                  
  overflow-y: auto;
}

.side_pane a {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  color: #d1d1d1 !important;
  font-size: 0.95rem;
  position: relative;
  cursor: pointer;
}


/* Blurred line by default */
.side_pane a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 0;
  border-bottom: 1px dashed rgba(12, 12, 12, 0.3);
  background: none;
  transition: all 0.3s ease;
  border-bottom-width: 1px;
}

/* Active state: replace blurred line with dotted */
.side_pane a.active {
  color: #000 !important;
}

/* Remove the blur and add dotted line when active */
.side_pane a.active::after {
  background: none;
  border-bottom: 1px dotted #000;
  bottom: -8px;
  height: 0;
}

/* Hover styling */
.side_pane a:hover {
  color: #000;
}

/* Right layout */
.right_wrapper {
  display: flex;
  flex: 1;
  gap: 40px;
}

.rocket_img {
  flex: 0 0 320px;
}

.rocket_img img {
  width: 100%;
  height: auto;
  display: block;
  position: sticky;
  top: 200px;   
  margin-bottom: 170px;               
}

.left_pane {
  flex: 1;
}

/* Body content sections */
.body_section {
 background: #f5f5f5;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    /* max-width: 550px; */
    line-height: 2;
    font-size: 14px;
    margin-bottom: 1.5rem;
    scroll-margin-top: 100px;
}

.body_section h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.body_section p {
  font-size: 0.8rem;
  color: #000;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.body_section ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem 0;
  font-size: 0.8rem;
  color: #000;
}

.body_section ol li {
  padding: 0.3rem 0;
  border-bottom: 1px dotted #999;
  color: #000;
  font-size: 14px;
  margin-bottom: 0.3rem;
}

.body_section ul {
  margin-left: 1rem;
  color: #000;
  margin-bottom: 0.75rem;
  font-size: 14px;
}

.body_section ul li {
  margin-bottom: 0.3rem;
}

.body_section a {
  display: inline-block;
  margin-top: 0.8rem;
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Utility */
.section-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.value-section {
  background: #fff;
  padding: 4rem 1rem;
  font-family: 'Arial', sans-serif;
}

.value-section .section-title {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #0a2145;
}

.value-grid {
  display: flex;
  justify-content: space-between; 
  align-items: stretch;
  gap: 1.5rem; 
  flex-wrap: nowrap; 
}

.value-box {
  flex: 1;
  min-width: 200px;
  background: #f3f3f3;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}


.value-box:hover {
  box-shadow: 0 6px 18px rgb(145 145 145 / 12%);
    transform: translateY(-4px);
    background: #fff;
}

.value-box .icon {
  font-size: 40px;
  color: #0060d9;
  margin-bottom: 1rem;
}

.value-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a2145;
  margin-bottom: 0.75rem;
}

.value-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
/* ===================== Responsive Design ===================== */

/* Tablet and below (<= 1024px) */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  .side_pane {
    flex: 0 0 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
    position: relative;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .right_wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .rocket_img {
    flex: 0 0 auto;
    text-align: center;
  }

  .rocket_img img {
    max-width: 260px;
    margin: 0 auto;
  }

  .value-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .value-box {
    flex: 1 1 calc(50% - 1rem); 
    min-width: 240px;
  }
}

/* Mobile (<= 600px) */
@media (max-width: 600px) {
  .value-grid {
    flex-direction: column;
    align-items: center;
  }

  

    .side_pane {
        flex: 0 0 100% !important;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        position: relative;
        top: 0;
        display: ruby;
        flex-wrap: wrap;
        gap: 50px;
        /* width: 100%; */
        white-space: nowrap;
    }

    .side_pane a  { margin-right: 30px !important;}


  .value-box {
    flex: 1 1 100%; 
    max-width: 100%;
  }

  .body_section {
    max-width: 100%;
    font-size: 0.85rem;
    padding: 1rem;
  }

  .body_section h2 {
    font-size: 1.2rem;
  }

  .side_pane {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
}
