/* This file is for minor custom styles not easily achieved with Tailwind utility classes */

/* Custom styles for the slanted background effect in the hero section */
html {
  scroll-behavior: smooth;
}

.hero-bg-skew {
    content: '';
    position: absolute;
    top: -50px; /* Adjust as needed */
    right: 0;
    width: 60%;
    height: 120%;
    background-color: #e6f2ff; /* Light blue shape on the right */
    transform: skewX(-20deg); /* The slanted edge */
    z-index: 1;
}

.z-500{
    z-index: 500 !important;
}

@media (min-width: 1024px) {
  .lg-h-13 {
    height: 13rem;
  }
}

.bg-center{
      background-position: center !important;
}
.bg-cover{
     background-size: cover !important;
}

.card-container {
    display: flex; /* Uses flexbox for horizontal layout */
    justify-content: center;
    gap: 20px; /* Space between cards */
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

.card {
    background-color: #ffffff;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 30px;
    flex: 1 1 300px; /* Flexible sizing: grows, shrinks, base width 300px */
    display: flex;
    flex-direction: column;
    text-align: left;
    min-height: 450px;
    max-width: 400px;
}
.card-image {
    width: 100px; /* Adjust size of the image as needed */
    height: auto;
    margin-left: 15px; /* Add some space between text and image */
    flex-shrink: 0; /* Prevents image from shrinking when space is tight */
}
.card-header h2 {
    color: #ef5350; /* The prominent pinkish-red color */
    margin-bottom: 10px;
    font-size: 26px;
    text-align: center;
    font-weight: 600;
}

.card-header p {
    color: #3c3b3b;
   text-align: center;
    margin-bottom: 20px;
    font-size: large;
    font-weight: 500;
    line-height: 20px;
}

.features-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px 0;
    color: #444;
    min-height: 170px;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    
    line-height: 1.3;
}

.features-list li .fas {
    color: #ef5350;
    position: absolute;
    left: 0;
    top: 3px;
}

 #enrol a {
    display: inline;
    position: fixed;
    bottom: 45px;
    left: 45px;
    z-index: 999999999;
    transition: all .25s ease;
    text-align: center;
    box-shadow: 0px 10px 14px -7px #dd0018;
    background: linear-gradient(to bottom, #e7000b 5%, #e13f51 100%);
    background-color: #e7000b;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 9px;
    text-shadow: 0px 1px 0px #3d768a;
    width: 20%;
 }
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
 #enrol a {
        position: fixed;
        bottom: 20px;
        left: 5px;
        z-index: 999999999;
        transition: 0.25s;
        text-align: center;
        width: 96%;
        box-shadow: 0 10px 14px -7px #e7000b;
        background: linear-gradient(to bottom, #e7000b 5%, #e13f51 100%);
      
        border-radius: 8px;
        display: inline-block;
        cursor: pointer;
        color: #fff;
        font-size: 25px;
        padding: 10px 9px;
        text-shadow: 0 1px 0 #e7000b;
    }
    #enrol a:hover {
        color: #c2c2c2;
    }
/* Specific placeholder text for clarity */
.laptop::after { content: "Laptop Illustration Placeholder"; }
.meeting::after { content: "Meeting Illustration Placeholder"; }
.test::after { content: "Test Illustration Placeholder"; }

/* Responsive design for smaller screens */
@media (max-width: 992px) {
    .card {
        flex: 1 1 100%; /* Stacks cards vertically on smaller screens */
        max-width: 100%;
    }

.xspt-8{
    padding-top: 35px;
}
    .card-container {
        flex-direction: column;
        align-items: center;
    }
}

