.about {
  padding: 80px 20px;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden; /* Prevent any overflow */
}

.about::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: min(400px, 60vw); /* Reduced from 80vw */
  height: min(400px, 60vw); /* Reduced from 80vw */
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%; /* Ensure it doesn't exceed container */
  box-sizing: border-box;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 3.5rem); /* Reduced from 8vw */
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-wrap: break-word;
  hyphens: auto;
}

.about-text p {
  font-size: clamp(1rem, 3vw, 1.4rem); /* Reduced from 4vw */
  line-height: 1.8;
  color: #d0d0d0;
  margin-bottom: 30px;
  word-wrap: break-word;
  hyphens: auto;
}

.about-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: flex-start; /* Changed from center for better mobile behavior */
  width: 100%;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 20px; /* Reduced horizontal padding */
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 100px; /* Reduced from 120px */
  flex: 1 1 auto;
  max-width: 150px; /* Prevent stats from getting too wide */
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255,107,107,0.2), 0 0 30px rgba(78,205,196,0.15);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem); /* Reduced from 6vw */
  font-weight: 700;
  background: linear-gradient(135deg, #feca57, #ff9ff3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  overflow: hidden;
}

.stat-label {
  display: block;
  font-size: clamp(0.75rem, 2.5vw, 1rem); /* Reduced from 3vw */
  color: #d0d0d0;
  margin-top: 5px;
  word-wrap: break-word;
}

.about-image-container {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  overflow: hidden; /* Prevent overflow */
}

.about-image-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(350px, 60vw); /* Reduced from 70vw */
  height: min(350px, 60vw); /* Reduced from 70vw */
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.circle-container {
  position: relative;
  width: min(320px, 70vw); /* Reduced from 380px and 85vw */
  height: min(320px, 70vw); /* Reduced from 380px and 85vw */
  cursor: pointer;
  transition: all 0.5s ease;
  margin: 0 auto;
  flex-shrink: 0; /* Prevent shrinking */
}

.circle-container:hover {
  transform: scale(1.05) rotate(1deg);
}

.circle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-clip: padding-box;
  transition: transform 0.6s ease;
}

.circle-container:hover .circle-image {
  transform: scale(1.05);
}

.circle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(78, 205, 196, 0.9));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px; /* Reduced from 20px */
  opacity: 0;
  transition: opacity 0.6s ease;
  box-sizing: border-box;
}

.circle-container:hover .circle-overlay {
  opacity: 1;
}

.circle-overlay h3 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.5rem, 4vw, 2.2rem); /* Reduced from 6vw and 2.5rem */
  margin-bottom: 8px; /* Reduced from 10px */
  color: white;
  word-wrap: break-word;
}

.circle-overlay p {
  font-size: clamp(0.8rem, 2.5vw, 1rem); /* Reduced from 3.5vw and 1.1rem */
  margin-bottom: 6px; /* Reduced from 8px */
  color: white;
  word-wrap: break-word;
  hyphens: auto;
}

.overlay-description {
  font-size: clamp(0.75rem, 2.2vw, 0.9rem) !important; /* Reduced from 3.5vw and 1rem */
  line-height: 1.4; /* Reduced from 1.5 */
}

/* Mobile optimizations */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px; /* Reduced from 40px */
    text-align: center;
    padding: 0 10px; /* Add horizontal padding */
  }

  .about {
    padding: 50px 15px; /* Reduced from 60px 20px */
  }

  .about::before {
    width: min(300px, 50vw); /* Further reduced */
    height: min(300px, 50vw);
  }

  .about-text h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem); /* Reduced from 8vw */
  }

  .about-text p {
    font-size: clamp(0.9rem, 3vw, 1.1rem); /* Reduced from 4vw */
  }

  .about-stats {
    justify-content: center;
    gap: 15px; /* Reduced gap */
  }

  .stat {
    min-width: 90px; /* Further reduced */
    padding: 12px 16px; /* Reduced padding */
  }

  .circle-container {
    width: min(220px, 65vw); /* Further reduced from 260px and 85vw */
    height: min(220px, 65vw);
  }

  .circle-overlay {
    padding: 10px; /* Reduced padding */
  }

  .circle-overlay h3 {
    font-size: clamp(1.2rem, 4vw, 1.8rem); /* Reduced */
  }

  .circle-overlay p {
    font-size: clamp(0.7rem, 2.2vw, 0.9rem); /* Reduced */
  }

  .overlay-description {
    font-size: clamp(0.65rem, 2vw, 0.8rem) !important; /* Further reduced */
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .about {
    padding: 40px 10px;
  }

  .about-content {
    gap: 20px;
    padding: 0 5px;
  }

  .circle-container {
    width: min(180px, 60vw);
    height: min(180px, 60vw);
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .stat {
    width: 100%;
    max-width: 200px;
  }
}

/* Particles and animations remain the same */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
  opacity: 0;
}

.counter-animation {
  position: relative;
  display: inline-block;
}

.counter-animation::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.stat:hover .counter-animation::after {
  transform: scaleX(1);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}