
/* --- PROPOSAL SECTION --- */
.proposal-section {
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f') center/cover fixed no-repeat;
  color: #fff;
  padding: 120px 50px;
  text-align: center;
  position: relative;
  margin: 50px,50px;
  padding:100px,50px;
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center center; /* Centers the image */
  background-size: 80%; /* Ensures the image covers the entire background */
  background-attachment: local;
  
}

.proposal-section::before {
  content: "";
  position: absolute;
 
 top: 3%;
  bottom: 3%;
  left: 10%;
  right: 10%;
    background: linear-gradient(
    rgba(177, 177, 180, 0.4),
    rgba(142, 142, 143, 0.1));
  z-index: 0;
  border-radius: 2px;
  margin: 100px,50px;
}

.proposal-content {
  position: relative;
  z-index: 0; /* makes content appear above background */
  max-width: 1200px;
  margin: auto;
}

.proposal-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.proposal-content p {
  font-size: 17px;
  color: #e8e8e8;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* --- GRID LAYOUT --- */
.proposal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* --- CARD STYLE --- */
.proposal-card {
  background: rgb(255, 255, 255);
  border-radius: 12px;
  padding: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
}

.proposal-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
}

.proposal-card h3 {
  font-size: 20px;
  color: #09ec60;
  margin-bottom: 10px;
}

.proposal-card p {
  color: #060447;
  font-size: 15px;
  line-height: 1.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .proposal-content h2 {
    font-size: 28px;
  }
  .proposal-content p {
    font-size: 15px;
  }
  .proposal-grid {
    grid-template-columns: 1fr;
  }
}



/* 📱 Responsive Design for Proposal Section */
@media (max-width: 992px) {
  .proposal-section {
    padding: 80px 30px;
    background-size: cover; /* Full coverage on tablet */
    background-attachment: scroll;
  }

  .proposal-content h2 {
    font-size: 28px;
    color:#f9b233;
  }

  .proposal-content p {
    font-size: 16px;
    max-width: 700px;
    color:#060447;
  }

  /* Switch grid to flex wrap layout */
  .proposal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .proposal-card {
    flex: 1 1 300px; /* Flexible width with min size */
    max-width: 350px;
    margin: 0 auto;
  }
}

/* 📱 Even Smaller Devices (Under 600px) */
@media (max-width: 600px) {
  .proposal-section {
    padding: 60px 20px;
    
    background-position: center;
    inset: 0;
    text-align: start;
  }

  .proposal-content h2 {
    font-size: 24px;
    line-height: 1.3;
  }
.proposal-section::before {
    content: "";
    position: absolute;
  inset: 0;
    
  }
  .proposal-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  /* Flex wrap style — one card per row on phones */
  .proposal-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .proposal-card {
    flex: 1 1 90%;
    max-width: 400px;
    padding: 20px;
  }

  .proposal-card h3 {
    font-size: 18px;
  }

  .proposal-card p {
    font-size: 14px;
  }
}
