/* Modern About Us Detail Section Styles */

/* Section Container */
.modern-about-us-detail {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.modern-about-us-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(3, 50, 112, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.modern-about-us-detail .container {
  position: relative;
  z-index: 1;
}

/* Images Wrapper */
.modern-about-images-wrapper {
  position: relative;
  padding-right: 100px;
  padding-bottom: 180px;
  margin-right: 30px;
}

/* Image 1 */
.modern-about-img-1 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.modern-about-img-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3, 50, 112, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.modern-about-img-1:hover::before {
  opacity: 1;
}

.modern-about-img-1:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.modern-about-img-1 img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.modern-about-img-1:hover img {
  transform: scale(1.05);
}

/* Image 2 */
.modern-about-img-2 {
  position: absolute;
  width: 100%;
  max-width: 385px;
  bottom: 0;
  right: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.modern-about-img-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3, 50, 112, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.modern-about-img-2:hover::before {
  opacity: 1;
}

.modern-about-img-2:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.modern-about-img-2 img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.modern-about-img-2:hover img {
  transform: scale(1.05);
}

/* Experience Counter - positioned fully inside image so text is not clipped */
.modern-experience-counter {
  position: absolute;
  top: 15px;
  left: 15px;
  height: 152px;
  width: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  border: 6px solid #64b5f6;
  transform: translate(0, 0);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(3, 50, 112, 0.3);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.modern-experience-counter:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.4);
  border-color: #90caf9;
}

.modern-experience-counter h3 {
  font-size: 34px;
  color: #ffffff;
  text-align: center;
  width: 100%;
  margin-bottom: 5px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
  padding: 0 4px;
}

.modern-experience-counter p {
  font-weight: 600;
  line-height: 1.3em;
  text-transform: capitalize;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
  font-size: 0.8125rem;
  padding: 0 4px;
  word-break: break-word;
}

/* Feedback Counter */
.modern-feedback-counter {
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(-180deg) translate(20px, -20px);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.modern-feedback-counter p {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  border-radius: 50%;
  margin: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(3, 50, 112, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.modern-feedback-counter:hover p {
  background: linear-gradient(135deg, #2196f3 0%, #033270 100%);
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.modern-feedback-counter h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
  color: #033270;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* Content Area */
.modern-about-content {
  padding-left: 30px;
}

.modern-about-header {
  margin-bottom: 40px;
}

.modern-about-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2196f3;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-about-label i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.modern-about-label:hover i {
  transform: translateX(5px);
}

.modern-about-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #033270;
  margin-bottom: 25px;
  line-height: 1.3;
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.modern-about-description {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 25px;
}

.modern-about-us-detail .modern-about-highlight,
.modern-about-highlight {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: #033270 !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
  position: relative !important;
  border-left: 5px solid #2196f3 !important;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(3, 50, 112, 0.08) 100%) !important;
  padding: 18px 24px 18px 32px !important;
  border-radius: 10px !important;
  display: block !important;
}

/* Services Section */
.modern-about-services {
  margin-top: 60px;
}

.modern-services-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #033270;
  margin-bottom: 30px;
}

.modern-services-list {
  margin-bottom: 30px;
}

.modern-services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-services-list ul li {
  position: relative;
  font-weight: 500;
  color: #033270;
  padding: 15px 0 15px 40px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.modern-services-list ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 15px;
  color: #2196f3;
  font-size: 18px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(3, 50, 112, 0.1) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modern-services-list ul li:hover {
  padding-left: 45px;
  color: #2196f3;
  background: rgba(33, 150, 243, 0.05);
  border-radius: 8px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom-color: transparent;
}

.modern-services-list ul li:hover::before {
  background: linear-gradient(135deg, #2196f3 0%, #033270 100%);
  color: #ffffff;
  transform: scale(1.1);
}

.modern-services-list ul li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/* Bottom Image */
.modern-about-bottom-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.modern-about-bottom-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.modern-about-bottom-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.modern-about-bottom-image:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .modern-about-us-detail {
    padding: 80px 0;
  }
  
  .modern-about-images-wrapper {
    padding-right: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-bottom: 40px;
  }
  
  .modern-about-img-2 {
    position: relative;
    max-width: 100%;
    margin-top: 30px;
  }
  
  .modern-about-content {
    padding-left: 0;
  }
  
  .modern-experience-counter {
    position: relative;
    transform: none;
    margin: 20px auto;
  }
  
  .modern-feedback-counter {
    position: relative;
    transform: none;
    writing-mode: horizontal-tb;
    margin: 20px auto;
    justify-content: center;
  }
  
  .modern-feedback-counter h3 {
    writing-mode: horizontal-tb;
  }
}

@media (max-width: 768px) {
  .modern-about-us-detail {
    padding: 60px 0;
  }
  
  .modern-about-images-wrapper {
    margin-bottom: 30px;
  }
  
  .modern-about-img-1,
  .modern-about-img-2 {
    border-radius: 15px;
  }
  
  .modern-experience-counter {
    height: 120px;
    width: 120px;
    padding: 12px;
  }
  
  .modern-experience-counter h3 {
    font-size: 26px;
  }
  
  .modern-experience-counter p {
    font-size: 0.75rem;
  }
  
  .modern-feedback-counter p {
    height: 60px;
    width: 60px;
    font-size: 16px;
  }
  
  .modern-about-title {
    font-size: 2rem;
  }
  
  .modern-about-description {
    font-size: 1rem;
  }
  
  .modern-about-bottom-image {
    border-radius: 15px;
    margin-top: 30px;
  }
}

.about-distinct {
  margin-top: 72px;
}

.about-distinct-head {
  margin-bottom: 28px;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2a92ad;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.about-kicker.light {
  color: #7fd4ea;
}

.apart-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(3, 50, 112, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(3, 50, 112, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apart-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 50, 112, 0.12);
}

.apart-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #033270, #2a92ad);
}

.apart-card h3 {
  color: #033270;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.apart-card p {
  color: #5c6b7a;
  margin: 0;
  line-height: 1.6;
}

.about-approach {
  margin-top: 48px;
  background: #fff;
  border-radius: 22px;
  padding: 36px 28px;
  border: 1px solid rgba(3, 50, 112, 0.08);
  box-shadow: 0 10px 30px rgba(3, 50, 112, 0.06);
}

.approach-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 20px;
  padding: 0;
}

.approach-steps li {
  position: relative;
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
  border: 1px solid rgba(42, 146, 173, 0.2);
  border-radius: 16px;
  padding: 22px 16px 18px;
  color: #033270;
  font-weight: 700;
  font-size: 1.05rem;
}

.approach-steps li span {
  display: block;
  color: #2a92ad;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.approach-steps li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2a92ad;
  z-index: 2;
  background: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.about-approach p {
  color: #5c6b7a;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-commitment {
  margin-top: 28px;
  border-radius: 22px;
  padding: 42px 36px;
  background: linear-gradient(135deg, #033270 0%, #0e4f86 55%, #2a92ad 100%);
  color: #fff;
}

.about-commitment h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 14px 0 12px;
  line-height: 1.25;
}

.about-commitment p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .approach-steps {
    grid-template-columns: 1fr 1fr;
  }

  .approach-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .approach-steps {
    grid-template-columns: 1fr;
  }

  .about-commitment,
  .about-approach {
    padding: 24px 18px;
  }
}

