
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    body {
      background-color: #f9f9f9;
    }

    .life-tamsa-wrapper {
     
      margin: 0 auto;
      padding: 40px 15px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .life-tamsa-heading {
      text-align: left;
      margin-bottom: 40px;
    }

    .life-tamsa-heading h2 {
        max-width: 1200px;
        margin: 0 auto;
      font-size: 20px;
      line-height: 1.6;
      color: #333;
      font-weight: 500;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 1000px;
      margin: 0 auto 40px auto;
    }

    .grid-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden; /* Important for cropping zoomed image */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease; /* Smooth zoom */
}

.grid-item:hover img {
  transform: scale(1.08); /* Zoom in */
}

    .life-tamsa-footer {
      text-align: center;
      margin-top: 20px;
    }

    .life-tamsa-footer p {
      margin-bottom: 15px;
      font-size: 16px;
      color: #333;
      line-height: 1.6;
    }

    .email {
      color: #ff0000;
      text-decoration: none;
      font-weight: bold;
      display: inline; /* Changed from inline-block to inline */
      position: relative;
    }

    .email::after {
      content: '';
      position: absolute;
      bottom: -2px; /* Adjusted bottom position */
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #ff0000;
      transform: scaleX(0); /* Start with no width */
      transform-origin: bottom right;
      transition: transform 0.4s ease;
    }

    .email:hover::after {
      transform: scaleX(1); /* Expand to full width */
      transform-origin: bottom left;
    }

    .cta-button {
      position: relative;
      display: inline-flex;
      align-items: center;
      background: linear-gradient(90deg, #ff0000 50%, #fff 50%);
      background-size: 200% 100%;
      background-position: right bottom;
      color: #ff0000;
      font-weight: bold;
      padding: 10px 20px;
      border-radius: 25px;
      text-decoration: none;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease, background-position 0.4s ease, color 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
    }

    .cta-button:hover {
      background-position: left bottom;
      color: #fff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      transform: scale(1.05);  /* Slightly scale the button */
    }

    .cta-button .arrow {
      margin-left: 8px;
      transition: transform 0.3s ease;
    }

    .cta-button:hover .arrow {
      transform: translateX(5px) scale(1.2);  /* Animate the arrow */
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .grid-container {
        grid-template-columns: 1fr;
      }

      .cta-button {
        font-size: 14px;
        padding: 8px 18px;
      }
    }

    @media (max-width: 480px) {
      .life-tamsa-heading h2 {
        font-size: 18px;
      }

      .life-tamsa-wrapper {
        padding: 20px 10px;
      }
    }

    
    .hero-container {
      min-height: 89vh; /* Better on mobile than 100vh */
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }


        /* For tablets and medium devices */
@media (max-width: 1024px) {
    .hero-container {
        min-height: 80vh;
    }
}

/* For small tablets and large phones */
@media (max-width: 768px) {
    .hero-container {
        min-height: 70vh;
    }
}

/* For smaller phones */
@media (max-width: 480px) {
    .hero-container {
        min-height: 60vh;
    }
}
        
        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            background-image: url("/images/Man\ Leaping.png"); /* Replace with your actual image path */
            background-size: cover;
            background-position: center;
        }
        
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5); /* Optional overlay for better text readability */
            z-index: 2;
        }
        
        .hero-text {
            z-index: 3;
            position: relative;
            padding: 0 2rem;
            color: #f8f8f8;
        }
        
        .hero-text h1 {
            font-size: 3rem;
            color: #f8f8f8;
            font-weight: 400;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .hero-text h2 {
            font-size: 2.5rem;
            font-weight: 400;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .red-text {
            color: #ff0000;
        }
        
        @media (max-width: 768px) {
            .hero-text h1 {
                font-size: 2rem;
            }
            
            .hero-text h2 {
                font-size: 1.6rem;
            }
        }
