/* Modern website styling for Education Development Association */

/* Base styles */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --accent-color: #FFC107;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --grey-light: #F5F5F5;
    --grey-medium: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .org-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    max-width: 160px;
    object-fit: contain;
}

.org-name {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.lang-switch {
    font-weight: 500;
}

.lang-switch .active {
    color: var(--primary-color);
    font-weight: 600;
}

.lang-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Content styling */
.content-card {
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 1.5rem;
}

.list-group-item {
    border-left: 4px solid var(--primary-light);
    margin-bottom: 0.5rem;
    padding: 1rem;
    transition: background-color 0.3s ease, border-left-color 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--grey-light);
    border-left-color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--grey-light);
    border-top: 5px solid var(--primary-color);
    color: var(--text-color);
}

.footer h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .org-name {
        display: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .footer .text-md-end {
        text-align: left !important;
        margin-top: 1.5rem;
    }
}