@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f9f9f9;
  color: var(--black);
  line-height: 1.6;
}

.about-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-header {
  color: black;
  font-size: clamp(2rem, 5vw, 2.375rem); /* responsive font size */
  font-weight: 700;
  position: relative;
  margin-bottom: 8px;
  text-align: left; /* Keep text aligned to the left */
  display: inline-block; /* Allow ::after to be relative to text width */
}




.about-content {
  flex: 1;
}

.about-title {
  font-size: 32px; /* Reduced size */
  margin-bottom: 25px;
  color: var(--black);
  font-weight: bold;
}

.about-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--black);
}

.about-qualifications {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.8;
}

.about-experience {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 16px;
}

.about-image-container {
  flex: 1;
  position: relative;
  max-width: 500px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  background-color: var(--light-blue);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border: 4px solid #1e3a8a; /* Added thick premium border */
  border-radius: 12px;
}

/* Removed .about-image-frame completely */

/* Premium Read More Button */
.phone-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
  background-color: transparent;
  transition: color 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.12);
  user-select: none;
}

.phone-button i {
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.phone-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background-color: #1e3a8a;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.phone-button:hover::before {
  transform: scaleX(1);
}

.phone-button:hover {
  color: white;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
}

.phone-button:hover i {
  transform: translateX(5px);
  color: white;
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column-reverse;
    gap: 30px;
  }
.about-header{
  font-size: 32px;
}
  .about-image-container {
    width: 100%;
    max-width: 400px;
  }

  .about-title {
    font-size: 26px; /* reduced headline on tablet */
  }
}

@media (max-width:768px) {
  .about-header{
  font-size: 30px;
}
}

@media (max-width: 576px) {
  .about-section {
    margin: 40px auto;
  }

  .about-title {
    font-size: 24px; /* reduced headline on mobile */
  }

  .about-name {
    font-size: 18px;
  }

  .about-header{
  font-size: 28px;
}
}


@media (max-width: 350px) {
.about-header{
  font-size: 24px;
}
}