/* ========================================
   MODERN MISSION & VISION SECTION
   Latest Design with Advanced Hover Effects
   ======================================== */

/* Section Container */
.about-g {
  background: linear-gradient(135deg, #033270 0%, #0a4d8c 50%, #033270 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-g::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.about-g::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 181, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 10s ease-in-out infinite 2s;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.about-g .container {
  position: relative;
  z-index: 1;
}

/* Section Header */
.about-g .mb-5 {
  margin-bottom: 4rem !important;
}

.about-g .display-tittle-45.white {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Mission & Vision Cards */
.mv-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Animated Border Gradient */
.mv-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #2196f3, #64b5f6, #2196f3, #42a5f5);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: borderGradient 3s ease infinite;
  z-index: -1;
}

@keyframes borderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mv-card:hover::before {
  opacity: 1;
}

/* Glow Effect */
.mv-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.mv-card:hover::after {
  width: 200%;
  height: 200%;
}

.mv-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(33, 150, 243, 0.3);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.3);
}

/* Icon Wrapper */
.mv-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.mv-icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(100, 181, 246, 0.2) 100%);
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.mv-icon-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.mv-card:hover .mv-icon-circle::before {
  animation: iconShine 1.5s ease;
}

@keyframes iconShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.mv-card:hover .mv-icon-circle {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(100, 181, 246, 0.3) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(33, 150, 243, 0.4);
}

.mv-icon {
  font-size: 48px;
  color: #64b5f6;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.mv-card:hover .mv-icon {
  color: #ffffff;
  transform: scale(1.1);
}

/* Card Title */
.mv-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.mv-card:hover .mv-title {
  transform: translateY(-3px);
  text-shadow: 0 4px 20px rgba(33, 150, 243, 0.5);
}

/* Card Description */
.mv-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 2;
  flex: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: color 0.4s ease;
}

.mv-card:hover .mv-description {
  color: #ffffff;
}

/* Card Background Pattern */
.mv-card-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
  pointer-events: none;
  z-index: 0;
}

/* Mission Card Specific */
.mv-card.mission-card .mv-icon-circle {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(66, 165, 245, 0.2) 100%);
}

.mv-card.mission-card:hover .mv-icon-circle {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.35) 0%, rgba(66, 165, 245, 0.35) 100%);
}

/* Vision Card Specific */
.mv-card.vision-card .mv-icon-circle {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
}

.mv-card.vision-card:hover .mv-icon-circle {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.35) 0%, rgba(33, 150, 243, 0.35) 100%);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .about-g {
    padding: 80px 0;
  }
  
  .mv-card {
    padding: 40px 32px;
  }
  
  .mv-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 28px;
  }
  
  .mv-icon {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .about-g {
    padding: 70px 0;
  }
  
  .about-g .mb-5 {
    margin-bottom: 3rem !important;
  }
  
  .mv-card {
    padding: 36px 28px;
    margin-bottom: 1.5rem;
  }
  
  .mv-icon-wrapper {
    width: 85px;
    height: 85px;
    margin-bottom: 24px;
  }
  
  .mv-icon {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .about-g {
    padding: 60px 0;
  }
  
  .about-g .mb-5 {
    margin-bottom: 2.5rem !important;
  }
  
  .mv-card {
    padding: 32px 24px;
  }
  
  .mv-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .mv-icon {
    font-size: 36px;
  }
  
  .mv-title {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .about-g {
    padding: 50px 0;
  }
  
  .mv-card {
    padding: 28px 20px;
  }
  
  .mv-icon-wrapper {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }
  
  .mv-icon {
    font-size: 32px;
  }
}

/* Animation on Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mv-card {
  animation: fadeInUp 0.8s ease-out backwards;
}

.mv-card.mission-card {
  animation-delay: 0.2s;
}

.mv-card.vision-card {
  animation-delay: 0.4s;
}

