.content-1{
    text-align: center;
    padding: 400px 200px;
    background: #f4f4f4;
 height: 1000px;


}

.content-1 h1{
    font-size: 95px;
    color: #003762;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.both{
   margin-top:-300px;
}

.content-1 p{
    font-size: 24px;
    color: #666;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-1 img{
    width: 50%;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
}

/* ===== Responsive for Tablets & Phones ===== */
@media (max-width: 768px) {
  .content-1 {
    padding: 60px 20px;   /* reduce huge padding */
  }

  .content-1 h1 {
    font-size: 40px;      /* smaller heading */
  }

  .content-1 p {
    font-size: 18px;      /* smaller paragraph */
  }

  .both {
    margin-top: 0;        /* remove negative margin */
  }

  .content-1 img {
    width: 90%;           /* image takes most of screen */
    margin-top: 20px;
  }
}

/* ===== Extra Small Phones (like 480px and below) ===== */
@media (max-width: 480px) {
  .content-1 {
    padding: 40px 15px;
  }

  .content-1 h1 {
    font-size: 28px;
  }

  .content-1 p {
    font-size: 16px;
  }

  .content-1 img {
    width: 100%;
  }
}
