/* Full-width Banner */
.abt-banner {
  position: relative;
  width: 100%;
  height: 400px;
  /* You can adjust the height as needed */
  background-image: url("../images/abt-img/banner.jpg");
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
  margin: 0%;
}

.abt-sec-left p{
  font-family: "Poppins", sans-serif;
}

.abt-sec-right p{
    font-family: "Poppins", sans-serif;
}

.banner-content p{
  font-family: "Poppins", sans-serif;
}

/* Centered Content */
.banner-content {
  position: absolute;
  top: 65%;
  left: 20%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  font-family: Arial, sans-serif;
  width: 25%;
}

/* Heading Styles */
.banner-content h1 {
    margin-bottom: 10px;
    font-size: 38px;
    color: #fff;
    font-weight: 700;
    font-family: "Crimson Text", serif;
}

/* Paragraph Styles */
.banner-content p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}



/*Projects section css*/

.projects-section {
  width: 80%;
  margin: 60px auto;
  text-align: center;
}

.tabs {
  display: flex;
  justify-content: left;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 18px;
  margin: 0 25px;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  color: #333;
  transition: all 0.3s ease;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.tab-btn.active {
  color: #a88a4d;
  font-weight: 600;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #a88a4d;
  border-radius: 0px;
}

.project-grid {
  display: grid;
   grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  justify-items: left;
}

.project-card {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-info {
  background-color: #b39c67;
  color: #fff;
  padding: 15px;
  text-align: left;
      height: -webkit-fill-available;
}

.project-info h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  font-family: "Crimson Text", serif;
}

.project-info p {
  margin: 5px 0 0;
  font-size: 14px;
  opacity: 0.9;
  font-family: "Poppins", sans-serif;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

button:focus {
    outline: none;
}

/* --- Hover Overlay Effect --- */
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Know More button */
.project-card .know-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #b39c67;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0px;
  opacity: 0;
  z-index: 2;
  transition: all 0.4s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover .know-more {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.project-card .know-more:hover {
  background: #a88a4d;
}


.know-more a{
    color: #fff;
    text-decoration: none;
}

.know-more a :hover{
    color: #fff;
    text-decoration: none;
}

.project-container{
    width: 100%;
    float: left;
    background-color: #fdfbef;
        background: #fffcf1 url(../images/bg-t.jpg) bottom center no-repeat;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*Project section end */


/* Mobile Responsive Styles */
@media only screen and (max-width: 768px) {
  .banner {
    height: 300px;
    /* Adjust height for smaller screens */
  }

  .banner-content h1 {
    font-size: 28px;
    /* Smaller font for mobile */
  }

  .banner-content p {
    font-size: 16px;
    /* Adjust paragraph font size */
    max-width: 80%;
    /* Increase width for better mobile readability */
  }
}


@media only screen and (max-width: 480px) {
  .banner {
    height: 250px;
    /* Adjust height for very small screens */
  }

  .banner-content h1 {
    font-size: 24px;
    /* Even smaller font for very small screens */
  }

  .banner-content p {
    font-size: 14px;
    /* Adjust font size for smaller screens */
    max-width: 90%;
    /* Increase width for better mobile readability */
  }
}


@media only screen and (min-width: 1001px) and (max-width: 1100px) {
  .banner-content {
        position: absolute;
        top: 55%;
        left: 25%;
        transform: translate(-50%, -50%);
        text-align: left;
        color: white;
        font-family: Arial, sans-serif;
        width: 35%;
    }

    .banner-content h1 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    font-family: "Crimson Text", serif;
}

.banner-content p {
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    margin: 0 25px;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.project-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    font-family: "Crimson Text", serif;
}


}


@media only screen and (min-width: 1101px) and (max-width: 1200px) {
  .banner-content {
    position: absolute;
    top: 50%;
    left: 23%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 35%;
  }

  .tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    margin: 0 25px;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

}


@media only screen and (min-width: 1201px) and (max-width: 1300px) {
  .banner-content {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 35%;
  }

    .tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    margin: 0 25px;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}
}


@media only screen and (min-width: 1301px) and (max-width: 1400px) {
  .banner-content {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 34%;
  }

  .banner-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    justify-items: center;
}
}


@media only screen and (min-width: 1401px) and (max-width: 1500px) {
  .banner-content {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 34%;
  }

  .banner-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    justify-items: center;
}
}



@media only screen and (min-width: 1501px) and (max-width: 1600px) {
  .banner-content {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 34%;
  }

  .banner-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 55px;
    justify-items: center;
}
}

@media only screen and (min-width: 1601px) and (max-width: 1700px) {
  .banner-content {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 34%;
  }

  .banner-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 55px;
    justify-items: center;
}
}



@media only screen and (min-width: 0px) and (max-width: 1000px) {

    .abt-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url(../images/abt-img/mob-banner.jpg);
    background-size: cover;
    background-position: center;
    margin: 0%;
}

.banner-content p{
    margin: 0 ;
}

.banner-content {
    position: absolute;
    top: 63%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    width: 70%;
}

.projects-section {
    width: 90%;
    margin: 60px auto;
    text-align: center;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 12px;
    margin: 0 8px;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    justify-items: center;
}

.project-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    font-family: "Crimson Text", serif;
}

}




