.header {
  background: #172443;
  color: white;
  padding: 40px 0;
  text-align: center;
  display: flex;
  height: 25vh;
  margin: 5pc 0px 0px 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
}

.header h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
  font-size: 56px;
  color: #fff;
}


.publishing-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.publishing-card {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;

}

/* Alternate layout */
.publishing-card.reverse {
  flex-direction: row-reverse;
}

/* Image */
.publishing-card img {
  width: 50%;
  border-radius: 20px;
  height: auto;
  object-fit: cover;
  display: block;
}

.headingdiv {
  width: 50%;
  padding: 0px 0px 0px 10px;
  border-left: 6px solid #cb982b;

}

.headingdiv h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.8rem;
  color: #172443;
  margin: 0 0 10px;
  font-weight: 600;
}

.headingdiv h2 span {
  font-style: oblique;
  display: block;
  color: #cb982b;
  font-weight: 500;
}


.publishing-content {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
  position: relative;
  background: #ffffff;
  border: 2px dotted #000000ff;
  margin: 5pc 00px 0px -5pc;
  width: 80%;
  height: fit-content;
}

.publishing-card:hover .publishing-content {
  transform: translateY(-10px);
  box-shadow: -18px 20px 20px 0px rgba(0, 0, 0, 0.15);

}

/* .publishing-content h2 {
        font-size: 1.4rem;
        color: #222;
        margin: 0 0 10px;
        font-weight: 600;
    }

    .publishing-content h2 span {
        display: block;
        color: #e6791d;
        font-weight: 500;
    } */

.publishing-content p {
  font-size: 19px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.publishing-section1 {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}


.headingdiv1 {
  width: 50%;
  margin: 0px -1.5pc -20px 0px;
  padding: 0px 0px 0px 10px;
  border-left: 6px solid #cb982b;

}

.headingdiv1 h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.8rem;
  color: #020f50;
  margin: 0 0 10px;
  font-weight: 600;
}

.headingdiv1 h2 span {
  font-style: oblique;
  display: block;
  color: #cb982b;
  font-weight: 500;
}

.publishing-content1 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
  position: relative;
  background: #ffffff;
  border: 2px dotted #000000ff;
  margin: 5pc -5pc 0px 5pc;
  width: 80%;
  height: fit-content;
}

.publishing-card:hover .publishing-content1 {
  transform: translateY(-10px);
  box-shadow: -18px 20px 20px 0px rgba(0, 0, 0, 0.15);

}

/* .publishing-content1 h2 {
        font-size: 1.4rem;
        color: #222;
        margin: 0 0 10px;
        font-weight: 600;
    }

    .publishing-content1 h2 span {
        display: block;
        color: #cb982b;
        font-weight: 500;
    } */

.publishing-content1 p {
  font-size: 19px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.publishing-content2 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
  position: relative;
  background: #ffffffff;
  border: 2px dotted #000000ff;
  margin: 3pc 00px 0px -5pc;
  width: 80%;
  height: fit-content;
}

.publishing-card:hover .publishing-content2 {
  transform: translateY(-10px);
  box-shadow: -18px 20px 20px 0px rgba(0, 0, 0, 0.15);

}

/* .publishing-content2 h2 {
        font-size: 1.4rem;
        color: #222;
        margin: 0 0 10px;
        font-weight: 600;
    }

    .publishing-content2 h2 span {
        display: block;
        color: #cb982b;
        font-weight: 500;
    } */

.publishing-content2 p {
  font-size: 19px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .publishing-section {
    gap: 30px;
  }

  .publishing-card {
    width: 90%;
  }
}

.content {
  margin: 10pc 0px 10pc 0px;
  display: flex;
  align-items: center;
  width: 100%;
  height: 500px;
  background-color: #121f3e;
  /* padding: 30px; */
  gap: 0rem 30rem;
  flex-wrap: wrap;

}

.text-section {
  color: #fff;
  max-width: 40%;
  text-align: left;
  margin-right: 30px;
}

.text-section h1 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 600;
  padding-left: 10px;
  border-left: 8px solid #b08435;
}

.text-section h1 strong {
  color: #b08435;
  /* Golden Yellow */
}

.text-section p {

  font-size: 1rem;
  margin-bottom: 30px;
}

.btn12 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  padding: 12px 30px;
  font-size: 1rem;
  background-color: #b08435;
  /* Golden Yellow */
  color: #121f3e;
  /* Dark Purple */
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn12:hover {
  background-color: #cb982b;
  /* Hover effect for button */
}

.image-section {
  max-width: 40%;
  position: relative;
  margin-left: 20pc;
}

.image-section img {
  width: 100%;
  border-radius: 10px;
  /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); */
}


/* ==========================================================
   🌍 RESPONSIVE DESIGN — Covers 300px up to 1440px
   ========================================================== */

/* ============================================
   📱 Extra Small Devices (Mobile Portrait)
   Range: 300px - 480px
   ============================================ */
@media (min-width: 300px) and (max-width: 480px) {
  .header {
    flex-direction: column;
    height: auto;
    /* padding: 20px;
    margin: 20px 0 0 0; */
  }

  .header h1 {
    font-size: 22px;
  }

  .content {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 20px 0px;
  }

  .text-section {
    max-width: 100%;
    text-align: center;
  }

  .text-section h1 {
    font-size: 1.8rem;
    border-left: none;
    padding-left: 0;
  }

  .text-section p {
    font-size: 0.9rem;
  }

  .image-section {
    max-width: 100%;
    margin: 0;
  }

  .image-section img {
    width: 50%;
    margin: 0px 0px 0px 4pc;
  }

  .publishing-section,
  .publishing-section1 {
    flex-direction: column;
    margin: 40px auto;
  }

  .publishing-card,
  .publishing-card.reverse {
    flex-direction: column;
    align-items: center;
  }

  .publishing-card img {
    width: 100%;
    border-radius: 10px;
  }

  .publishing-content,
  .publishing-content1,
  .publishing-content2 {
    margin: 20px 0 0 0;
    width: auto;
    height: auto;
    border: 2px dotted #cb982b;
  }
  .publishing-content p ,
  .publishing-content1 p,
  .publishing-content2 p  {
    font-size: 0.98rem;}

  .headingdiv,
  .headingdiv1 {
    width: 100%;
    border-left: 6px solid #cb982b;
  }
}

/* ============================================
   📱 Small Tablets (481px - 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .header h1 {
    font-size: 28px;
  }

  .content {
    flex-direction: column;
    height: auto;
    padding: 30px 0px;
    gap: 2rem;
  }

  .text-section {
    max-width: 100%;
    text-align: center;
  }

  .text-section h1 {
    font-size: 2.2rem;
    border-left: none;
    padding-left: 0;
  }

  .image-section {
    max-width: 100%;
    margin: 0 auto;
  }

  .publishing-section,
  .publishing-section1 {
    flex-direction: row;
    margin: 60px auto;
  }

  .publishing-card {
    flex-direction: row;
  }

  .publishing-card img {
    width: 50%;
  }

  .publishing-content,
  .publishing-content1,
  .publishing-content2 {
    width: auto;
    margin: 20px 0 0 0;
    height: auto;
    /* border: none; */
  }
    .publishing-content p ,
  .publishing-content1 p,
  .publishing-content2 p  {
    font-size: 0.98rem;}

  .headingdiv {
    width: 100%;
  }

  .headingdiv1 {
    width: 100%;
    margin: 0px 0px 0px 20pc;
  }

}

/* ============================================
   💻 Medium Devices (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .header {
    height: 18vh;
    padding: 30px 0;
  }

  .content {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    height: auto;
  }

  .text-section {
    max-width: 50%;
  }

  .text-section h1 {
    font-size: 2.5rem;
  }

  .image-section {
    max-width: 45%;
    margin: 0;
  }

  .image-section img {
    width: 80%;
    margin: 0;
  }

  .publishing-card {
    flex-wrap: wrap;
  }

  .publishing-card img {
    width: 45%;
  }

  .publishing-content,
  .publishing-content1,
  .publishing-content2 {
    width: 50%;
    height: auto;
    margin: 3pc 0 0 -3pc;
  }

  .headingdiv {
    width: 100%;
  }

  .headingdiv1 {
    width: 100%;
    margin: 0px 0px 0px 30pc;
  }
}

/* ============================================
   🖥️ Large Screens (1025px - 1440px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .header h1 {
    font-size: 34px;
  }

  .content {
    gap: 10rem;
  }

  .text-section h1 {
    font-size: 3rem;
  }

  .publishing-section,
  .publishing-section1 {
    max-width: 1200px;
  }

  .publishing-card img {
    width: 50%;
  }

  .publishing-content,
  .publishing-content1,
  .publishing-content2 {
    height: auto;
  }
}