.square-container {
    width: 22rem;  /* Fixed width */
    height: 22rem; /* Fixed height to match width */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent overflow */
    border-radius: 15px; /* Optional: rounded corners */
}

.square-img {
    width: 100%; /* Stretch to fit width */
    height: 100%; /* Stretch to fit height */
    object-fit: cover; /* Ensures image fills square without distortion */
    object-position: center; /* Centers the image */
    display: block;
}


/* Ensure everything is aligned to the left */
.card-title,.card-center, .text-muted, p {
    text-align: left;
}
.card-title{
    font-size:2rem;
    font-weight: bold;
}
/* Style the center name (clickable title) */
.card-center {
    font-size: 1.5rem; /* Center name */
    font-weight: bold;
}

/* Style the training title */
.card-body h5 {
    font-size: 2rem; /* Title */
    font-weight: bold;
    margin-top: 5px;
}

/* Style the address */
.text-muted {
    font-size: 1rem; /* Address */
    margin-bottom: 5px;
}

/* Ensure the location paragraph is aligned */
p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.center-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin-bottom: 2rem; /* Push the card down slightly */
    margin-top: 2rem; /* Push the card down slightly */
}
.center-container-section {
    display: flex;
    justify-content: center; /* Center horizontally */
    
}

.card-custom {
    width: 70%; /* 60% of screen on PC */
    background: white;
    overflow: hidden; /* Keep image inside rounded corners */
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Keep aspect ratio */
}

@media (max-width: 768px) {
    .card-custom {
        width: 90%; /* Full width on small screens */
    }
}
.image-container {
    position: relative;
    width: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push content to edges */
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    
    z-index: 0;
}
.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 84, 148, 0.6); /* Purplish overlay */
    z-index: 1; /* On top of blur, behind content */
}
.image-container img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.overlay-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
}

.badge-row {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 0.4rem;
    margin-top: 0.5rem;
    width: 100%;         /* Take full row width */
}
.badge-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.3rem 0.4rem;
    font-size: 0.65rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.2rem;
    object-fit: contain;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    .overlay-content {
        max-width: 100%;
    }

    .badge-card {
        font-size: 0.65rem;
        min-width: 35%;
    }

    .badge-row {
        flex-wrap: wrap; /* Allow wrapping to next line */
        gap: 0.3rem;
    }

    .card-title {
        font-size: 1.2rem !important;
    }
}
/* Session Card */
.session-card {
    display: block;
    padding: 10px;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    transition: background 0.3s ease;
    text-decoration: none;
}
.session-card:hover {
    background: #f1f1f1;
}
.collapsible-card {
    width: 60%;
    max-width: 800px;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.collapsible-header {
    padding: 30px; /* Increase padding for a larger clickable area */
    background: #f8f9fa;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.3rem; /* Increase font size */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/* Ensure the title takes full space and pushes the icon to the right */
.collapsible-header h5 {
    flex-grow: 1;
    margin: 0;
}

.fa-chevron-up {
    margin-left: auto; /* Push the arrow to the right */
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}



.collapsible-body {
    padding: 15px;
    display: none; /* Initially hidden */
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6,.content ol,.content ul, .content li{
    font-size: initial; /* Resets to the default size */
}
/* Add styles for ordered and unordered lists */
.content ol {
    list-style-type: decimal; /* Use decimal numbers for ordered lists */
    margin-left: 0;
    list-style-position: inside;
}

.content ul {
    list-style-type: disc; /* Use bullet points for unordered lists */
    margin-left: 0;
    list-style-position: inside;
}

.content li {
    position: relative; /* Position relative for absolute positioning of markers */
}
.content h1 {
    font-size: 1.5rem; /* Example size for h1 */
}
.content h2 {
    font-size: 1.25rem; /* Example size for h2 */
}
.content h3 {
    font-size: 1rem; /* Example size for h3 */
}
.content h4 {
    font-size: 0.8rem; /* Example size for h4 */
}
.content h5 {
    font-size: 0.75rem; /* Example size for h5 */
}
.content h6 {
    font-size: 0.6rem; /* Example size for h6 */
}
@media (max-width: 991.98px) {
    .floating-download-box {
      position: relative !important;
      margin-top: 1rem;
    }
  }
  