.card-wrapper {
    position: relative;
    width: 300px;
    margin: auto;
    margin-bottom: 80px; /* Increased space for caption */
}


.services-style {
  
    background: var(--white);
    position: relative;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-style img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.card-wrapper .caption {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    z-index: 5; /* higher to ensure it stays on top of card */
}

.card-wrapper .caption h2 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #2c6b2f;
    text-transform: uppercase;
}
.swiper-slide {
    overflow: visible; /* Important to show caption outside */
}

    .ictnews-section {
            background-image: url('/path/to/your-leaf-bg.png'); /* اپنی bg path دیں */
            background-repeat: no-repeat;
            background-size: cover;
            border-radius: 12px;
            padding: 30px 15px;
            margin-bottom: 50px;
            position: relative; /* Ensure position for absolute child elements */
        }

        /* General Carousel Navigation Buttons */
       .ictnews-section .carousel-nav-btn {
            position: absolute;
            top: 59%; /* Vertically center */
            transform: translateY(-50%); /* Adjust for exact centering */
            background: #2E7D32;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            z-index: 9;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease;
        }

        .carousel-nav-btn:hover {
            background-color: #444;
        }

        /* Position nav buttons for ICT News Classes Slider */
       .ictnews-section #prevBtnICT { left: -40px; }
      .ictnews-section  #nextBtnICT { right: -40px; }


        /* Responsive for nav buttons */
        @media (max-width: 767px) {
            .carousel-nav-btn {
                width: 30px;
                height: 30px;
                font-size: 16px;
                top: 60% !important; /* Adjust vertical position for mobile */
            }

            /* ICT News Classes Slider buttons */
            #prevBtnICT { left: 5px !important; }
            #nextBtnICT { right: 5px !important; }
        }

        /* Styles for ICT News Card */
        .ictnews-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            box-sizing: border-box; /* Ensures padding/border included in element's total width/height */
       border: 1px solid #2E7D32;
        }

        .ictnews-card img {
            width: 100%;
            height: 180px; /* Adjust image height as needed */
            /* object-fit: cover; */
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .ictnews-card .date {
            background-color: #2E7D32; /* Light green for the date tag */
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.85em;
            font-weight: bold;
            display: inline-block;
            margin: 15px; /* Consistent margin */
        }

        .ictnews-card .card-content {
            padding: 0 15px 15px; /* Consistent padding */
        }

        .ictnews-card .card-content h5 {
            font-size: 1.1em;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .ictnews-card .download-btn {
            display: block;
            width: calc(100% - 0px); /* Fill available width within card-content padding */
            padding: 10px 15px;
            background-color: #2E7D32; /* Light green for the button */
            color: white;
            text-align: center;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            font-size: 0.95em;
            font-weight: bold;
            margin: 0; /* No extra margin here, let card-content padding manage spacing */
            transition: background-color 0.2s ease;
        }

        .ictnews-card .download-btn:hover {
            background-color: #2E7D32; /* Slightly darker green on hover */
        }
  