/*----------------------------------Hero section styling--------------------------------------*/
.project-section {
  background: #fff;
	    padding: 50px 0px 50px;

}

.project-content {
     display: flex; 
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 2rem;
    flex-direction: row;
}
}

.project-left {
    display: flex;
    padding-bottom: 50px;
}
.project-left h2 {
    font-size: 75px;
    font-weight: 700;
/*     margin-bottom: 14rem; */
    color: #1e1e1e;
	width: 70%;
}
.project-text-p{
	width:50%;
}
.project-left p {
    font-size: 22px;
    line-height: 30px;
    color: #444;
    margin-bottom: 0;
   
}
.project-left {
    display: flex;
}


/*------------------------------project-images-details-styling--------------------------------*/
/* Grid Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 10px 87px 90px 87px;
}
/* Grid Layout */
.project-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 6rem;
  max-width: 1200px;
  margin: -7rem 0rem 5rem 7rem;
}

/* Card Styling */
.project-card1 {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.project-card2 {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-top: 4rem;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px 20px 0 0;
}

/* Text Styling */
.card-text {
  padding: 20px;
}

.card-text h3 {
  color: #f6a42c;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-text p {
  font-size: 20px !important;
  color: #666;
  line-height: 1.6;
}
img.main-image.aos-init.aos-animate {
    width: 100%;
    height: 397px;
    object-fit: cover;
    border-radius: 20px 20px 20px 20px;
}



/* ===== Common (All devices) ===== */
.news-title {
  font-size: 22px;   /* SAME size for desktop, tablet, mobile */
  line-height: 1.4;
}


/* ===================== Tablet (max-width: 1024px) ===================== */
@media (max-width: 1024px) {

  .project-left h2 {
    font-size: 55px;
    margin-bottom: 6rem;
    width: 100%;
  }

  .project-left p {
    margin-bottom: 6rem;
  }

  .project-grid {
    padding: 10px 40px 70px;
    gap: 20px;
  }

  .project-grid2 {
    grid-template-columns: 1fr;
    margin: -4rem auto 4rem;
    gap: 4rem;
    padding: 0 2rem;
  }

  img.main-image {
    width: 100%;
    height: 320px;
  }
}


/* ===================== Mobile (max-width: 768px) ===================== */
@media (max-width: 768px) {

  .project-section {
    padding: 50px 20px !important;
  }

  .project-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-left h2 {
    font-size: 40px;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align:start !important;
  }

  .project-text-p{
    width: 100%;
    margin-bottom: 1.5rem;
	text-align:start !important;
	font-size:15px;
  }
	.project-left p {
			width: 100%;
			margin-bottom: -2.5rem;
		}

	.project-left{
	padding: 0px;
	}
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
	padding: 30px 15px 90px !important;
    }
  }

  .project-grid2 {
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    gap: 2rem;
  }

  .project-card2 {
    margin-top: 0;
  }

  img.main-image {
    height: 260px;
  }

  .card-text h3 {
    font-size: 22px;
  }

  .card-text p {
    font-size:20px !important;
  }
}


/* ===================== Small Mobile (max-width: 480px) ===================== */
@media (max-width: 480px) {

  .project-left h2 {
    width: 100%;
    font-size: 40px;
  }

  img.main-image {
    height: 220px;
  }

  .card-text {
    padding: 15px;
  }
}
