﻿
/* Style for home page feature */

.tablinks {
    font-size: 1.1em;
    color: dimgrey;
}

.homeCardVariableSubtitle {
    padding-top: 5px;
    font-size: 1.05em;
    font-weight: bold;
    text-align: center;
    color: dimgrey
}

.homeCardVariableText {
    font-size: 1em;
    font-weight: normal;
    text-align: center;
}

.startnow {
    font-size: 18px;
}

.home-section-container {
    background-color: #fafafa;
    padding: 40px 0;
    margin-top: 0px;
    display: flex;
    flex-wrap: wrap; /* allows the items to wrap if more than one row is needed */
    justify-content: space-between; /* optional: spaces the cards evenly */
}

.home-feature {
    flex: 1;
    /*text-align: center;*/
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    /*transition: box-shadow 0.3s ease;*/
    /* height: 580px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 8px;
}

.home-feature-title {
    display: flex;
    flex-direction: row;
    /*justify-content: center;*/
    /*align-items: center;*/
}

/* Style for feature title */
.home-feature-subtitle {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}

/* Style for feature description */
.home-feature-description {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 20px;
}

/* Style for call-to-action button */
.home-cta-button {
    margin-top: 20px;
}

.home-startnow-button {
    font-size: 14px !important;
    padding: 8px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .home-feature {
        height: auto;
    }
}

/* Mobile (portrait and landscape) */
@media (max-width: 767px) {

    .startnow {
        font-size: 16px;
    }

    .home-startnow-button {
        font-size: 12px;
        padding: 3px !important;
    }

    .home-feature {
        height: auto;
        text-align: center;
    }

    .home-feature-title {
        justify-content: center;
    }

    .home-feature h1 {
        font-size: 28px;
        /*font-weight: bold;*/
        text-align: center;
    }

    /* Reduce text size for feature title on mobile */
    .home-feature-subtitle {
        font-size: 20px;
        margin-top: 15px;
        font-weight: 400;
        text-align: center;
    }
    /* Reduce text size and spacing for feature description on mobile */
    .home-feature-description {
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.4;
        text-align: center;
    }
    /* Reduce margin-top for call-to-action button on mobile */
    .home-cta-button {
        margin-top: 10px;
        font-size: 14px;
    }
        /*change button font of home cta button */
        .home-cta-button a {
            font-size: 14px;
        }
}

@media screen and (max-width: 1200px) {

    .tablinks {
        font-size: 0.9em;
        color: dimgrey;
    }

    .homeCardVariableSubtitle {
        padding-top: 3px;
        font-size: 0.95em;
        font-weight: normal;
        text-align: center;
    }

    .homeCardVariableText {
        font-size: 0.9em;
        font-weight: normal;
    }
}

@media screen and (max-width: 399px) {
    .tablinks {
        font-size: 0.7em;
        color: dimgrey;
    }
}