/* =====================================================
   About Cards
   ===================================================== */

.about-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.12),
        0 6px 12px rgba(0, 0, 0, 0.08);
}

.about-card-image {
    display: block;

    width: 100%;
    height: 400px;

    object-fit: cover;
    object-position: center;
}

.about-card .card-body {
    padding: 1.5rem;
}

.about-card .card-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.about-card .card-text {
    color: #5f6b7a;
    line-height: 1.6;
}

/* =====================================================
   Tablet
   ===================================================== */

@media (max-width: 991.98px) {

    .about-card-image {
        height: 320px;
    }

    .about-card .card-body {
        padding: 1.35rem;
    }
}

/* =====================================================
   Mobile
   ===================================================== */

@media (max-width: 767.98px) {

    .about-card-image {
        height: 280px;
    }

    .about-card .card-body {
        padding: 1.25rem;
    }

    .about-card:hover {
        transform: none;
    }
}

/* =====================================================
   Small Mobile
   ===================================================== */

@media (max-width: 575.98px) {

    .about-card-image {
        height: 240px;
    }

    .about-card .card-title {
        font-size: 1.25rem;
    }

    .text-center.mt-5 .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .text-center.mt-5 .btn.me-3 {
        margin-right: 0 !important;
    }
}