.about-section {
  background: linear-gradient(161deg, #020405, #30709b, #020405);
  margin-top: 100px;
  height: 276px;
  /* padding: 50px 20px; */
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #eeeeee;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #eeeeee;
  margin-top: 10px;
}

.about-text p {
  font-size: 1.2rem;
  color: #eeeeee;
  line-height: 1.6;
}

.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  max-width: 450px;
  border-radius: 50px 50px 200px 200px;
  transition: transform 0.4s ease;
  border: 5px solid #eeeeee;
  /* First border */
  outline-offset: 5px;

}

.about-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ------title responsive------------ */
@media (max-width: 768px) {
  .about-section {
    height: auto;
    margin-top: 60px;

    padding: 14px 20px;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-text h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .about-text h2::after {
    margin: 10px auto 0;

  }

  .about-text p {
    font-size: 1.1rem;
    text-align: center;
  }

  .about-photo img {
    max-width: 350px;
    border-radius: 40px 40px 150px 150px;
  }
}

@media (max-width: 480px) {
  .about-section {
    margin-top: 60px;
    padding: 14px 15px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-photo img {
    max-width: 325px;
    border-radius: 30px 30px 100px 100px;
  }
}

/* ------history------------------ */
.experience-row {
  max-width: 1200px;
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-family: 'Poppins', sans-serif;
}

.experience-row h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f1a36;
  white-space: nowrap;
  text-align: end;
}

.title-line {
  width: 4px;
  height: 50px;
  margin: 12px auto;
  border-radius: 2px;
  background: #30709b;
}

.experience-row h2 span {
  color: #30709b;
}

.experience-row p {
  flex: 1;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.5;
}

.btn-contact {
  padding: 14px 34px;
  background: rgba(48, 112, 155, 0.15);
  color: #30709b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 12px;
  border: 2px solid #30709b;
  backdrop-filter: blur(6px);
  display: inline-block;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(48, 112, 155, 0.3), transparent);
  transition: all 0.6s ease;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  background: #30709b;
  color: #fff;
  box-shadow: 0 6px 18px rgba(48, 112, 155, 0.4);
  transform: translateY(-2px);
}

/* ----------HISTORY RESPONSIVE----------------- */
@media (max-width: 768px) {


  .experience-row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .experience-row h2 {
    white-space: normal;
    font-size: 1.8rem;
    text-align: center;
  }

  .title-line {
    width: 60px;
    height: 4px;
  }

  .btn-contact {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .experience-row h2 {
    font-size: 1.5rem;
  }

  .title-line {
    width: 60px;
    height: 4px;
  }

  .btn-contact {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ----------------- Highlight Section ----------------- */
.highlight-section {
  position: relative;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  background: #f9f9ff;
  /* fresh light section */
  overflow: hidden;
}

.highlight-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.highlight-content {
  flex: 1;
}

.highlight-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f1a36;
  margin-bottom: 20px;
  line-height: 1.3;
}

.highlight-content h2::after {
  content: '';
  display: block;
  width: 100px;
  /* adjust length */
  height: 6px;
  margin-top: 12px;
  border-radius: 3px;
  background-color: #30709b;
}

.highlight-content h2 span {
  color: #30709b;
}

.highlight-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 620px;
}


/* Accent Shape */
.highlight-accent {
  flex: 1;
  height: 378px;
  border-radius: 30% 70% 70% 30% / 40% 40% 60% 60%;
  background-image: url('Assets/about/about-2_opt.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

/* -------------HIGHTLIGHT RESPONSIVE------------- */
@media (max-width: 768px) {
  .highlight-container {
    flex-direction: column;
    gap: 25px;
  }

  .highlight-content h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .highlight-content h2::after {
    margin: 12px auto 0;
  }

  .highlight-content p {
    text-align: center;
    max-width: 100%;
  }

  .highlight-accent {
    width: 100%;
    height: 250px;
    flex: unset;
    background-size: cover;
    background-position: center;
  }

  .highlight-content {
    order: 1;
    /* text comes first */
  }

  .highlight-accent {
    order: 2;
    /* image comes after */
  }
}

@media (max-width: 480px) {

  .highlight-content h2 {
    font-size: 2rem;
  }

  .highlight-content p {
    font-size: 1rem;
  }
}

/* --------- We Are Always Best Section --------- */
.features-section {
  text-align: center;

  padding: 40px 0 0;
  /* background-color: #30709b; */
}

.features-split {
  padding: 80px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.116) 50%, rgba(3, 43, 85, 0.95) 50%),
    url('Assets/about/about-3_opt.jpg') center/cover no-repeat;
  position: relative;
}

.features-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.438);
  /* Dark overlay (adjust 0.3–0.6) */
  z-index: 0;
}

.features-split>* {
  position: relative;
  z-index: 1;
}

.features-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0f1a36;
  margin-bottom: 15px;
  line-height: 1.3;
  text-align: center;
  /* ensures text + after align */
  position: relative;
}

.features-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 6px;
  margin: 12px auto 0;
  /* centers the bar */
  border-radius: 3px;
  background-color: #30709b;
}

.features-title span {
  color: #30709b;
}

.features-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-wrapper {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 260px;
  max-width: 300px;
  padding: 50px 25px 35px;
  text-align: center;
  background: rgba(255, 255, 255, 0.212);
  border-radius: 18px;
  transition: 0.35s ease;
  border: none;
}

.feature-item i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #59b5f3;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -87px auto 20px;
}

.feature-item:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.1);
}


.feature-item h3 {
  color: #fff;
  margin-bottom: 8px;
}

.feature-item p {
  color: #dce7f5;
}

/* ------------FEATURE RESPONSIVE---------- */
@media (max-width: 768px) {


  .features-split {
    padding: 40px 20px;
  }

  .features-title {
    font-size: 2.2rem;
  }

  .features-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .features-wrapper {
    gap: 30px;
  }

  .feature-item {
    max-width: 100%;
    padding: 40px 20px 30px;
  }

  .feature-item i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    margin: -70px auto 15px;
  }
}

@media (max-width: 480px) {

  .features-title {
    font-size: 1.8rem;
  }

  .features-subtitle {
    font-size: 0.9rem;
  }

  .feature-item {
    padding: 30px 15px 20px;
  }

  .feature-item i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    margin: -54px auto 10px;
  }
}

/* -------------counter------------------ */
.counter-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  background-color: #e8ebf0;
  padding: 90px;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.counter-item h3 {
  font-size: 4rem;
  font-weight: 700;
  color: #102544;
}

.counter-item p {
  margin-top: 5px;
  font-size: 1.3rem;
  color: #555;
}

/* ---------------COUNTER RESPONSIVE---------------- */

@media (max-width: 768px) {
  .counter-wrapper {
    padding: 60px 40px 85px;
    gap: 60px;
  }

  .counter-item h3 {
    font-size: 3rem;
  }

  .counter-item p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .counter-wrapper {
    padding: 40px 15px 85px;
    gap: 50px;
  }

  .counter-item h3 {
    font-size: 2.2rem;
  }

  .counter-item p {
    font-size: 1rem;
  }
}