* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tilia-green: #184C34;
    --earth-beige: #E3D7C3;
    --leaf-vein-brown: #7A5E48;
    --soft-lime: #C6DCAB;
    --cloud-white: #FFFFFF;
    --deep-forest: #0F2A1E;
    --accent-gold: #D4AF37;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--tilia-green);
    background-color: var(--cloud-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(24, 76, 52, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(24, 76, 52, 0.12);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Georgia', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--tilia-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--accent-gold)
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--tilia-green);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--leaf-vein-brown);
}

.floating-language-selector {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Lato', sans-serif;
}

.language-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--tilia-green), var(--deep-forest));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(24, 76, 52, 0.3);
    transition: all 0.3s ease;
    color: var(--cloud-white);
    position: relative;
    overflow: hidden;
}

.language-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(24, 76, 52, 0.4);
}

.language-toggle i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.language-text {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--accent-gold);
    color: var(--deep-forest);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 20px;
    text-align: center;
}

.language-dropdown {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: var(--cloud-white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(24, 76, 52, 0.2);
    padding: 1.5rem;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--soft-lime);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--tilia-green);
    font-weight: 600;
    font-size: 1rem;
}

.language-header i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.translate-widget-floating .goog-te-combo {
    width: 100% !important;
    background: var(--cloud-white) !important;
    border: 2px solid var(--soft-lime) !important;
    border-radius: 15px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    color: var(--tilia-green) !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-family: 'Lato', sans-serif !important;
}

.translate-widget-floating .goog-te-combo:hover {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-1px) !important;
}

.translate-widget-floating .goog-te-combo:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
}

.cta-button {
    background: linear-gradient(135deg, var(--tilia-green), var(--deep-forest));
    color: var(--cloud-white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 76, 52, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(24, 76, 52, 0.3);
    background: linear-gradient(135deg, var(--deep-forest), var(--tilia-green));
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--tilia-green);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(24, 76, 52, 0.12);
    padding: 2rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1rem 0;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--tilia-green);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem;
    padding: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-nav-links a:hover {
    color: var(--accent-gold);
    background-color: rgba(198, 220, 171, 0.2);
    transform: translateX(5px);
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-links a:hover::after {
    width: 80%;
}

.mobile-nav-links a.active {
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.15);
    font-weight: 600;
}

.mobile-nav-links a.active::after {
    width: 80%;
}

.mobile-cta .cta-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.mobile-cta {
    text-align: center;
    margin-top: 2rem;
}

.page-header {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--earth-beige) 0%, var(--soft-lime) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaf" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15,3 Q22,15 15,27 Q8,15 15,3" fill="%23184C34" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23leaf)"/></svg>') repeat;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 120px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.header-content h1 {
    font-family: 'Georgia', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--tilia-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.header-content .highlight {
    color: var(--accent-gold);
    position: relative;
}

.header-content p {
    font-size: 1.3rem;
    color: var(--leaf-vein-brown);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.filter-section {
    padding: 60px 0;
    background: var(--cloud-white);
    border-bottom: 1px solid var(--earth-beige);
    position: sticky;
    top: 85px;
    z-index: 100;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--earth-beige);
    color: var(--tilia-green);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--tilia-green);
    color: var(--cloud-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 76, 52, 0.2);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--leaf-vein-brown);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--leaf-vein-brown);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.featured-section {
    padding: 80px 0;
    background: var(--earth-beige);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text .section-label {
    display: inline-block;
    background: var(--soft-lime);
    color: var(--tilia-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.featured-text h2 {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--tilia-green);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-text .date {
    color: var(--leaf-vein-brown);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--leaf-vein-brown);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--tilia-green), var(--deep-forest));
    color: var(--cloud-white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 76, 52, 0.2);
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 76, 52, 0.3);
}

.featured-image {
    background: var(--soft-lime);
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24, 76, 52, 0.15);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.content-section {
    padding: 80px 0;
    background: var(--cloud-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Georgia', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--tilia-green);
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--leaf-vein-brown);
    max-width: 700px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.content-item {
    background: var(--cloud-white);
    border: 1px solid rgba(24, 76, 52, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.content-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--soft-lime));
}

.content-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(24, 76, 52, 0.12);
}

.content-item.hidden {
    display: none;
}

.content-item .category {
    background: var(--soft-lime);
    color: var(--tilia-green);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.content-item h3 {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: var(--tilia-green);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-item p {
    color: var(--leaf-vein-brown);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--leaf-vein-brown);
    opacity: 0.8;
}

.content-item .read-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.content-item .read-link:hover {
    color: var(--tilia-green);
    transform: translateX(5px);
}

.resource-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-modal.active {
    display: flex;
    opacity: 1;
}

.resource-modal-content {
    background: var(--cloud-white);
    border-radius: 24px;
    max-width: 90vw;
    max-height: 90vh;
    width: 900px;
    box-shadow: 0 25px 80px rgba(24, 76, 52, 0.3);
    position: relative;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-modal.active .resource-modal-content {
    transform: scale(1);
}

.resource-modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.resource-modal-close {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--tilia-green);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resource-modal-close:hover {
    background: var(--tilia-green);
    color: var(--cloud-white);
    transform: rotate(90deg) scale(1.1);
}

.resource-modal-body {
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.resource-header {
    position: relative;
    background: linear-gradient(135deg, var(--earth-beige) 0%, var(--soft-lime) 100%);
    padding: 3rem 2rem 2rem;
}

.resource-image {
    margin-bottom: 2rem;
    text-align: center;
}

.resource-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(24, 76, 52, 0.2);
}

.resource-title-section {
    text-align: center;
}

.resource-category {
    background: var(--accent-gold);
    color: var(--deep-forest);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.resource-title {
    font-family: 'Georgia', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--tilia-green);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
}

.resource-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--leaf-vein-brown);
    font-size: 0.95rem;
    font-weight: 500;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-meta i {
    color: var(--accent-gold);
}

.resource-content {
    padding: 3rem 2rem;
    line-height: 1.8;
}

.resource-description {
    font-size: 1.2rem;
    color: var(--leaf-vein-brown);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.7;
}

.resource-full-content h3 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--tilia-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--soft-lime);
}

.content-text {
    color: var(--tilia-green);
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.resource-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
}

.resource-placeholder i {
    font-size: 3rem;
    color: var(--soft-lime);
    margin-bottom: 1rem;
}

.resource-placeholder p {
    color: var(--leaf-vein-brown);
    font-size: 1.1rem;
    margin: 0;
}

.resource-actions {
    background: var(--light-gray);
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

.resource-action-btn {
    background: var(--tilia-green);
    color: var(--cloud-white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.resource-action-btn:hover {
    background: var(--deep-forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 76, 52, 0.3);
}

.resource-modal-body::-webkit-scrollbar {
    width: 8px;
}

.resource-modal-body::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.resource-modal-body::-webkit-scrollbar-thumb {
    background: var(--soft-lime);
    border-radius: 4px;
}

.resource-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-modal.active {
    display: flex;
    opacity: 1;
}

.download-modal-content {
    background: var(--cloud-white);
    border-radius: 20px;
    max-width: 500px;
    width: 90vw;
    box-shadow: 0 25px 80px rgba(24, 76, 52, 0.3);
    position: relative;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-modal.active .download-modal-content {
    transform: scale(1);
}

.download-modal-header {
    background: linear-gradient(135deg, var(--tilia-green), var(--deep-forest));
    color: var(--cloud-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-modal-header h3 {
    margin: 0;
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
}

.download-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cloud-white);
    transition: all 0.3s ease;
}

.download-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.download-modal-body {
    padding: 2rem;
}

.download-resource-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.download-resource-icon {
    width: 50px;
    height: 50px;
    background: var(--soft-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tilia-green);
    font-size: 1.2rem;
}

.download-resource-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--tilia-green);
    font-size: 1.1rem;
}

.download-resource-details p,
.download-resource-details small {
    margin: 0;
    color: var(--leaf-vein-brown);
}

.download-options h4 {
    color: var(--tilia-green);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.download-format-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-option-btn {
    background: var(--cloud-white);
    border: 2px solid var(--earth-beige);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.download-option-btn:hover {
    border-color: var(--accent-gold);
    background: var(--soft-lime);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 76, 52, 0.1);
}

.download-option-btn i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 30px;
}

.download-option-btn span {
    font-weight: 600;
    color: var(--tilia-green);
    font-size: 1rem;
}

.download-option-btn small {
    color: var(--leaf-vein-brown);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

.download-option-btn .fas.fa-file-pdf {
    color: #dc3545;
}

.download-option-btn .fas.fa-file-alt {
    color: var(--tilia-green);
}

.download-option-btn .fas.fa-code {
    color: #6f42c1;
}

footer {
    background: var(--deep-forest);
    color: var(--cloud-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.staff-login {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.staff-login h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.staff-login .login-btn {
    background: linear-gradient(135deg, var(--accent-gold), #B8941F);
    color: var(--deep-forest);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.staff-login .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .floating-language-selector {
        bottom: 20px;
        right: 20px;
    }

    .language-toggle {
        width: 55px;
        height: 55px;
    }

    .language-toggle i {
        font-size: 1.3rem;
    }

    .language-dropdown {
        min-width: 220px;
        padding: 1.2rem;
        bottom: 70px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-header {
        height: 80vh;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 1rem;
        max-width: 350px;
    }
    
    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }

    .resource-modal-content {
        width: 95vw;
        max-height: 95vh;
        border-radius: 16px;
        margin: 0 1rem;
    }
    
    .resource-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .resource-content {
        padding: 2rem 1.5rem;
    }
    
    .resource-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resource-actions {
        padding: 1.5rem;
        flex-direction: column;
    }
    
    .resource-action-btn {
        justify-content: center;
    }
    
    .resource-title {
        font-size: 1.5rem;
    }
    
    .resource-description {
        font-size: 1.1rem;
    }

    .download-modal-content {
        width: 95vw;
        border-radius: 16px;
    }
    
    .download-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .download-modal-body {
        padding: 1.5rem;
    }
    
    .download-resource-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .download-option-btn {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .download-option-btn i {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .language-dropdown {
        right: -50px;
        min-width: 200px;
    }

    .container {
        padding: 0 0.5rem;
    }

    .newsletter {
        padding: 60px 0;
    }
}