/* Base Reset */

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #1f2f45;
    line-height: 1.6;
}

.dataAnalytics-hero {
    display: flex;
    align-items: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #f9d084, #fbd493);
}

.hero-image {
    margin-bottom: -1px;
}

.hero-container{
    width: 144%;
    height: 900px;
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, #f9b24a, #ffcf99); /* Add gradient */
    right: 0; /* Align to the right */
    z-index: 0; /* Ensure it appears behind the text */
}

.hero-text {
    flex: 1;
    max-width: 500px;
    z-index: 2; /* Ensure it appears above the background */
    position: relative; /* Position relative to the hero section */
    color: #0F3664;
    padding-top: 150px; /* Add padding to expand the container */
    padding-left: 80px;
}

.hero-text p {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.6;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-image img {
    max-width: 191%;
    position: relative;
    left: -91%;
}

.dataAnalytics-cards {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    grid-auto-rows: 250px;
    justify-content: center;
    gap: 2rem;
    background-color: #f4f7fa;
    grid-template-rows: repeat(2, auto);
    padding-top: 90px;
    padding-bottom: 90px;
}

.dataAnalytics-card {
    background-color: #0d2c54;
    color: white;
    text-align: center;
    width: 250px; /* Set a fixed width */
    height: 250px; /* Set a fixed height to make it more square */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.dataAnalytics-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 150;
}
.dataAnalytics-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.dataAnalytics-card p {
    font-size: 1rem;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    width: 100%;
    height: 30%;
}

.staffing-options {
    background-color: #fcd28d;
    padding: 4rem 2rem;
    text-align: center;
}

.options-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.option {
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: "FontAwesome";
    src: url("../fonts/FontAwesome.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.fa-da {
    /* pick up the font you just defined */
    font-family: "FontAwesome" !important;
    /* prevent browsers from trying to ligature or substitute characters */
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* better smoothing for WebKit and Firefox */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-size-da {
    font-size: 65px;
    color: white;
    padding-bottom: 10px;
}

/* Mobile Styles for Data Analytics Page */

/* General Mobile Adjustments */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem !important;
    }

    .hero-text p {
        font-size: 1.3rem !important;
    }

    .dataAnalytics-cards {
        grid-template-columns: repeat(2, 250px);
        padding: 60px 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Hero Section */
    .dataAnalytics-hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-container {
        width: 100%;
        height: auto;
        border-radius: 0;
        padding-bottom: 40px;
    }

    .hero-text {
        max-width: 100%;
        padding: 50px 30px 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem !important;
    }

    .hero-text p {
        font-size: 1.1rem !important;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        left: 0;
        position: static;
    }

    /* Cards Section */
    .dataAnalytics-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 50px 20px;
    }

    .dataAnalytics-card {
        width: 100%;
        height: 220px;
    }

    .icon-size-da {
        font-size: 50px;
    }

    /* Options Grid */
    .options-grid {
        flex-direction: column;
        align-items: center;
    }

    .option {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem !important;
    }

    .hero-text p {
        font-size: 1rem !important;
    }

    /* Convert to single column for mobile */
    .dataAnalytics-cards {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .dataAnalytics-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        min-height: 200px;
        padding: 20px 15px;
    }

    .dataAnalytics-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .icon-size-da {
        font-size: 45px;
        padding-bottom: 5px;
    }

    .staffing-options {
        padding: 2rem 1rem;
    }

    /* Fix any overflow issues */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}

/* Extra Small Phones */
@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 1.7rem !important;
    }

    .hero-text {
        padding: 40px 20px 20px;
    }

    .dataAnalytics-card {
        min-height: 180px;
    }

    .dataAnalytics-card h3 {
        font-size: 1.2rem;
    }

    .dataAnalytics-card p {
        font-size: 0.9rem;
    }

    .icon-size-da {
        font-size: 40px;
    }
}