.elementor-widget-acadia_cards .cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.elementor-widget-acadia_cards .card {
    background: #A12C2F;
    border-radius: 16px;
    padding: 40px 30px 70px 30px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 300px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.elementor-widget-acadia_cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.elementor-widget-acadia_cards .card-icon {
    margin-bottom: 25px;
}

.elementor-widget-acadia_cards .card-icon svg {
    width: 50px;
    height: 50px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}

.elementor-widget-acadia_cards .card-icon i {
    font-size: 50px;
    color: #ffffff;
}

.elementor-widget-acadia_cards .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.elementor-widget-acadia_cards .card-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.elementor-widget-acadia_cards .card-arrow {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #A12C2F;
    border: 8px solid #fafafa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.elementor-widget-acadia_cards .card:hover .card-arrow {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.elementor-widget-acadia_cards .card-arrow svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

@media (max-width: 1200px) {
    .elementor-widget-acadia_cards .cards-container {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .elementor-widget-acadia_cards .cards-container {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 40px;
    }
}

/* Mobile Landscape Styles */
@media (max-width: 767px) {
    .elementor-widget-acadia_cards .cards-container {
        grid-template-columns: 1fr;
        display: grid;
        gap: 40px;
    }
    
    .elementor-widget-acadia_cards .card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        height: 200px; /* Slightly shorter for mobile */
        padding: 30px 20px 60px 20px; /* Adjusted padding for mobile */
    }

    .elementor-widget-acadia_cards .card-icon svg {
        width: 40px; /* Smaller icons for mobile */
        height: 40px;
    }

    .elementor-widget-acadia_cards .card-icon i {
        font-size: 40px; /* Smaller FontAwesome icons for mobile */
    }

    .elementor-widget-acadia_cards .card-title,
    .elementor-widget-acadia_cards .card-subtitle {
        font-size: 16px; /* Smaller text for mobile */
    }

    .elementor-widget-acadia_cards .card-arrow {
        width: 50px; /* Smaller arrow for mobile */
        height: 50px;
        border-width: 6px;
        bottom: -20px;
    }
}

/* Small Mobile Styles */
@media (max-width: 479px) {
    .elementor-widget-acadia_cards .card {
        max-width: 100%;
        height: 180px;
    }
}
