/* ===============================
   VMV PREMIUM SECTION
================================ */
.vmv-section {
  position: relative;
  overflow: visible;  
  padding: 20px 0;
  margin-top: -40px;
}

/* ===============================
   CONTAINER
================================ */
.vmv-container {
position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
  text-align: center;
}

/* Header */
.vmv-header .vmv-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 40px;
  color: var(--color-dark);
}

.vmv-header .vmv-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* ===============================
   CIRCLE LAYOUT
================================ */
.vmv-circle-wrapper {
  position: relative;
  height: 680px;  /* increased to leave space for top card */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 120px;
}

/* ===============================
   CENTER CORE WITH LOGO
================================ */
.vmv-core {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #C8D6B8, #9CCC8C);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  box-shadow: 0 20px 60px rgba(0,0,0,.15), inset 0 0 20px rgba(255,255,255,.2);
  z-index: 5;
  animation: coreFloat 6s ease-in-out infinite;
}

/* Logo inside core */
.vmv-core .vmv-logo {
  width: 100px;
  margin-bottom: 2px;
}

/* Core Text */
.vmv-core h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  font-family: 'Playfair Display', serif;
}
.vmv-core p {
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* ===============================
   VMV CARDS
================================ */
.vmv-card {
  position: absolute;
  width: 270px;
  padding: 28px 24px;
  border-radius: 18px;
   min-height: 240px;
   background:linear-gradient(
        5deg,
        var(--card-bg-color) 0%,
        var(--color-secondary) 100%
    );
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: all .4s ease;
  z-index: 2;
}

.vmv-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,.18);
}

.vmv-card h3 {
  margin-bottom: 12px;
}

/* Icon Styling */
.vmv-icon {
  width: 56px;
  height: 56px;
  margin: auto;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #66bb6a, #81c784);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.vmv-icon img {
  width: 28px;
  height: 28px;
}
.vmv-card p {
    flex-grow: 1;
}

/* ===============================
   POSITIONING CARDS
================================ */
.vmv-card.vision {
  top: -120px; /* pushed down to avoid overlap with core */
  left: 50%;
  transform: translateX(-50%);
}

.vmv-card.mission {
  bottom: 40px;
  left: 6%;
}

.vmv-card.values {
  bottom: 40px;
  right: 6%;
}

/* ===============================
   CONNECTOR CIRCLE
================================ */
.vmv-circle-wrapper::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px dashed rgba(46,125,50,.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}


.leaf{
  position:absolute;
  width:60px;
  height:60px;

  background:url('/assets/images/leaf.png') no-repeat center/contain;

  opacity:.45;

  animation:floatLeaf 7s ease-in-out infinite;

  z-index:3; /* FIX: above background but below core */
  pointer-events:none;
}

/* LEFT SIDE LEAVES */
/* LEFT / TOP */
.leaf-1{
  top:5%;
  left:8%;
  animation-delay:0s;
}

/* RIGHT / MID */
.leaf-2{
  top:60%;
  right:50%;   /* better than left:72% */
  animation-delay:2s;
}

.leaf-3{
  top:25%;
  left:82%;
  animation-delay:1s;
}

.leaf-4{
  bottom:10%;
  right:5%;
  animation-delay:3s;
}


@keyframes floatLeaf{
  0%{
    transform:translateY(0) rotate(0deg);
  }

  50%{
    transform:translateY(-20px) rotate(12deg);
  }

  100%{
    transform:translateY(0) rotate(0deg);
  }
}

/* =========================================
   MOBILE FINAL FIX (FORCE RESET)
========================================= */
@media (max-width: 1024px) {

  /* RESET WRAPPER */
  .vmv-circle-wrapper {
    position: static !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: auto;
    margin-top: 30px;
  }

  /* REMOVE CIRCLE */
  .vmv-circle-wrapper::before {
    display: none;
  }

  /* LOGO TOP */
  .vmv-core {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    animation: none;
    padding: 40px; 
  }

  /* 🔥 CRITICAL: RESET ALL CARD POSITIONS */
  .vmv-card,
  .vmv-card.vision,
  .vmv-card.mission,
  .vmv-card.values {

    position: relative !important;

    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;

    transform: none !important;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;
    padding: 18px 16px;

    box-sizing: border-box;
    text-align: left;
  }

  /* TEXT */
  .vmv-card h3 {
    text-align: left;
    font-size: 18px;
  }

  .vmv-card p {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
  }

  /* REMOVE LEAVES */
  .leaf {
    display: none !important;
  }

}