.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: contain;
        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: auto;
    }

    .publishing-card:hover .publishing-content {
        transform: translateY(-10px);
        box-shadow: -18px 20px 20px 0px rgba(0, 0, 0, 0.15);

    }


    .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: #172443;
        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: auto;
    }

    .publishing-card:hover .publishing-content1 {
        transform: translateY(-10px);
        box-shadow: -18px 20px 20px 0px rgba(0, 0, 0, 0.15);

    }

    .publishing-content1 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-top: 100px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 500px;
    background-color: #172443e1;
    /* 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 #cb982b;
    }

    .text-section h1 strong {
      color: #F9DF7B; /* 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: #F9DF7B; /* Golden Yellow */
      color: #5f2c8f; /* Dark Purple */
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .btn12:hover {
      background-color: #ff9800; /* 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); */
    }


    /* ============================================
   📱 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: 1.5rem;
    padding: 20px 0px;
  }

  .text-section {
    max-width: 100%;
    text-align: center;
    margin-right: 0;
  }

  .text-section h1 {
    font-size: 1.8rem;
    border-left: none;
    padding-left: 0;
  }

  .text-section p {
    font-size: 0.9rem;
  }

  .image-section {
    max-width: 50%;
    margin: 0;
  }

  .publishing-section,
  .publishing-section1 {
    flex-direction: column;
    align-items: center;
    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 {
    width: auto;
    margin: 20px 0 0 0;
    height: auto;
  }
  .publishing-content p,
  .publishing-content1 p {
    font-size: 0.95rem; }


  .headingdiv,
  .headingdiv1 {
    width: 100%;
  }
}

/* ============================================
   📱 Small Tablets (481px - 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .header {
    padding: 25px;
    height: auto;
  }

  .header h1 {
    font-size: 28px;
  }

  .content {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    padding: 30px 0px;
  }

  .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: column;
    align-items: center;
  }

  .publishing-card {
    flex-direction: column !important;
  }

  .publishing-card img {
    width: 100%;
    border-radius: 10px;
  }

  .publishing-content,
  .publishing-content1 {
    width: 100%;
    margin: 20px 0 0 0;
    height: auto;
  }

  .headingdiv,
  .headingdiv1 {
    width: 100%;
  }
}

/* ============================================
   💻 Medium Devices (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .header {
    height: 15vh;
    padding: 30px 0;
  }

  .header h1 {
    font-size: 32px;
  }

  .content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    height: auto;
    justify-content: center;
  }

  .text-section {
    max-width: 45%;
    text-align: left;
  }

  .text-section h1 {
    font-size: 2.5rem;
  }

  .image-section {
    max-width: 25%;
    margin: 0;
  }

  .publishing-card {
           flex-wrap: nowrap;
        width: auto;
  }

  .publishing-card img {
    width: 45%;
  }

  .publishing-content,
  .publishing-content1 {
    width: 50%;
    height: auto;
  }

  .headingdiv{
    width: 100%;
    padding: 0 0 0 10px;
  }

  .headingdiv1 {
    width: 100%;
    padding: 0 0 0 10px;
    margin: 0px 0px -20px 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 {
    height: auto;
  }
}

/* ============================================
   🖥️ Extra Large Screens (1441px and above)
   ============================================ */
@media (min-width: 1441px) {
  .content {
    gap: 15rem;
  }

  .text-section h1 {
    font-size: 3.2rem;
  }

  .publishing-section,
  .publishing-section1 {
    max-width: 1400px;
  }
}