h3.txt-black { color: black; }

.diaspora {
    background-color: #efefef;
}

.diaspora-gray {
    background-color: #efefef; /*#f1f1f1;*/
}

.diasp-card {
    background-color: white;
    border: 0px solid #ddd; /* Light grey border for the card */
    border-radius: 4px; /* Rounded corners */
    padding: 20px;
    width: 100%; /* Set a fixed width for the card */
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); *//*Subtle shadow for depth */
    font-family: Verdana, sans-serif; /* Verdana font for the card */
    margin: 20px auto; /* Center the card horizontally with auto margins, and add vertical margin */
}

.diasp-card-title {
   /* font-size: 24px;*/ /* Font size for the title */
    color: #2e137e;; /* Black text color */
    margin: 0 0 10px; /* Margin below the title */
}

.diasp-card-body {
    font-size: 16px; /* Font size for the body text */
    color: black; /* Black text color */
    margin: 0; /* Remove default margin */
}

/* Additional styling for context */
.diasp-content, .diasp-more-content {
    margin: 0 20px;
    font-family: Verdana, sans-serif; /* Optional: ensures consistency if needed */
}


/* Ensure Font Awesome is included in your project */

/* Apply Verdana font to all text */
body, .steps-card-container, .steps-card {
    font-family: Verdana, sans-serif;
}

.steps-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Add spacing between cards */
    margin: 0;
    padding: 0;
}

.steps-card {
    flex: 1 1 calc(33.333% - 1rem); /* 3 columns on desktop, adjusted for gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    border: 0px solid #ddd;
    background-color: #fff;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    /* transition: transform 0.3s ease; */
    transition: background-color 1s ease-in-out, transform 0.3s ease;
    height: 300px; /* Adjust height as needed */
}

.steps-card:hover {
    background-color: #2e137e;
    transform: scale(1.03) ;
}

.steps-card:hover .steps-avatar, .steps-card:hover .steps-title, .steps-card:hover .steps-description {
    color:#fff;
}

.steps-avatar {
    font-size: 5rem; /* Adjust size as needed */
    color: #2e137e;
    margin-bottom: 1rem;
    transition: color 1s ease-in-out;
}

.steps-title {
    font-weight: bold;
    color: black;
    margin-bottom: 0.5rem;
    transition: color 1s ease-in-out;
}

.steps-description {
    color: black;
    transition: color 1s ease-in-out;
}


/* Responsive design */
@media (max-width: 992px) {
    .steps-card {
        flex: 1 1 calc(50% - 1rem); /* 2 columns on tablet, adjusted for gap */
    }
}

@media (max-width: 576px) {
    .steps-card {
        flex: 1 1 100%; /* 1 column on mobile */
    }
}

/* Compress Step Cards */

/* Step Cards Container */
.diasp-step-cards, .diasp-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Step Card Styling */
.diasp-step-card, .diasp-stats-card {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 1s ease-in-out, transform 0.3s ease;
    height: auto;
}

.v-icon { display:flex; align-items: center;}
.diasp-bold-black {
    font-weight: bold;
    color: black;
}

.diasp-step-card:hover, .diasp-stats-card:hover {
    background-color: #2e137e;
    transform: scale(1.03);
}

.diasp-step-card:hover i,
.diasp-step-card:hover .diasp-step-content .diasp-step-title,
.diasp-step-card:hover .diasp-step-content .diasp-step-description,
.diasp-stats-card:hover i,
.diasp-stats-card:hover .diasp-stats-content .diasp-stats-title,
.diasp-stats-card:hover .diasp-stats-content .diasp-stats-description {
    color: #fff;
}

/* Icon Styling */
.diasp-step-card i, .diasp-stats-card i {
    color: #2e137e;
    font-size: 5rem;
    margin-right: 1rem;
    transition: color 1s ease-in-out;
}

/* Content Area Styling */
.diasp-step-content, .diasp-stats-content {
    display: flex;
    flex-direction: column;
}

/* Title Styling */
.diasp-step-title, .diasp-stats-title {
    font-weight: bold;
    color: black;
    margin-bottom: 0.5rem;
    transition: color 1s ease-in-out;
}

/* Description Styling */
.diasp-step-description, .diasp-stats-description {
    color: black;
    transition: color 1s ease-in-out;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .diasp-step-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .diasp-stats-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .diasp-step-cards, .diasp-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .diasp-step-cards, .diasp-stats-cards {
        grid-template-columns: 1fr;
    }
}


/* Gallery Thumbnails */ 

.diasp-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns for desktop */
    gap: 16px; /* Space between thumbnails */
}

.diasp-thumbnail {
    position: relative; /* For absolute positioning of caption */
    overflow: hidden; /* Ensures corners are rounded */
    border-radius: 8px; /* Rounded corners */
    height: 200px; /* Set a fixed height for all thumbnails */
    text-decoration: none; /* Remove link decoration */
}

.diasp-thumbnail img {
    width: 100%; /* Ensure images fill the grid cell */
    height: 100%; /* Fill the height of the thumbnail */
    object-fit: cover; /* Ensure the image covers the thumbnail area */
    display: block; /* Ensure images behave like block elements */
    border-radius: 8px; /* Rounded corners for the image */
}

.diasp-caption {
    position: absolute; /* Position over the image */
    bottom: 0px; /* Position from the bottom */
    left: 0px; /* Position from the left */
    right: 0px;
    color: white; /* Caption text color */
    font-weight: bold; /* Bold caption */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 5px; /* Padding around text */
    border-radius: 4px; /* Rounded corners for caption background */
}

/* Tablet styles */
@media (max-width: 768px) {
    .diasp-thumbnail-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns for tablet */
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    .diasp-thumbnail-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for mobile */
    }
}
