.link {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

/* Base styles for the slider container */
.home-slider {
    min-height: fit-content; /* Ensure it adjusts dynamically */
    width: 100%;
    overflow: hidden;
}

/* Ensure slides adapt to content height */
.single-hero-slider {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    text-align: center; /* Center-align text */
    height: auto; /* Remove any fixed height */
    padding: 20px; /* Add padding for smaller screens */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .slider-content h1 {
        font-size: 1.8rem; /* Reduce font size for smaller screens */
    }

    .slider-content p {
        font-size: 1rem; /* Adjust paragraph text size */
    }

    .form-subcriber input {
        font-size: 0.9rem;
        padding: 8px;
    }

    .form-subcriber button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .single-hero-slider {
        padding: 10px 20px; /* Extra padding for smaller screens */
    }
}
