section {
    padding: 60px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  
  /* Section titles */
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
  }
  
  /* Soft section separators */
  .section-separator {
    text-align: center;
    padding: 40px 0;
    background: #fff; 
    color: #fff;
  }
  
  .section-separator h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
  }
  
  @media (max-width: 767px) {
    .section-title{
      font-size: 32px; 
    } 
  
    .section-separator h3 {
      font-size: 32px; 
    }
  
    .intro-title{
      font-size: 32px !important; 
    }
  
    .intro-description{
      font-size: 20px !important; 
    }
  }
  
  .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }
  
  .card-container {
    position: relative;
  }
  
  .card-scroll {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
    scroll-behavior: smooth;
  }
  
  /* Scroll Buttons */
  .scroll-btn-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  
  .scroll-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    z-index: 3;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
  }
  
  .scroll-btn:hover {
    background-color: rgba(255, 255, 255, 1);
  }
  
  .scroll-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .card {
    min-width: 270px;
    max-width: 270px;
    background-color: #dbdbdb; /* Dark background color */
    color: #333;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  /* Elegant card hover effect with rounded corners */
  .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
  }
  
  .card-image {
    position: relative;
    width: 100%;
    padding-bottom: 85%;
    /* This sets the 4:3 aspect ratio */
    overflow: hidden;
  }
  
  /* Ensure the image fills the container */
  .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image maintains aspect ratio and fills the space */
  }
  
  .card-content {
    padding: 15px;
    text-align: center;
  }
  
  .card-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .card-content p {
    font-size: 1.1rem;
    color: #333;
  }
  
  /* Title and Description Section */
  .intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    padding: 60px 0;
    position: relative;
    margin: 10px;
  }
  
  /* Images on the sides */
  .intro-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    /* Fixed width for side images */
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  
  .left-image {
    left: 0;
    background-image: url('/assets/img/activities/outdoor_games.jpg');
  }
  
  .right-image {
    right: 0;
    background-image: url('/assets/img/activities/mud_pool.jpg');
  }
  
  .gradient-divider {
    height: 20px;
    background: linear-gradient(to right, #f5f7fa, #e6f0f1, #f2e9e4); /* Very subtle pastel gradient */
  }
  
  /* Content in the center */
  .intro-content {
    z-index: 1;
    /* Keep the content above the images */
    max-width: 900px;
    /* Increase the maximum width for content */
    padding: 0 40px;
    /* Reduce padding for better spacing */
    text-align: center;
  }
  
  .intro-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .intro-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: #444;
    line-height: 1.8;
    letter-spacing: 0.5px;
    padding-bottom: 20px;
  }
  
  /* On smaller screens, hide the side images */
  @media (max-width: 1465px) {
    .intro-image {
        display: none;
    }
  
    .intro-section {
        padding: 60px 20px;
        /* Standard padding on mobile */
    }
  
    .intro-content {
        padding: 0;
        /* Remove extra padding on mobile */
        max-width: 100%;
        /* Allow content to take full width on mobile */
    }
  }