/* dark.css - Your current dark theme */
:root {
    --primary-dark: #3f2e1e;
    --primary-medium: #6b4e2e;
    --primary-light: #d2b48c;
    --accent-gold: #be9b5d;
    --text-light: #f4f1ee;
    --text-medium: #dcd2c2;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(to bottom, var(--primary-dark), var(--primary-medium));
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('../images/dfs.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 10;
    background-color: var(--primary-dark);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}


/* Burger menu styling */
.burgermenu {
    display: none; /* Hidden by default on desktop */
    position: relative;
    cursor: pointer;
    }

.burgermenu i {
    color: var(--text-light);
    font-size: 2rem;
    }

.burgermenu-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-dark);
    width: 150px;
    list-style: none;
    box-shadow: 0 4px 10px var(--shadow-dark);
    z-index: 100;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    margin-left: 10px;
    }

.burgermenu-links.show {
    display: block;
    }

.burgermenu-links li {
    padding: 0.75rem 1rem;
    }

.burgermenu-links a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    font-size: 1rem;
    transition: color 0.3s ease;
    }

.burgermenu-links a:hover {
    color: var(--accent-gold);
    }

.burgermenu-links a.active {
    color: var(--accent-gold);
    font-weight: bold;
    }

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 5px 10px;
    margin-left: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle i {
    margin-right: 5px;
}

.theme-toggle-label {
    font-size: 0.7rem;
}

.theme-toggle-mode {
    font-size: 0.9rem;
}

.theme-toggle-text {
    line-height: 0.8;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: white;
    text-shadow: 1px 1px 3px var(--shadow-dark);
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-card {
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 25px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 15px;
}

.article-image2 {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 15px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.date {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 10px;
    font-style: italic;
}

.article-excerpt {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-medium);
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.read-more:hover i {
    transform: translateX(3px);
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--text-medium);
}

.error-message {
    padding: 30px;
    background-color: rgba(255, 150, 150, 0.1);
    border-left: 3px solid #ff4545;
    color: var(--text-light);
    border-radius: 5px;
    text-align: center;
    margin: 40px 0;
}

/* Tags Section */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background-color: rgba(190, 155, 93, 0.2);
    color: var(--accent-gold);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
        
.tag:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-decoration: none;
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag-filter {
    background-color: rgba(190, 155, 93, 0.2);
    color: var(--accent-gold);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-filter:hover, .tag-filter.active {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.load-more {
    display: block;
    width: 200px;
    margin: 40px auto 0;
    padding: 12px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    text-align: center;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--text-medium);
}

footer {
    background-color: var(--primary-dark);
    padding: 50px 20px 30px;
    color: var(--text-medium);
    margin-top: 60px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-medium);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.social-link .bsky {
    width: 20px; /* Adjust as needed to match other icons */
    height: 20px; /* Adjust as needed to match other icons */
}

.social-link:hover .bsky {
    content: url("../images/bsky-dark.png");
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(220, 210, 194, 0.1);
    font-size: 0.9rem;
}

.search-container {
    margin-bottom: 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-medium);
}

.search-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--accent-gold);
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
}

.bsky {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}
        
.cta-button:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: var(--primary-dark);
    text-decoration: none;
}

.faq-section {
    margin-top: 60px;
}
    
.faq-section h2 {
    margin-bottom: 30px;
}
        
.faq-item {
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 20px;
}
        
.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}
        
.faq-answer {
    color: var(--text-medium);
}

.submit-button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
        
.submit-button:hover {
    background-color: var(--text-light);
}
    
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-weight: 600;
    display: none;
    }
        
.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    }
        
.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #F44336;
    color: #F44336;
    }

/* Contact Page */    
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
        
.contact-info {
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 30px;
    border-radius: 5px;
    }
        
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    }
        
.contact-method {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    }
        
.contact-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
    }
        
.contact-details {
    flex: 1;
}
        
.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-light);
    }
        
.contact-details p, .contact-details a {
    color: var(--text-medium);
    font-size: 1rem;
    }
        
.contact-details a:hover {
    color: var(--accent-gold);
    }
        
.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    }
        
.contact-form {
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 30px;
    border-radius: 5px;
    }
        
.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    }
        
.form-group {
    margin-bottom: 20px;
    }
        
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600;
    }
        
.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: var(--text-light);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    }
        
.form-control::placeholder {
    color: var(--text-medium);
    opacity: 0.7;
    }
        
.form-control:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--accent-gold);
    }
        
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    }

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    }
        
.form-input:focus {
    outline: 2px solid var(--accent-gold);
    }

.emptyspace {
    height: 250px;
    }


/* Sidebar styling */
.sidebar {
    background: rgba(107, 78, 46, 0.3);
    padding: 30px;
    border-radius: 5px;
    height: fit-content;
    }

.subscribe-form {
    margin-top: 30px;
    }
        
.submit-button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    }
        
.submit-button:hover {
    background-color: var(--text-light);
    }

/* Author Box */
.author-box {
    text-align: center;
    margin-bottom: 40px;
    }
        
.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-gold);
    }
        
.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    }
        
.author-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 20px;
} 

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    }

section h2 {
    margin-top: 60px;
    }

section h3 {
    margin-top: 40px;
    }


/* Resources Page Specific Styles */
/* Resource Tabs */
.resource-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap;
    }
.tab-button {
    padding: 12px 25px;
    background: rgba(63, 46, 30, 0.6);
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-medium);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--text-light);
    background: rgba(107, 78, 46, 0.4);
}

.tab-button.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    background: rgba(107, 78, 46, 0.4);
}

/* Resource Sections */
.resource-section {
    display: none;
}

.resource-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.section-intro {
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    }

.section-intro p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* Books Section */
.books-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-button {
    padding: 8px 15px;
    background: rgba(63, 46, 30, 0.6);
    border: none;
    border-radius: 20px;
    color: var(--text-medium);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    color: var(--text-light);
    background: rgba(107, 78, 46, 0.4);
}

.filter-button.active {
    color: var(--primary-dark);
    background: var(--accent-gold);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.book-card {
    display: flex;
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.book-cover {
    flex: 0 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-gold);
}

.book-cover img {
    width: 100%;    
}

.book-details {
    flex: 1;
    padding-left: 20px;
}

.book-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.book-author {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-style: italic;
    margin-bottom: 10px;
}

.book-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.book-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.book-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.book-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Glossary Section */
.glossary-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 40px;
}

#glossary-search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
}

#glossary-search-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

#glossary-search-button {
    padding: 12px 15px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#glossary-search-button:hover {
    background-color: var(--text-light);
}

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

.glossary-item {
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glossary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.glossary-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.glossary-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: rgba(63, 46, 30, 0.6);
    border-left: 3px solid var(--accent-gold);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(107, 78, 46, 0.4);
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-light);
    flex: 1;
    padding-right: 40px;
}

.faq-toggle {
    color: var(--accent-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer a {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .resource-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .books-filter {
        justify-content: center;
    }

    .glossary-list {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        flex-direction: column;
    }

    .book-cover {
        margin-bottom: 15px;
        width: 100%;
        padding: 20px;
    }

    .book-cover img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .book-details {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .section-intro p {
    font-size: 1rem;
    }

    .glossary-search {
        flex-direction: column;
    }

    #glossary-search-input {
        border-radius: 4px 4px 0 0;
        margin-bottom: 10px;
    }

    #glossary-search-button {
        border-radius: 0 0 4px 4px;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .articles-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    header {
        height: 30vh;
    }
    
    nav {
        padding: 15px 5%;
    }
    
    .nav-links {
        display: none;
    }

    .burgermenu {
        display: block; /* Show burger menu on mobile */
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .tag-filters {
        justify-content: center;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .emptyspace {
        height: 10px;
        }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info, form {
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    /* Ensure form inputs are properly sized */
    .form-control {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Adjust spacing for better mobile viewing */
    .contact-method {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    main {
        padding: 40px 20px;
    }
    
    .article-card {
        padding: 20px;
    }
}

#glossary{
    scroll-margin-top: 100px;
}

#books{
    scroll-margin-top: 100px;
}

#faq{
    scroll-margin-top: 100px;
}   
