/* Base Styles */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* About Me Section */
.about-me {
  background: linear-gradient(to right, #1a1a1a, #000);
  padding: 60px 20px;
  text-align: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
}

/* Image Styling */
.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  image-rendering: crisp-edges; /* for Firefox */
  image-rendering: -webkit-optimize-contrast; /* for Safari/Chrome */
  image-rendering: optimizeQuality;
  transform: translateZ(0); /* Prevent blur on some devices */
}

/* Text Content */
.about-text {
  max-width: 600px;
  text-align: left;
}

.about-text h2 {
  font-size: 2.2rem;
  color: #ffd700;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-text {
    text-align: center;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 600px) {
  .about-image img {
    width: 200px;
    height: 200px;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}
.back-btn {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 26px;
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.back-btn:hover {
  background-color: #ffd700;
  color: #111;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .back-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin-top: 30px;
  }
}
.back-btn {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 26px;
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.back-btn:hover {
  background-color: #ffd700;
  color: #111;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .back-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin-top: 30px;
  }
}
