/* ========================================
   MODERN ABOUT US SECTION
   Best Design, Animation & Alignment
   ======================================== */

/* Section Container */
.modern-about-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.modern-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(100, 181, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about-us-container {
  position: relative;
  z-index: 1;
}

/* Images Wrapper */
.about-images-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Image Cards */
.about-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.image-card-1 {
  width: 85%;
  height: 320px;
  margin-left: auto;
  z-index: 2;
}

.image-card-2 {
  width: 75%;
  height: 280px;
  margin-right: auto;
  z-index: 1;
}

.about-image-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

/* Image Styling */
.about-main-image,
.about-secondary-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.about-image-card:hover .about-main-image,
.about-image-card:hover .about-secondary-image {
  transform: scale(1.1);
}

/* Image Overlay Gradient */
.image-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-image-card:hover .image-overlay-gradient {
  opacity: 1;
}

/* Shine Effect */
.image-shine-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.about-image-card:hover .image-shine-effect {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Modern Counter Badges */
.modern-counter-badge {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(33, 150, 243, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 180px;
}

.modern-counter-badge:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(33, 150, 243, 0.4);
  box-shadow: 0 15px 50px rgba(33, 150, 243, 0.25);
}

.experience-badge {
  bottom: -20px;
  right: -20px;
  animation: floatBadge 3s ease-in-out infinite;
}

.feedback-badge {
  top: 20px;
  left: -20px;
  animation: floatBadge 3s ease-in-out infinite 1.5s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Counter Icon Wrapper */
.counter-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  transition: all 0.4s ease;
}

.modern-counter-badge:hover .counter-icon-wrapper {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Counter Content */
.counter-content {
  flex: 1;
}

.counter-number {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.counter-value {
  font-size: 36px;
  font-weight: 900;
  color: #0a1929;
  line-height: 1;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.counter-plus,
.counter-percent {
  font-size: 24px;
  font-weight: 700;
  color: #2196f3;
  line-height: 1;
}

.counter-label {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* Content Wrapper */
.about-content-wrapper {
  padding-left: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section Badge */
.about-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 50px;
  color: #2196f3;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  width: fit-content;
  transition: all 0.3s ease;
}

.about-section-badge:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateX(5px);
}

.about-section-badge i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.about-section-badge:hover i {
  transform: translateX(3px);
}

/* Main Heading */
.about-main-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0a1929;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  font-family: 'Inter', 'Poppins', sans-serif;
}

/* Description */
.about-description {
  font-size: 17px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Highlight Heading */
.about-highlight-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #2196f3;
  line-height: 1.4;
  margin: 24px 0 20px;
}

/* CTA Button */
.about-cta-wrapper {
  margin-top: 32px;
}

.modern-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-about-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.modern-about-btn:hover::before {
  left: 100%;
}

.modern-about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%);
}

.modern-about-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.modern-about-btn:hover i {
  transform: translateX(5px);
}

.btn-ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Counter Animation Script */
.modern-about-section .counter-value {
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .modern-about-section {
    padding: 80px 0;
  }
  
  .image-card-1 {
    width: 80%;
    height: 280px;
  }
  
  .image-card-2 {
    width: 70%;
    height: 250px;
  }
  
  .about-images-wrapper {
    min-height: 450px;
  }
}

@media (max-width: 992px) {
  .modern-about-section {
    padding: 60px 0;
  }
  
  .about-content-wrapper {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .about-images-wrapper {
    min-height: 400px;
    gap: 15px;
  }
  
  .image-card-1 {
    width: 75%;
    height: 250px;
  }
  
  .image-card-2 {
    width: 65%;
    height: 220px;
  }
  
  .modern-counter-badge {
    padding: 16px 20px;
    min-width: 160px;
  }
  
  .counter-icon-wrapper {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .counter-value {
    font-size: 30px;
  }
  
  .counter-plus,
  .counter-percent {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .modern-about-section {
    padding: 50px 0;
  }
  
  .about-images-wrapper {
    min-height: 350px;
    gap: 12px;
  }
  
  .image-card-1 {
    width: 70%;
    height: 220px;
  }
  
  .image-card-2 {
    width: 60%;
    height: 200px;
  }
  
  .experience-badge {
    bottom: -15px;
    right: -15px;
    padding: 14px 18px;
    min-width: 140px;
  }
  
  .feedback-badge {
    top: 15px;
    left: -15px;
    padding: 14px 18px;
    min-width: 140px;
  }
  
  .counter-icon-wrapper {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  
  .counter-value {
    font-size: 26px;
  }
  
  .counter-label {
    font-size: 12px;
  }
  
  .about-description {
    font-size: 16px;
  }
  
  .modern-about-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .modern-about-section {
    padding: 40px 0;
  }
  
  .about-images-wrapper {
    min-height: 300px;
    gap: 10px;
  }
  
  .image-card-1 {
    width: 65%;
    height: 180px;
    border-radius: 16px;
  }
  
  .image-card-2 {
    width: 55%;
    height: 160px;
    border-radius: 16px;
  }
  
  .experience-badge,
  .feedback-badge {
    padding: 12px 16px;
    min-width: 120px;
    border-radius: 12px;
  }
  
  .counter-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
  }
  
  .counter-value {
    font-size: 22px;
  }
  
  .counter-plus,
  .counter-percent {
    font-size: 18px;
  }
  
  .counter-label {
    font-size: 11px;
  }
  
  .about-section-badge {
    padding: 6px 16px;
    font-size: 12px;
    margin-bottom: 20px;
  }
  
  .about-main-heading {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }
  
  .about-description {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  .about-highlight-heading {
    font-size: 1.25rem;
    margin: 20px 0 18px;
  }
  
  .modern-about-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Counter Number Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-value.animated {
  animation: countUp 0.6s ease-out;
}

