:root {
    --primary-dark: #0d1117;
    --secondary-dark: #161b22;
    --accent-blue: #58a6ff;
    --text-light: #c9d1d9;
    --text-muted: #8b949e;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Header Styles */
.site-header {
    background-color: var(--secondary-dark);
    border-bottom: 1px solid #30363d;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue) !important;
}

.navbar-brand img {
    height: 30px;
    width: auto;
    margin-right: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23161b22" width="1200" height="600"/><g fill="%23238636" opacity="0.1"><circle cx="200" cy="100" r="2"/><circle cx="400" cy="200" r="1.5"/><circle cx="600" cy="150" r="2"/><circle cx="800" cy="300" r="1"/><circle cx="1000" cy="250" r="1.5"/><circle cx="300" cy="400" r="1"/><circle cx="700" cy="450" r="2"/><circle cx="900" cy="500" r="1.5"/></g></svg>');
    background-size: cover;
    background-position: center;
    min-height: 35vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), #7ee787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Content sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    color: var(--accent-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.card {
    background: linear-gradient(145deg, var(--secondary-dark), rgba(22, 27, 34, 0.8));
    border: 1px solid rgba(88, 166, 255, 0.2);
    color: var(--text-light);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 25px rgba(88, 166, 255, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(88, 166, 255, 0.05));
    border-bottom: 2px solid var(--accent-blue);
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
    line-height: 1.7;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
}

.activity-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(88, 166, 255, 0.1);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.activity-list li:hover {
    padding-left: 0.5rem;
    color: var(--accent-blue);
}

.activity-list li:last-child {
    border-bottom: none;
}

/* Social Media Links */
.social-links {
    text-align: center;
    padding: 2rem 0;
}

.social-link {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-dark);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-blue);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-dark);
    border-top: 1px solid #30363d;
    padding: 2rem 0;
    color: var(--text-muted);
}

/* Competitions Section */
.competitions-section {
    background-color: var(--secondary-dark);
    padding: 5rem 0;
    border-top: 1px solid #30363d;
}

.competition-card {
    background: linear-gradient(145deg, var(--primary-dark), rgba(13, 17, 23, 0.9));
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(88, 166, 255, 0.3);
    border-color: var(--accent-blue);
}

.competition-logo-img {
    max-width: 120px;
    height: auto;
    filter: brightness(1.1);
}

.logo-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.competition-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.competition-season {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.competition-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Statistics Styles */
.stats-card,
.competition-details-card {
    background: linear-gradient(145deg, var(--primary-dark), rgba(13, 17, 23, 0.8));
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stats-title,
.details-title {
    color: var(--accent-blue);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), transparent);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.2), rgba(126, 231, 135, 0.1));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), #7ee787);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.stats-note {
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.achievement-year,
.achievement-tier {
    font-weight: 500;
    color: var(--text-light);
}

.achievement-progress {
    height: 8px;
    background-color: #30363d;
}

.achievement-progress .progress-bar {
    background: linear-gradient(135deg, var(--accent-blue), #7ee787);
}

/* Accordion Styles */
.accordion-item {
    background-color: var(--secondary-dark);
    border: 1px solid #30363d;
    margin-bottom: 0.5rem;
}

.accordion-button {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    border: none;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.25);
}

.accordion-body {
    background-color: var(--primary-dark);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Gallery Placeholder */
.placeholder-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--secondary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #30363d;
    border-radius: 0.5rem;
}

.placeholder-image i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.placeholder-image p {
    color: var(--text-muted);
    margin: 0;
}

/* Leadership Card */
.leadership-card {
    background: linear-gradient(135deg, var(--secondary-dark), rgba(22, 27, 34, 0.6));
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.25);
    border-color: var(--accent-blue);
}

.leadership-card h5 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.leadership-card p {
    color: var(--accent-blue) !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievement Cards */
.achievement-card {
    background: linear-gradient(145deg, var(--secondary-dark), rgba(22, 27, 34, 0.9));
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(88, 166, 255, 0.2);
}

.achievement-year-header {
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.2), rgba(126, 231, 135, 0.1));
    padding: 1.75rem;
    border-bottom: 3px solid var(--accent-blue);
}

.achievement-year-header h3 {
    color: var(--text-light);
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.achievement-body {
    padding: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.4));
    border-radius: 0.75rem;
    border: 1px solid rgba(88, 166, 255, 0.2);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    border-color: var(--accent-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.15);
}

.achievement-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    margin-right: 1.25rem;
    min-width: 130px;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.achievement-badge.platinum {
    background: linear-gradient(135deg, rgba(186, 186, 225, 0.3), rgba(186, 186, 225, 0.15));
    color: #e0e0ff;
    border: 2px solid #babad1;
}

.achievement-badge.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
    color: #ffe55c;
    border: 2px solid #ffd700;
}

.achievement-badge.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.15));
    color: #e0e0e0;
    border: 2px solid #c0c0c0;
}

.achievement-text {
    color: var(--text-light);
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
}

.achievement-icon {
    font-size: 1.8rem;
    margin-right: 1rem;
}

/* Carousel Styles */
#galleryCarousel {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #30363d;
}

#galleryCarousel .carousel-inner {
    background-color: var(--secondary-dark);
}

#galleryCarousel .carousel-item {
    min-height: 400px;
}

#galleryCarousel img {
    object-fit: contain;
    max-height: 600px;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--accent-blue) !important;
}

/* Placeholder image styles */
.placeholder-image {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.4));
    color: var(--text-muted);
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-image p {
    font-size: 1.2rem;
    margin: 0;
}

/* Presentation card styles */
.presentation-icon {
    padding: 1.5rem 0;
}

.presentation-icon i {
    color: var(--accent-blue);
}

/* Empty state styles */
#emptyState i {
    color: var(--accent-blue);
    opacity: 0.3;
}

#emptyState h4,
#emptyState p {
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-badge {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
/* Slideshow Modal Styles */
#slideshowModal .modal-content {
    background-color: var(--secondary-dark);
    border: 1px solid rgba(88, 166, 255, 0.3);
}

#slideshowModal .modal-header {
    border-bottom: 1px solid rgba(88, 166, 255, 0.2);
}

#slideshowModal .modal-footer {
    border-top: 1px solid rgba(88, 166, 255, 0.2);
}

#slideshowModal .modal-title {
    color: var(--text-light);
}

#slideshowModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#slideshowContainer {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio for widescreen presentations */
    background-color: #f0f0f0;
}

#slideshowFrame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
