.follow-section {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 20px;
}

.follow-header {
  text-align: left;
  margin-bottom: 30px;
}

.follow-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: -465px;
}

.follow-title::after {
  content: "→";
  font-size: 35px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  justify-content: center;
  width: 928px;
  margin: 0 auto;
  margin-left: 89px;
}

.video-item {
  width: 222px;
  height: 400px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.play-button {
  width: 60px;
  height: 60px;
  background: #c7c7c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 0.5px solid #00000044;
  z-index: 1;
  transition: all 0.3s ease;
}

.video-item:hover .play-button {
  opacity: 0.5;
  transform: scale(0.9);
}


.play-button::before {
  content: "▶";
  font-size: 20px;
  color: #ffffff;
  margin-left: 3px;
}

/* Sample video backgrounds */
.video-item:nth-child(1) {
  background: url(../img/ss-new.png);
  background-size: cover;
}

.video-item:nth-child(2) {
  background: url(../img/ss-2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.video-item:nth-child(3) {
  background: url(../img/ss-3.png);
      background-repeat: no-repeat;
      background-size: cover;
}

.video-item:nth-child(4) {
  background: url(../img/ss-4.png);
      background-repeat: no-repeat;
      background-size: cover;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .follow-title {
    font-size: 20px;
  }
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .video-item {
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0); /* No overlay by default */
  transition: background 0.3s ease;
}

.video-item:hover .video-overlay {
  background: rgba(0, 0, 0, 0.5); /* Black overlay appears on hover */
}

.video-text {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 0 10px;
  pointer-events: none;
}

.video-item:hover .video-text {
  opacity: 1;
  transform: translateY(0);
}

.video-item::after {
  content: "";
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  text-align: center;
  white-space: normal;
  padding: 0 10px;
  width: 90%;
}

.video-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.video-item:nth-child(1)::after {
content: "Why do so many elders take medicines without a doctor’s advice?\n\n🧾 High consultation fees\n⏳ Long hospital queues\n👵🏽 \"The chemist knows what to give\"\n📱 Trust in online remedies\n\nBut aging changes your body’s reaction to drugs.\nWhat worked in your 40s might harm you in your 70s.\nSelf-medication can delay diagnosis and cause serious harm.\n\n🩺 When in doubt, consult — not guess.";
  white-space: pre-line; /* enable line breaks */
  max-width: 90%;
  font-size: 14px; /* 👈 Font size */
  font-family: 'Raleway', sans-serif; /* 👈 Font family */
  font-weight: normal; /* 👈 Boldness */
  line-height: 20px;
}

.video-item:nth-child(2)::after {
  content: "“Decline isn’t inevitable.” — WHO\nMany late-life issues come from chronic conditions, not age itself.\nLet’s stop accepting pain, memory loss, or fatigue as “normal.”\nA quick check-up can bring relief, clarity, and years of better living.\n\n👁‍🗨 Reframe ageing. Restore dignity.\n\n🧠💓 #ElderWellbeing #SeniorAwareness #CareNotAssumptions #WHOFacts #CheckUpNotGiveUp";
  white-space: pre-line; /* enable line breaks */
  max-width: 90%;
  font-size: 14px; /* 👈 Font size */
  font-family: 'Raleway', sans-serif; /* 👈 Font family */
  font-weight: normal; /* 👈 Boldness */
  line-height: 20px;
}

.video-item:nth-child(3)::after {
  content: "The law says adult children must support their elderly parents.\nBut how often does that actually happen?\n The Maintenance and Welfare of Parents and Senior Citizens Act (2007) exists — but delays, lack of awareness, and barriers still leave many seniors struggling.\n💬 Let’s raise awareness. Tag someone who should know this.👵 Our seniors deserve more than laws — they deserve action.";
  white-space: pre-line; /* enable line breaks */
  max-width: 90%;
  font-size: 14px; /* 👈 Font size */
  font-family: 'Raleway', sans-serif; /* 👈 Font family */
  font-weight: normal; /* 👈 Boldness */
  line-height: 20px;
}


.video-item:nth-child(4)::after {
  content: "What happens after the work stops?\n\nOne day it’s meetings and deadlines.\nThe next day — silence.\n\nRetirement isn’t always freedom.\n\n💬 If you’ve ever felt that quiet emptiness — you’re not alone.\n\nThis isn’t the end of your story.\nIt’s just a pause… before a new beginning. 🌱";
  white-space: pre-line; /* enable line breaks */
  max-width: 90%;
  font-size: 14px; /* 👈 Font size */
  font-family: 'Raleway', sans-serif; /* 👈 Font family */
  font-weight: normal; /* 👈 Boldness */
  line-height: 27px;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.video-modal-content {
  display: flex;
  width: 90%;
  max-width: 1000px;
  height: 500px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.video-modal-content {
  overflow-y: auto;
  max-height: 95vh;
}