/* HERO SECTION */
.perf-hero {
  width: 100%;
  height: 100vh;
  background: url("images/performanceimage.jpg") center/cover no-repeat;
  position: relative;
  background-attachment: fixed;
}

/* OVERLAY */
.perf-hero__overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CONTENT */
.perf-hero__content {
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

/* TITLE */
.perf-hero__title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* HIGHLIGHT */
.perf-hero__highlight {
  color: rgb(43, 43, 177);
}

/* DESCRIPTION */
.perf-hero__desc {
  font-size: 18px;
  line-height: 1.6;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .perf-hero__content {
    max-width: 750px;
  }

  .perf-hero__title {
    font-size: 40px;
  }

  .perf-hero__desc {
    font-size: 17px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .perf-hero {
    height: 90vh;
      overflow-x: hidden;
     background-attachment: fixed;
  }

  .perf-hero__content {
    max-width: 90%;
    padding: 15px;
  }

  .perf-hero__title {
    font-size: 32px;
    line-height: 1.3;
  }

  .perf-hero__desc {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .perf-hero {
    height: 85vh;
  }

  .perf-hero__title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .perf-hero__desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .perf-hero__content {
    padding: 10px;
  }
}

/* -------------------------------text and para code ---------------------------- */
.perf-center {
  padding: 80px 20px;
  text-align: center;
  background: #c5d7fa;
}

.perf-center__content {
  max-width: 1000px;
  margin: 0 auto;
}

.perf-center__title {
  font-size: 36px;
  color: #273698;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* UNDERLINE EFFECT */
.perf-center__title::after {
  content: "";
  width: 25%;
  height: 4px;
 background: linear-gradient(190deg, #3021a3, #b6074a);
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

.perf-center__desc {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}
/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .perf-center {
    padding: 70px 15px;
  }

  .perf-center__content {
    max-width: 850px;
  }

  .perf-center__title {
    font-size: 32px;
  }

  .perf-center__desc {
    font-size: 17px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .perf-center {
    overflow-x: hidden;
    padding: 60px 12px;
  }

  .perf-center__content {
    max-width: 90%;
  }

  .perf-center__title {
    font-size: 28px;
  }

  .perf-center__desc {
    font-size: 16px;
    line-height: 1.7;
  }

  .perf-center__title::after {
    width: 30%;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .perf-center {
    padding: 50px 10px;
  }

  .perf-center__title {
    font-size: 23px;
    line-height: 1.3;
  }

  .perf-center__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .perf-center__title::after {
    width: 40%;
  }
}

/* ----------------------------------split section--------------------- */
 
.perf-split {
  position: relative;
  background: url("images/performance2.jpg") center/cover fixed no-repeat;
  padding: 80px 10%;
  z-index: 1;
}

/* OVERLAY */
.perf-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(166, 216, 251, 0.8);  
  z-index: -1;
}

/* CONTAINER */
.perf-split__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* TEXT */
.perf-split__content {
  color: #f5f5f5;
}

.perf-split__title {
  font-size: 36px;
  margin-bottom: 20px;
}

.perf-split__desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* IMAGE SIDE */
.perf-split__image {
  width: 100%;
  height: 350px;
  background: url("images/performance.jpg") center/cover no-repeat;
  border-radius: 20px;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .perf-split {
    padding: 70px 6%;
  }

  .perf-split__container {
    gap: 30px;
  }

  .perf-split__title {
    font-size: 32px;
  }

  .perf-split__desc {
    font-size: 17px;
  }

  .perf-split__image {
    height: 320px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .perf-split {
    padding: 60px 5%;
    overflow-x: hidden;
    background-attachment: fixed;  
  }

  .perf-split__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .perf-split__content {
    order: 2;
  }

  .perf-split__image {
    order: 1;
    height: 280px;
    width: 80%;
    margin:auto;
    border-radius: 15px;
  }

  .perf-split__title {
    font-size: 28px;
  }

  .perf-split__desc {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .perf-split {
    padding: 50px 4%;
  }

  .perf-split__title {
    font-size: 23px;
  }

  .perf-split__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .perf-split__image {
    height: 280px;
    width: 95%;
    border-radius: 12px;
  }
}