/* =========================================
   About Page Styles — Enhanced Modern
   ========================================= */

/* About Hero Section */
.about-hero {
  background: linear-gradient(50deg, rgba(34, 181, 115, 0.1) 0%, rgba(139, 198, 63, 0.04) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

/* Animated gradient mesh */
.about-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 181, 115, 0.08) 0%, transparent 65%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBackground 10s ease-in-out infinite;
}

/* Floating geometric shape */
.about-hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(34, 181, 115, 0.06);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphBackground 12s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes morphBackground {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

.about-hero p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  max-width: 800px;
  font-weight: 500;
}

/* About Section */
.about-section {
  padding: 100px 0;
  position: relative;
}

/* Section Header with animated underline */
.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(50deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
}

/* About Content Grid */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 0;
}

/* About Text */
.about-text {
  font-size: 1.05rem;
  line-height: 2;
  color: #555;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 35px;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(50deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 25px;
  text-align: justify;
  font-weight: 500;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* VMV Grid */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* VMV Card — 3D Lift */
.vmv-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdfb 100%);
  padding: 50px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(34, 181, 115, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 5px solid var(--primary-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Alternating accent borders */
.vmv-card:nth-child(2) {
  border-top-color: var(--primary-color);
}

.vmv-card:nth-child(3) {
  border-top-color: var(--slate);
}

.vmv-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 181, 115, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.vmv-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(34, 181, 115, 0.18);
}

.vmv-card:hover::before {
  transform: scale(1.5);
}

/* Gradient border reveal on hover */
.vmv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color), var(--primary-light));
  background-size: 200% 100%;
  transition: background-position 0.5s ease;
}

.vmv-card:hover::after {
  animation: gradientSlide 1.5s linear infinite;
}

/* Alternating gradient borders on hover */
.vmv-card:nth-child(2)::after {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color), var(--primary-light));
  background-size: 200% 100%;
}

.vmv-card:nth-child(3)::after {
  background: linear-gradient(90deg, #2d4563, var(--slate), #5a7faa);
  background-size: 200% 100%;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* VMV Icon — pulse on hover */
.vmv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(50deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(34, 181, 115, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alternating icon colors */
.vmv-card:nth-child(2) .vmv-icon {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  box-shadow: 0 10px 25px rgba(34, 181, 115, 0.25);
}

.vmv-card:nth-child(3) .vmv-icon {
  background: linear-gradient(135deg, #2d4563 0%, var(--slate) 100%);
  box-shadow: 0 10px 25px rgba(61, 90, 128, 0.25);
}

.vmv-card:hover .vmv-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(34, 181, 115, 0.35);
}

.vmv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.vmv-card p {
  color: #666;
  line-height: 1.85;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 60px;
}

/* Highlight Item — Hover Glow */
.highlight-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(50deg, rgba(34, 181, 115, 0.02) 0%, rgba(139, 198, 63, 0.02) 100%);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(34, 181, 115, 0.04);
}

.highlight-item:hover {
  background: linear-gradient(50deg, rgba(34, 181, 115, 0.06) 0%, rgba(139, 198, 63, 0.04) 100%);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(34, 181, 115, 0.08);
  border-color: rgba(34, 181, 115, 0.1);
}

/* Highlight Icon — animated background */
.highlight-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(50deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(34, 181, 115, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alternating highlight icon colors */
.highlight-item:nth-child(even) .highlight-icon {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  box-shadow: 0 8px 20px rgba(34, 181, 115, 0.2);
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 30px rgba(34, 181, 115, 0.3);
}

/* Highlight Text */
.highlight-text h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.highlight-text p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

/* =========================================
   Responsive Design for About Page
   ========================================= */

@media (max-width: 1200px) {
  .about-content-grid {
    gap: 60px;
  }

  .vmv-grid {
    gap: 30px;
  }

  .highlights-grid {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .about-hero {
    padding: 80px 0 60px;
    margin-top: 60px;
  }

  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .vmv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .about-hero h1 {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2.3rem;
  }

  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0 50px;
    margin-top: 50px;
  }

  .about-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .about-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-header {
    margin-bottom: 60px;
  }

  .section-header h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }

  .section-header h2::after {
    width: 70px;
    bottom: -10px;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .about-text h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .about-text p {
    margin-bottom: 18px;
    text-align: left;
  }

  .vmv-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .vmv-card {
    padding: 40px 25px;
  }

  .vmv-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .vmv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .vmv-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .highlight-item {
    gap: 20px;
    padding: 18px;
  }

  .highlight-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    font-size: 1.6rem;
  }

  .highlight-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .highlight-text p {
    font-size: 0.9rem;
  }

  .about-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 50px 0 40px;
    margin-top: 40px;
  }

  .about-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .about-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .about-content-grid {
    gap: 40px;
  }

  .about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .about-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .vmv-grid {
    gap: 20px;
  }

  .vmv-card {
    padding: 30px 20px;
  }

  .vmv-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .vmv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .vmv-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .highlights-grid {
    gap: 15px;
  }

  .highlight-item {
    gap: 15px;
    padding: 15px;
  }

  .highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.5rem;
  }

  .highlight-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .highlight-text p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .about-section {
    padding: 50px 0;
  }
}