.about-section {
  padding: 100px 20px;
  font-family: "Montserrat", sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Images */
.about-images {
  position: relative;
}

.main-image {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 30px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.small-image {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 60%;
}

.small-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.small-image:hover img {
  transform: scale(1.1);
}

/* Experience Badge */
.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #111827;
  color: #fff;
  padding: 18px 20px;
  border-radius: 50%;
  text-align: center;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rotate360 10s linear infinite;
}

.experience-badge span {
  font-size: 28px;
  font-weight: 700;
}

.experience-badge small {
  font-size: 12px;
}

/* Rotation keyframes */
@keyframes rotate360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Content */
.about-tag {
  color: #f59e0b;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 15px 0;
}

.about-content p {
  color: #555;
  margin-bottom: 25px;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #111827;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: color 0.3s ease;
}

.stat-box > * {
  position: relative;
  z-index: 1;
}

/* Pseudo-element for bottom-to-top fill */
.stat-box::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  z-index: 0;
  transition: height 0.5s ease;
  border-radius: 10px;
}

/* Hover effect */
.stat-box:hover::before {
  height: 100%;
}

/* Optional: change text color for contrast */
.stat-box:hover {
  color: #fff;
}

.stat-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.stat-text p {
  margin: 0;
  font-size: 14px;
  color: #fff;
}

/* List */
.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f59e0b;
}

/* Button */
.about-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  color: #111827;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  color: #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

/* The fill effect */
.about-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #111827;
  z-index: -1;
  transition: height 0.3s ease;
}

/* On hover */
.about-btn:hover::before {
  height: 100%;
}

.about-btn:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .small-image {
    right: 0;
    bottom: -30px;
  }

  .experience-badge {
    left: 0;
  }
}

@media (max-width: 576px) {
  .about-stats {
    flex-direction: column;
  }
}
