/* Matters Card Effects */

.matters-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;

    /* Soft default shadow */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);

    /* Smooth transitions */
    transition: 500ms all ease;

    /* Performance */
    will-change: transform, box-shadow;
    transform: translateZ(0);

    position: relative;
    overflow: hidden;
}

/* Glow Border */
.matters-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;

    /* Transparent border */
    border: 2px solid transparent;

    /* Hidden glow */
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);

    transition:
        border 0.35s ease,
        box-shadow 0.35s ease;

    pointer-events: none;
}

/* Hover Effect */
.matters-card:hover {
    background: rgb(249 115 22);
    color: white !important;
    /* Main shadow */
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.45);
}

/* Border Glow on Hover */
.matters-card:hover::before {
    border: 2px solid rgba(249, 115, 22, 0.8);

    /* Glow */
    box-shadow:
        0 0 15px rgba(249, 115, 22, 0.6),
        0 0 30px rgba(249, 115, 22, 0.4);
}

/* Heading & paragraph color */
.matters-card:hover h3,
.matters-card:hover p {
    color: white !important;
}

/* Grid Span Classes */
.top-card {
    grid-column: span 2;
}

.bottom-card {
    grid-column: span 3 !important;
}

@media (max-width: 768px) {

    .top-card,
    .bottom-card {
        grid-column: span 1 !important;
    }
}

section.about-sec {
    background: url('../images/about-image.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
}

section.about-sec::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgb(37 99 235 / 19%);
    top: 0;
    left: 0;
    z-index: -1;
}

.vision-card {
    padding: 25px;
    border-radius: 1rem;
    background: white;
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.work-cards {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.work-cards:hover {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.do-it-cards {
     transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

}
.do-it-cards:hover{
     transform: translateY(-8px);

  /* Blue glow shadow */
  box-shadow: 
    0 10px 25px rgba(37, 99, 235, 0.25),
    0 0 20px rgba(37, 99, 235, 0.15) !important;

  border-color: rgb(37, 99, 235);
}