/* 
 * Wanderlust Chronicles - Main Stylesheet
 * A complete CSS for a vacation blog website
 */

/* ==============================
 * Base Styles & Typography
 * ============================== */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333333;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f1c40f;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

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

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

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

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

li {
    margin-bottom: 0.8rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 2.4rem;
}

.logo img {
    height: 5rem;
    width: auto;
    margin-right: 1rem;
    border-radius: 50%;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
}

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

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.6rem;
    padding: 0.8rem 0;
    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);
}

.menu-toggle {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
}

/* ==============================
 * Hero Section
 * ============================== */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 12rem 2rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ==============================
 * Featured Posts Section
 * ============================== */
.featured-posts {
    padding: 8rem 0;
}

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

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

.post-card {
    background-color: white;
    border-radius: 8px;
    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 {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.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: 2rem;
}

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

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

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.2rem;
}

.read-more:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.read-more:hover:after {
    width: 100%;
}

.view-all {
    text-align: center;
    margin-top: 5rem;
}

/* ==============================
 * Vacation Timeline Section
 * ============================== */
.vacation-timeline {
    background-color: var(--light-color);
    padding: 8rem 0;
}

.vacation-timeline h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 5rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: -12rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -12rem;
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.timeline-item:before {
    content: '';
    position: absolute;
    top: 0;
    right: -0.7rem;
    width: 2rem;
    height: 2rem;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(even):before {
    right: auto;
    left: -0.7rem;
}

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

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

.newsletter p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.newsletter-form input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1.6rem;
}

.newsletter-form button {
    padding: 1.5rem 3rem;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 25%;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 6rem;
    width: auto;
    margin-bottom: 1.5rem;
    border-radius: 50%;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    flex: 0 0 100%;
    max-width: 20%;
    margin-bottom: 3rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 2rem;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-contact {
    flex: 0 0 100%;
    max-width: 25%;
    margin-bottom: 3rem;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 2rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 1rem;
    color: var(--primary-color);
}

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

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

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

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

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 1.4rem;
}

/* ==============================
 * Blog Page
 * ============================== */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.page-banner h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.page-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.8rem;
}

.blog-content {
    padding: 8rem 0;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.search-bar input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1.6rem;
}

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

.category-filter select {
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.6rem;
    min-width: 200px;
}

.blog-grid {
    margin-bottom: 4rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.post-meta .date,
.post-meta .category {
    margin-right: 2rem;
    color: var(--text-light);
}

.post-meta .category {
    color: var(--primary-color);
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.pagination a {
    background-color: var(--light-color);
    color: var(--text-color);
}

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

.pagination .next {
    display: flex;
    align-items: center;
}

.pagination .next i {
    margin-left: 0.5rem;
}

/* ==============================
 * Blog Post Page
 * ============================== */
.blog-post {
    margin-bottom: 4rem;
}

.post-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 15rem 0 5rem;
    color: white;
}

.post-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.post-header .container {
    position: relative;
    z-index: 1;
}

.post-header h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 4.8rem;
}

.post-header .post-meta {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-header .post-meta .category,
.post-header .post-meta .date,
.post-header .post-meta .author {
    color: white;
    margin-right: 2rem;
}

.post-header .post-excerpt {
    font-size: 2rem;
    max-width: 800px;
}

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

.post-spell-check {
    float: right;
    margin-bottom: 2rem;
}

.post-introduction {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.post-section {
    margin-bottom: 5rem;
}

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

.post-section h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.post-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.post-conclusion {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

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

.post-author img {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    margin-right: 3rem;
    object-fit: cover;
}

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

.author-info h4 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.post-navigation a {
    display: block;
    color: var(--text-color);
}

.post-navigation .nav-label {
    display: block;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.post-navigation .post-title {
    font-weight: 600;
    color: var(--primary-color);
}

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

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

.post-comments {
    margin-bottom: 5rem;
}

.post-comments h2 {
    margin-bottom: 3rem;
}

.comment {
    display: flex;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.comment-avatar {
    flex: 0 0 8rem;
    margin-right: 2rem;
}

.comment-avatar img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

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

.comment-meta h4 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

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

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

.comment-form {
    margin-top: 4rem;
}

.comment-form h3 {
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

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

.form-checkbox input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

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

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 0 0 100%;
    max-width: 40%;
}

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

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

.info-icon {
    flex: 0 0 5rem;
    height: 5rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
    color: var(--primary-color);
}

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

.social-media {
    margin-top: 4rem;
}

.social-media h3 {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--light-color);
    border-radius: 50%;
    margin-right: 1.5rem;
    transition: var(--transition);
    color: var(--dark-color);
}

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

.contact-form-container {
    flex: 0 0 100%;
    max-width: 55%;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form .form-group {
    flex: 0 0 100%;
}

.contact-form .form-group:nth-child(1),
.contact-form .form-group:nth-child(2),
.contact-form .form-group:nth-child(3) {
    flex: 0 0 48%;
}

.form-submit {
    text-align: right;
    width: 100%;
}

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

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

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

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

.faq-item {
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: white;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

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

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

.faq-answer p {
    margin-bottom: 0;
}

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

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

/* ==============================
 * About Page
 * ============================== */
.about-story {
    padding: 8rem 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image {
    flex: 0 0 100%;
    max-width: 40%;
    padding-right: 5rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 0 0 100%;
    max-width: 60%;
}

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

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

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

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    color: var(--text-light);
    font-size: 1.8rem;
}

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

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

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

.team-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-card h3 {
    margin: 2rem 0 0.5rem;
    font-size: 2rem;
}

.team-card p {
    margin: 0 2rem 1.5rem;
    color: var(--text-light);
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card .social-icons {
    justify-content: center;
    margin-bottom: 2rem;
}

.values-section {
    padding: 8rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 5rem;
}

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

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

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

.value-icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    padding: 0 2rem;
}

.testimonial-content {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: white transparent;
}

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

.testimonial-author {
    margin-top: 3rem;
    margin-left: 5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

.modal-content {
    background-color: white;
    padding: 4rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

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

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

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

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

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

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

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

.cookie-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cookie-btn {
    padding: 1rem 2rem;
    margin: 0 1rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.cookie-btn.decline {
    background-color: var(--text-light);
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-3px);
}

.cookie-policy {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.cookie-policy a {
    text-decoration: underline;
}

/* ==============================
 * Spell Check Button
 * ============================== */
.spell-check-button {
    margin: 2rem 0;
}

.spell-check-button button {
    background-color: var(--light-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.spell-check-button button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==============================
 * Responsive Styles
 * ============================== */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-image,
    .about-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-image {
        margin-bottom: 3rem;
        padding-right: 0;
    }
    
    .contact-info,
    .contact-form-container {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-info {
        margin-bottom: 5rem;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 80px;
    }
    
    .timeline-item:before {
        left: 20px;
        right: auto;
    }
    
    .timeline-item:nth-child(even):before {
        left: 20px;
    }
    
    .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin-bottom: 1.5rem;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .blog-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar,
    .category-filter {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author img {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-form .form-group:nth-child(1),
    .contact-form .form-group:nth-child(2),
    .contact-form .form-group:nth-child(3) {
        flex: 0 0 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .post-header h1 {
        font-size: 3.2rem;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 2rem;
        margin-right: 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        margin: 0.5rem 0;
    }
    
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
