.a4-page {
  width: 210mm;
  height: 297mm;
  padding: 20mm;
  background: #fff;
  margin: 0 auto;
  box-shadow: 0 0 5px #00000022;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Top Images 20% */
.top-images {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.top-images img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

/* Dividers */
.divider-large {
  flex: 0 0 1%;
  background: black;
  height: 3px; /* thickness */
  margin-left: -20mm; /* cancel left padding */
  margin-right: -20mm; /* cancel right padding */
  width: calc(100% + 40mm);
}
.divider-small {
  flex: 0 0 0.3%;
  background: black;
  margin-left: -20mm; /* cancel left padding */
  margin-right: -20mm; /* cancel right padding */
  width: calc(100% + 40mm);
}

/* Logo  */
.logo-section {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-section img {
  width: 160px;
}

/* Address Boxes */
.address-section {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 5rem;
}

.address-box {
  flex: 1;
  border: 1px solid black;
  padding: 20px;
  min-height: 80px;
  position: relative;
}

.left-box {
  margin-right: 10px;
}
.right-box {
  margin-left: 10px;
}

.address-box h3 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.3rem 0.8rem;
  font-size: 15px;
  background: black;
  color: white;
  font-family: "Lora", serif;
}
.address-box p {
  position: absolute;
  top: 40px;
  left: 25px;
  font-size: 18px;
  font-family: "Lora", serif;
}

.address-details p {
  position: static !important;
}

.address-details {
  display: flex;
  gap: 40px;
  margin-top: 1.5rem;
}

.address-left p {
  font-size: 18px;
  margin: 4px 0;
}
.address-right p {
  font-size: 18px;
  margin: 4px 0;
  margin-left: 4rem;
}

/* Remaining space (fills rest of 57%) */
.remaining-section {
  flex: 1;
  background: transparent;
}
