/* About Section Styling */
.about-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url('../images/about/scrolable.webp'); /* Replace with your image */
  background-attachment: fixed; /* Scrollable parallax effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow-x: hidden; 
}

.about-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 54, 15, 0.5); /* dark overlay for readability */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.about-section .content {
  max-width: 700px;
}

.about-section h2 {
  font-size: 80px;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .about-section {
    height: 80vh; /* let content define height */
    
  }

  .about-section h2 {
    font-size: 40px;
  }
  .about-section p {
    font-size: 16px;
    max-width: 400px;
    
  }
}



/* Extra small screens (480px) */
@media (max-width: 480px) {
  .about-section {
    height: 60vh;                 /* shorter height for tiny screens */
    
   
  }

  .about-section .overlay {
    
  }

  .about-section .content {
    max-width: 100%;              /* full width for small screens */
  }

  .about-section h2 {
    font-size: 28px;              /* smaller heading */
    margin-bottom: 10px;
  }

  .about-section p {
    font-size: 14px;              /* smaller paragraph text */
    line-height: 1.4;
    max-width: 90%;
  }
}
