.about-me-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Enhanced background with subtle patterns */
.about-me-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  right: -100px;
  bottom: 0;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat, no-repeat;
  background-size: 400px auto, 400px auto;
  opacity: 0.08;
  z-index: 1;
  animation: leafMove 6s ease-in-out infinite alternate;
}

.about-me-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 50%;
  height: 100%;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat;
  background-size: 400px auto;
  opacity: 0.08;
  z-index: 1;
  transform: scaleX(-1);
  animation: leafMove 6s ease-in-out infinite alternate;
}

@keyframes leafMove {
  0% {
    background-position: -50px center, calc(100% + 50px) center;
  }
  50% {
    background-position: -30px calc(50% + 10px),
      calc(100% + 30px) calc(50% - 10px);
  }
  100% {
    background-position: -50px center, calc(100% + 50px) center;
  }
}

/* Section Introduction */
.about-me-intro {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.about-me-section .about-me-subheading {
    color: #fa6e32;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
}

.about-me-heading {
    color: #2c3e50;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-me-subtitle {
    color: #ff5e00;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;

}

/* Image Container Enhancements */
.about-me-image-container {
    position: relative;
    z-index: 2;
}

.about-me-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-me-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-me-image{
    width: 100%;
    max-width: 450px;
    height: auto;
    display: unset;
    transition: transform 0.3s ease;
}

.about-me-image-wrapper:hover .about-me-image {
    transform: scale(1.05);
}

/* Image Overlay */
.about-me-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-me-image-wrapper:hover .about-me-image-overlay {
    transform: translateY(0);
}

.about-me-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credential-badge {
    background: #fa6e32;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.credential-badge i {
    font-size: 0.8rem;
}

/* Content Styling */
.about-me-content {
    position: relative;
    z-index: 2;
    padding-left: 0;
}

@media (min-width: 992px) {
    .about-me-content {
        padding-left: 30px;
    }
}

.about-me-description {
    text-align: justify;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Highlights Section */
.about-me-highlights {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fa6e32, #ff8a50);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(250, 110, 50, 0.3);
}

.highlight-icon i {
    color: white;
    font-size: 1.5rem;
}

.highlight-content h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.highlight-content p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Quote Styling */
.about-me-section blockquote,
.about-me-quote {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #fa6e32;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #fa6e32;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon i {
    color: white;
    font-size: 1rem;
}

.about-me-quote p {
    font-style: italic;
    color: #2c3e50;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 20px 0 15px 0;
    font-weight: 500;
}

.about-me-quote cite {
    color: #fa6e32;
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
}

/* Education Section */
.about-me-education {
    position: relative;
    z-index: 2;
}

.education-heading {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.education-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fa6e32;
    border-radius: 2px;
}

.education-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #fa6e32;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fa6e32, #ff8a50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(250, 110, 50, 0.3);
}

.education-icon i {
    color: white;
    font-size: 2rem;
}

.education-content h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.education-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Legacy styles compatibility */
.about-me-section .about-me-subheading {
    color: #fa6e32;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
}

.about-me-section blockquote::before {
    content: "“";
    font-size: 3rem;
    color: #fa6e32;
    position: absolute;
    left: 15px;
    top: 10px;
    opacity: 0.3;
    pointer-events: none;
}

.about-me-section blockquote:hover {
    box-shadow: 0 4px 24px rgba(250,110,50,0.16);
    background: linear-gradient(90deg, rgba(250,110,50,0.12) 0%, rgba(255,255,255,0.7) 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-me-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .about-me-heading {
        font-size: 2.5rem;
    }
    
    .about-me-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-me-section {
        padding: 60px 0;
    }

    .about-me-subheading{
        margin-top: 10px;
    }
    
    .about-me-heading {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .about-me-quote p {
        font-size: 1.1rem;
    }
    
    .education-heading {
        font-size: 1.8rem;
    }
}
