:root {
    --primary-dark: #093916;
    --primary-light: #eaa321;
    --secondary: #6c757d;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --glass-bg: rgba(255, 255, 255, 0.2);
     --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    color: var(--dark-text);
    overflow-x: hidden;
    transition: all 0.5s ease;
}

/* Main container transition */
.main-container {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Article View Styles */
.article-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.article-view.active {
    transform: translateY(0);
    opacity: 1;
}

.article-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
}

.article-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-category {
    background: var(--primary-dark);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-date {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}
.article-content h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 0.875em;
    font-weight: normal; /* make sure h4 is not bold */
}

.article-content h4 strong {
    font-weight: bold;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    color: var(--primary-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-button:hover {
    transform: translateX(-3px);
    background: white;
}
.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-category {
    background: var(--primary-dark);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-date {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.related-activities {
    background: var(--light-bg);
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: 40px;
}

.related-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 10px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 4px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9,57,22,0.1) 0%, rgba(9,57,22,0.5) 100%);
    z-index: 1;
}

.related-card-img {
    position: relative;
    z-index: 0;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card-body {
    padding: 15px;
}

.related-card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.related-card-date {
    font-size: 0.85rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

/* Activity Card */
.activity-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

/* Add this to your existing CSS */
.card-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9,57,22,0.1) 0%, rgba(9,57,22,0.7) 100%);
    z-index: 1;
}

.activity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 0;
}

.activity-card:hover .activity-card-img {
    transform: scale(1.05);
}

.card-badge-container {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.card-category {
    background: var(--primary-dark);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.card-date {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

.card-text {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.card-attendees {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* Category Color Variations */
.badge-music { background: #4361ee; color: white; }
.badge-food { background: var(--primary-light); color: #333; }
.badge-movies { background: #3a0ca3; color: white; }
.badge-comedy { background: #7209b7; color: white; }
.badge-games { background: #f72585; color: white; }
.badge-wellness { background: #4cc9f0; color: #333; }
.badge-art { background: #9d4edd; color: white; }

/* Status Color Variations */
.status-upcoming { background: #2ec4b6; color: white; }
.status-ongoing { background: #e71d36; color: white; }
.status-past { background: #6c757d; color: white; }
.status-popular { background: #ff9f1c; color: #333; }
.status-new { background: #8338ec; color: white; }

/* ====================== */
/* IMPROVED BUTTON STYLES */
/* ====================== */

/* Primary Button */
.btn-primary-custom {
    background-color:#eaa321;
    border-color:#eaa321;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(9, 57, 22, 0.2);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary-custom:hover, 
.btn-primary-custom:focus {
    background-color: #072a12;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(9, 57, 22, 0.3);
}

.btn-primary-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(9, 57, 22, 0.2);
}

/* Secondary Button */
.btn-secondary-custom {
    background-color: #eaa321;
    border-color: #eaa321;
    color: #333;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(234, 163, 33, 0.2);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-right: 10px;
}

.btn-secondary-custom:hover, 
.btn-secondary-custom:focus {
    background-color: #d5941d;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(234, 163, 33, 0.3);
}

.btn-secondary-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(234, 163, 33, 0.2);
}

/* Outline Button */
.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #093916;
    color: #093916;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-outline-custom:hover, 
.btn-outline-custom:focus {
    background-color: #093916;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(9, 57, 22, 0.2);
}

/* Light Button */
.btn-light-custom {
    background-color: white;
    border-color: white;
    color: #093916;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-light-custom:hover, 
.btn-light-custom:focus {
    background-color: #f8f9fa;
    color: #093916;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Small Button */
.btn-sm-custom {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Button with Icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Filter Buttons */
.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: white;
    border: 2px solid #eaa321;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    margin: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: #eaa321;
    color: #333;
    border-color: #eaa321;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(234, 163, 33, 0.2);
}

.filter-btn.active {
    background: #093916;
    color: white;
    border-color: #093916;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(9, 57, 22, 0.2);
}

/* Pulse Animation for Important Buttons */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 163, 33, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(233, 163, 33, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 163, 33, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Button Hover Effects */
.hvr-sweep-to-right:before {
    background: #eaa321;
}

.hvr-sweep-to-left:before {
    background: #093916;
}

/* Featured Activity */
.featured-activity {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 500px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.featured-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9,57,22,0.2) 0%, rgba(9,57,22,0.9) 100%);
    z-index: 1;
}

.featured-activity::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: var(--primary-dark);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
    color: white;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.5s;
    opacity: 0.9;
}

.featured-activity:hover .featured-content {
    transform: translateY(0);
    opacity: 1;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.countdown-item {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 15px;
    min-width: 80px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

/* Section Title */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--primary-light);
    border-radius: 5px;
}

/* Event Ribbon */
.event-ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    width: 120px;
    height: 30px;
    background: var(--primary-light);
    color: #333;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 2;
}


.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9,57,22,0.1) 0%, rgba(9,57,22,0.7) 100%);
    z-index: 1;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .featured-activity {
        height: 350px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .event-tabs {
        flex-wrap: wrap;
    }
    
    .article-header {
        height: 250px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.centered-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 80%; /* Adjust this to control the card's width */
}
.glass-card {
  margin-left: auto !important;
  margin-right: 10px !important;
}
    .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            margin-top: 10px;
        }
        
        .glass-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
        }
.glass-card {
  margin-left: auto !important;
  margin-right: auto !important;
}
.main-container {
  width: 100%;
  display: block;
}

.col-md-6 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}