/* ================================================================
   CUSTOM COLOR SCHEME
   Primary: #21a17f (Teal Green)
   Secondary: #86c4b6 (Light Teal)
   Accent: #1a8a6b (Darker Teal)
   Light: #e8f5f2 (Very Light Teal)
   ================================================================= */

:root {
    --primary-color: #21a17f;
    --secondary-color: #86c4b6;
    --accent-color: #1a8a6b;
    --light-teal: #e8f5f2;
    --dark-teal: #0f5d47;
    --gradient-primary: linear-gradient(135deg, #21a17f 0%, #86c4b6 100%);
    --gradient-light: linear-gradient(135deg, #e8f5f2 0%, #f0f9f6 100%);
}

/* ================================================================
   GLOBAL STYLES
   ================================================================= */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================= */

.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%) !important;
    box-shadow: 0 2px 20px rgba(33, 161, 127, 0.1);
    border-bottom: 3px solid var(--primary-color) !important;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.nav-link.active::after {
    width: 80%;
}

/* ================================================================
   CARDS & COMPONENTS
   ================================================================= */

.card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(33, 161, 127, 0.08) !important;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(33, 161, 127, 0.15) !important;
}

.card-body {
    padding: 2rem !important;
}

/* ================================================================
   DOWNLOAD LINKS - CUSTOM STYLING
   ================================================================= */

.list-group-item a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-decoration: none !important;
}

.list-group-item a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
}

.list-group-item a::after {
    content: ' 📥';
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.list-group-item a:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Alternative download icon using CSS */
.list-group-item a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.list-group-item a:hover::before {
    transform: scale(1.2) rotate(5deg);
}

/* ================================================================
   LIST GROUPS
   ================================================================= */

.list-group-item {
    border: none !important;
    border-radius: 12px !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(33, 161, 127, 0.08) !important;
    padding: 1.5rem !important;
}

.list-group-item:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 4px 20px rgba(33, 161, 127, 0.15) !important;
    background: var(--light-teal) !important;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================= */

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-teal) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.display-5 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
}

.lead {
    color: #5a6c7d !important;
    font-weight: 500 !important;
}

/* ================================================================
   BACKGROUNDS
   ================================================================= */

.bg-light {
    background: var(--gradient-light) !important;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================= */

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }
    
    .list-group-item {
        padding: 1rem !important;
    }
}

/* ================================================================
   ANIMATIONS
   ================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .list-group-item {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================================================
   CUSTOM UTILITIES
   ================================================================= */

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background: var(--gradient-primary) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}
