:root {
    --primary: #2199e8;
    --accent: #ff8000;
    --text-light: #fff;
    --bg-dark: rgba(0, 0, 0, 0.6);
    --card-radius: 12px;
    --transition: 0.3s ease;
}

/* Reset and Basics */
* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: color var(--transition);
}

/* Headings */
h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Icon Stack */
.fa-stack {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Container & Rows */
.row.w-100 {
    width: 100%;
    margin: 0;
}


/* Figure/Image Card */
figure.backImg {
    border-radius: var(--card-radius);
    height: 25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow var(--transition);
}

figure.backImg:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.64);
}

/* Caption Overlay */
.snippetBody {
    padding: 1rem;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    color: var(--text-light);
    backdrop-filter: blur(3px);
}

/* "Continue Reading" Section */
.continue-reading {
    display: inline-block;
    margin-top: 0.5rem;
}

/*cool button effect*/
.coolBtm {
    outline: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 13px;
    background-color: transparent;
    position: relative;
    border: 1px solid #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    border-radius: 10px;
    font-weight: bold;
    width: auto;
    margin: 0 0 1rem;
}

.one {
    border-color: #2199e8;
    overflow: hidden;
    color: #fff;
}

.one .insider {
    background-color: #fff;
    width: 100%;
    height: 20px;
    position: absolute;
    left: -150px;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
}

.one:hover {
    background-color: #2199e8;
    color: #fff;
}

.one:hover .insider {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    left: 150px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .col-6 {
        width: 100%;
    }

    figure.backImg {
        height: 250px;
    }
}