/* 
* Canadian Real Estate Investment Guide Styles
* Modern and professional design for real estate investment blog
*/

/* ============= Base Styles ============= */
:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #f6ad55;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --gray-color: #718096;
    --light-gray: #e2e8f0;
    --border-radius: 8px;
    --box-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(--dark-color);
    background-color: var(--light-color);
}

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

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

a:hover {
    color: var(--secondary-color);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    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;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

li {
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 5px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: rgba(246, 173, 85, 0.1);
    border-radius: var(--border-radius);
}

blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

blockquote cite {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: normal;
    display: block;
    text-align: right;
}

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

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ============= Header & Navigation ============= */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    max-height: 60px;
}

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

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

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

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

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

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

/* ============= Hero Section ============= */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(44, 82, 130, 0.9) 0%, rgba(49, 130, 206, 0.9) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

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

/* ============= What You'll Learn Section ============= */
.what-youll-learn {
    padding: 5rem 0;
    background-color: white;
}

.what-youll-learn h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

.learn-item svg {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.learn-item h3 {
    margin-bottom: 1rem;
}

.learn-item ul {
    padding-left: 1.2rem;
}

.learn-item li {
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

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

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

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

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 0.8rem;
}

.cta-center {
    text-align: center;
}

/* ============= Testimonials Section ============= */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

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

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

.testimonial {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}

.testimonial .quote {
    position: absolute;
    top: -15px;
    left: 20px;
    color: var(--accent-color);
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: var(--box-shadow);
}

.testimonial p {
    margin-top: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: normal;
}

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

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

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

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

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    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: #e69b31;
}

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

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

.footer-about img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-about p {
    color: #a0aec0;
}

.registration {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 1rem;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-links ul li a {
    color: #a0aec0;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact address {
    font-style: normal;
    color: #a0aec0;
}

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

.footer-contact address p svg {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

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

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

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #718096;
    font-size: 0.9rem;
}

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

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

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

/* ============= Blog Page Styles ============= */
.blog-content {
    padding: 5rem 0;
}

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

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-image {
    overflow: hidden;
}

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

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

.blog-text {
    padding: 2rem;
}

.blog-category {
    display: inline-block;
    background-color: rgba(49, 130, 206, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-text h2 {
    margin-bottom: 0.5rem;
}

.blog-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-newsletter {
    margin-top: 3rem;
}

/* ============= About Page Styles ============= */
.about-mission {
    padding: 5rem 0;
    background-color: white;
}

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

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

.mission-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.mission-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

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

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

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

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

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    padding: 0 1.5rem 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(44, 82, 130, 0.1);
    color: var(--primary-color);
    margin: 0 0.3rem;
    transition: var(--transition);
}

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

.company-stats {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

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

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.approach-section {
    padding: 5rem 0;
    background-color: white;
}

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

.approach-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.approach-text ul {
    margin-bottom: 2rem;
}

.approach-text ul li {
    margin-bottom: 1rem;
}

/* ============= Contact Page Styles ============= */
.contact-content {
    padding: 5rem 0;
    background-color: white;
}

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

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

.contact-info p {
    margin-bottom: 2rem;
}

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

.info-icon {
    background-color: rgba(44, 82, 130, 0.1);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

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

.info-text p {
    margin-bottom: 0.3rem;
    color: var(--gray-color);
}

.hours {
    font-size: 0.9rem;
    font-style: italic;
}

.contact-social h3 {
    margin-bottom: 1rem;
}

.contact-social .social-icons {
    justify-content: flex-start;
    padding: 0;
}

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

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

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

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

.form-group {
    margin-bottom: 0;
}

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

.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.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.2);
}

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

.checkbox-group input {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form button {
    margin-top: 1rem;
}

.full-width {
    width: 100%;
}

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

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

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

.map-container img {
    width: 100%;
    height: auto;
}

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

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

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

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

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

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

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

.popup-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
}

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

.popup-icon {
    color: #48bb78;
    margin-bottom: 1.5rem;
}

.popup-content h2 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* ============= Blog Post Styles ============= */
.blog-post {
    padding: 5rem 0;
}

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

.post-header h1 {
    margin: 0.5rem 0 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

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

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.post-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

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

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

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

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.post-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

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

.image-caption {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
    padding: 0.8rem;
    background-color: #f8f9fa;
    margin-bottom: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.data-table th, 
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.data-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.data-table tr:nth-child(even) {
    background-color: rgba(44, 82, 130, 0.05);
}

.post-cta {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.post-cta h3 {
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.post-navigation-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prev-post, 
.next-post {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.prev-post a, 
.next-post a {
    display: block;
}

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

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

.next-post span:after {
    content: ' →';
}

.prev-post span:before {
    content: '← ';
}

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

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

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

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

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

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

.related-post h4 {
    padding: 1.2rem;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-newsletter {
    margin-top: 0;
}

/* ============= Cookie Banner ============= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    max-width: 800px;
}

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

.cookie-content a {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* ============= Responsive Styles ============= */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mission-content,
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .featured-posts,
    .testimonials,
    .newsletter,
    .about-mission,
    .team-section,
    .contact-content,
    .blog-post {
        padding: 3rem 0;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image img {
        height: 250px;
    }
    
    .post-navigation-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .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-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about img {
        margin: 0 auto 1rem;
    }
    
    .footer-contact address p {
        justify-content: center;
    }
    
    .contact-social .social-icons {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .learn-grid,
    .posts-grid,
    .testimonial-slider,
    .team-grid,
    .stats-grid,
    .faq-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        padding: 2rem 1.5rem;
    }
}
