/* 
* DeBridge Blog Styles
* A modern, responsive design for a blockchain technology blog
*/

/* Base Styles and Variables */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --dark-color: #1e293b;
    --light-dark: #334155;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --very-light-gray: #f8fafc;
    --white-color: #ffffff;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-code: 'Fira Code', monospace;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Typography & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--very-light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

button, .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

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

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

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

/* Header & Navigation */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 40px;
    border-radius: 0;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--very-light-gray);
}

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

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.post-content h3 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

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

/* Subscribe Section */
.subscribe {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

.subscribe-content h2 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.subscribe-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

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

.subscribe-form button:hover {
    background-color: var(--secondary-dark);
}

.subscribers-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

#subscriber-count {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Next Article Section */
.next-article {
    padding: 4rem 0;
    background-color: var(--white-color);
    text-align: center;
}

.next-article h2 {
    margin-bottom: 2rem;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-item p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

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

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

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

.footer-logo p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

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

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

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

.footer-links ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-contact p i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-gray);
}

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

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

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

/* Page Title Section */
.page-title {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0;
    text-align: center;
}

.page-title h1 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.page-title p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Blog Posts Listing */
.blog-posts {
    padding: 4rem 0;
}

.filter-options {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.search-bar {
    display: flex;
    max-width: 400px;
    width: 100%;
}

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

.search-bar button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 1rem;
}

.categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.categories span {
    font-weight: 600;
    color: var(--dark-color);
}

.categories ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.categories ul li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-gray);
    color: var(--gray-color);
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.categories ul li a:hover,
.categories ul li a.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    color: var(--dark-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a.next {
    width: auto;
    padding: 0 1rem;
}

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

.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-color);
}

/* Blog Post Detail Page */
.blog-post {
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 3rem;
}

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

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

.post-meta i {
    margin-right: 0.5rem;
}

.post-meta .post-category {
    margin-bottom: 0;
}

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

.post-featured-image img {
    width: 100%;
    border-radius: 0;
}

.post-content {
    margin-bottom: 3rem;
}

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

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

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

.post-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.post-quote cite {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--gray-color);
}

.post-image-container {
    margin: 2.5rem 0;
    text-align: center;
}

.post-image-container img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: italic;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    color: var(--dark-color);
}

.post-tags a {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--light-gray);
    color: var(--gray-color);
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.post-author-bio {
    display: flex;
    gap: 2rem;
    background-color: var(--very-light-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    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;
    border-radius: 50%;
}

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

.author-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.prev-post,
.next-post {
    max-width: 45%;
}

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

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

.post-navigation a {
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.post-navigation a:hover {
    color: var(--primary-color);
}

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

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

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

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

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

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

.related-post-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.1rem;
}

.related-post-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* About Page */
.about-mission,
.about-story {
    padding: 4rem 0;
}

.about-mission .container,
.about-story .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mission-content,
.story-content {
    flex: 1;
}

.mission-image,
.story-image {
    flex: 1;
}

.mission-image img,
.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

.about-values {
    padding: 4rem 0;
    background-color: var(--very-light-gray);
}

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

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

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.75rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.about-team {
    padding: 4rem 0;
}

.about-team h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray-color);
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

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

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

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
}

.member-title {
    padding: 0 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-bio {
    padding: 0 1.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    margin-top: 1.5rem;
}

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

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

.about-partners {
    padding: 4rem 0;
    background-color: var(--very-light-gray);
    text-align: center;
}

.about-partners h2 {
    margin-bottom: 1rem;
}

.about-partners > p {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray-color);
}

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

.partner-logo {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

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

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

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.contact-info,
.contact-form {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

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

.contact-info > p,
.contact-form > p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

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

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.social-connect {
    margin-top: 2.5rem;
}

.social-connect h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--very-light-gray);
    text-align: center;
}

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

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

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 4rem 0;
}

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

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

.faq-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--gray-color);
    margin-bottom: 0;
}

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

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s;
}

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

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

.close-modal:hover {
    color: var(--danger-color);
}

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

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

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

.modal-body p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.modal-btn {
    min-width: 150px;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
}

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

.cookie-content a {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-mission .container,
    .about-story .container {
        flex-direction: column;
    }
    
    .story-image {
        order: -1;
    }
    
    .post-grid,
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-post,
    .next-post {
        max-width: 100%;
        text-align: center;
    }
    
    .post-meta {
        justify-content: center;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .post-grid,
    .related-posts-grid,
    .values-grid,
    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .countdown {
        gap: 0.75rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-item span {
        font-size: 1.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
