/* Container & Layout */
.achievements-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .achievements-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .achievements-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Header & Search */
.achievements-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .achievements-header {
        flex-direction: row;
        align-items: center;
    }
}

.achievements-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #111827;
}

.achievements-subtitle {
    color: #4b5563;
    margin-top: 0.25rem;
}

.search-bar-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .search-bar-wrapper {
        width: 18rem;
    }
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Achievements Grid */
.achievements-grid {
      width: 100%;
     
}

@media (min-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .achievements-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Achievement Card */
.achievement-card {
      width: 100%;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
   
   
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease;
}

.achievement-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Gallery Layout - Side by Side & Bigger Images */
.achievement-gallery {
    width: 100%;
    height: auto;
 
}

.achievement-img-wrapper {
    float: left;
     background-color: #3b82f6;
    width: 400px; /* Adjust this value to make images wider/bigger */
    height: 400px;    /* Adjust height as needed */
    overflow: hidden;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
}

.achievement-img {
    float: left;
    width: 100%;
    height: 100%;
    
     object-fit: cover;  
    transition: transform 0.3s ease; 
    
}

.achievement-card:hover .achievement-img {
    transform: scale(1.03);  
}

/* Content */
.achievement-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.achievement-card-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.achievement-card-desc {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* Video Section */
.achievement-video-section {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.video-container {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #000000;
}

.video-frame {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

/* Empty State */
.no-achievements {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.no-achievements p {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: 2rem;
}