.content {
    position: relative;
    width: 100%;
    min-height: 40vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Adds spacing inside the section */
    overflow: hidden; /* Prevents scrolling */
    text-align: center; /* Centers text on smaller screens */
  }
  
  /* Background Image */
  .content-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
  }
  
  .content-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage without stretching */
    display: block;
  }
  
  /* Container & Typography */
  .container {
    max-width: 900px;
    padding: 20px;
    z-index: 2;
  }
  
  .section-title h2 {
    font-size: 50px;
    margin-top: 50px;
    margin-bottom: 40px;
    color: var(--accent-color);
  }
  
  .section-title p {
    margin-top: 40px;
    font-size: 18px;
    font-family: var(--font-poppins);
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 1024px) {
    .section-title h2 {
      font-size: 30px;
    }
  
    .section-title p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 768px) {
    .content {
      padding: 40px 20px;
    }
  
    .section-title h2 {
      font-size: 28px;
    }
  
    .section-title p {
      font-size: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .content {
      max-height: 70vh; 

      padding: 10px ;
    }
  
    .section-title h2 {
      font-size: 24px;
    }
  
    .section-title p {
      font-size: 14px;
      margin-top: -20px!important;
    }
  
  }
  