/* Base Styles */
:root {
    --primary-color: #4a6bde;
    --primary-dark: #3a55b4;
    --secondary-color: #19b3a6;
    --secondary-dark: #158f84;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f4f5f7;
    --medium-gray: #e1e4e8;
    --dark-gray: #4a4a4a;
    --white: #ffffff;
    --black: #000000;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin: 0 0 1.5rem 1.5rem;
}

button, .btn-primary, .btn-secondary {
    cursor: pointer;
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
}

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

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts */
.featured-posts {
    padding: 5rem 0;
    background-color: var(--white);
}

.featured-posts h2, .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

/* Daily Selection */
.daily-selection {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.daily-selection h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.selection-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.selection-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.selection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.selection-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.selection-item h3 {
    margin-bottom: 0.5rem;
}

.selection-item p {
    margin-bottom: 1.5rem;
}

/* Poll Section */
.poll-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.poll-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.poll-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.poll-container h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.poll-option {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
}

.poll-option input[type="radio"] {
    margin-right: 1rem;
}

.poll-option label {
    flex-grow: 1;
    cursor: pointer;
}

#poll-form {
    margin-bottom: 2rem;
}

#poll-form button {
    display: block;
    margin: 2rem auto 0;
}

#poll-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

#poll-results h4 {
    margin-bottom: 1.5rem;
}

.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.result-label {
    width: 40%;
    font-weight: 600;
}

.result-progress {
    flex-grow: 1;
    height: 20px;
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 10px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

.result-percentage {
    width: 50px;
    text-align: right;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--accent-color);
}

.newsletter-form button:hover {
    background-color: #e67e22;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--medium-gray);
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--medium-gray);
}

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

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 1rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-cookie.accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-cookie.customize {
    background-color: var(--medium-gray);
    color: var(--text-color);
}

.btn-cookie.reject {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-content a {
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Filters */
.blog-filters {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-label {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    font-weight: 600;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

.tag:hover, .tag.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Blog Posts */
.blog-posts {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.blog-posts .post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-posts .post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

.post-tags {
    margin-top: auto;
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
    padding: 2rem 0 4rem;
    background-color: var(--light-gray);
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.page-link, .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: var(--transition);
}

.page-number {
    width: 40px;
    height: 40px;
    padding: 0;
}

.page-link:hover, .page-number:hover, .page-number.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link.disabled:hover {
    background-color: var(--white);
    color: var(--text-color);
}

.page-dots {
    padding: 8px;
}

/* Blog Post Single */
.blog-post {
    padding: 4rem 0;
    background-color: var(--white);
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content .post-image {
    margin: 2rem 0;
    height: auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-content .post-image img {
    width: 100%;
    height: auto;
}

.post-content .post-image figcaption {
    padding: 1rem;
    background-color: var(--light-gray);
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

.post-quote {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--light-gray);
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.post-quote blockquote {
    margin: 0;
}

.post-quote p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.post-quote cite {
    font-weight: 600;
    display: block;
    text-align: right;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 3rem 0;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    margin-bottom: 0;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    margin-bottom: 3rem;
}

.post-nav-prev, .post-nav-next {
    display: flex;
    flex-direction: column;
}

.post-nav-next {
    text-align: right;
}

.post-navigation span {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.post-navigation a {
    font-weight: 600;
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-post a {
    padding: 0 1rem 1rem;
    display: block;
    font-weight: 600;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
}

.comments-section > h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.comment {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-header h4 {
    margin-bottom: 0;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.comment-actions a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-actions i {
    margin-right: 5px;
}

.comment-form {
    margin-top: 3rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* About Page */
.about-intro {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-vision {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-box, .vision-box, .values-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-box i, .vision-box i, .values-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-box ul {
    text-align: left;
    margin-left: 1rem;
}

.team-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.25rem;
}

.member-role {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.achievements {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.achievements h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.achievement-text {
    color: var(--text-light);
}

.partners-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.partner {
    text-align: center;
}

.partner img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.testimonials {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 1rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 30px;
    text-align: center;
}

.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

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

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.contact-form button {
    justify-self: start;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 0 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: modalfade 0.3s;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 3rem;
    text-align: center;
}

.modal-body i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.modal-body h2 {
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin-bottom: 2rem;
}

@keyframes modalfade {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Code Block */
.code-block {
    background-color: #2f3542;
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-content, .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-nav-next {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 80px 0 0;
        transition: right 0.3s ease;
        z-index: 90;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
