/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --grey-color: #95a5a6;
    --light-grey-color: #ecf0f1;
    --text-color: #333;
    --font-primary: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    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(--accent-color);
}

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

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.primary-btn:hover {
    background-color: #3d5d8a;
    color: white;
}

.secondary-btn {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
}

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

.tertiary-btn {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: underline;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header & Navigation */
header {
    position: relative;
    width: 100%;
}

.parallax-header {
    background-image: url('images/6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.page-header {
    height: 60vh;
}

.blog-header {
    height: 40vh;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
}

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

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

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

.nav-links a {
    color: white;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

.font-size-toggle {
    margin-left: 1rem;
}

#decreaseFontBtn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

#decreaseFontBtn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 10vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-title {
    text-align: center;
    max-width: 800px;
    margin: 8vh auto 0;
}

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

.page-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

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

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

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* Recent Posts Section */
.recent-posts {
    padding: 5rem 0;
    background-color: var(--light-grey-color);
}

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 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-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-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

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

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 2rem;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

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

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -20px;
    left: 20px;
}

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

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

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

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

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-bottom: 0;
}

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

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

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

.newsletter-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
}

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

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

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

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: block;
    margin-bottom: 0.8rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

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

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

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

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

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

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

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

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

.cookie-more-info {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Blog Page */
.blog-posts {
    padding: 5rem 0;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-grey-color);
    border-right: none;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    font-size: 1rem;
}

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

.category-filter select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    width: 200px;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

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

.post-category {
    background-color: var(--light-grey-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

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

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

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

.pagination .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

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

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

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

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

.our-mission {
    padding: 5rem 0;
    background-image: url('images/7.jpg');
    background-size: cover;
    color: white;
    position: relative;
}

.our-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.mission-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.value-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.team {
    padding: 5rem 0;
}

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

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

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

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

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

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

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

.member-title {
    color: var(--grey-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

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

.member-social a {
    color: var(--dark-color);
    transition: var(--transition);
}

.member-social a:hover {
    color: var(--accent-color);
}

.cta {
    padding: 5rem 0;
    background-image: url('images/8.jpg');
    background-size: cover;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

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

/* Contact Page */
.contact-info {
    padding: 5rem 0 3rem;
}

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

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

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

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

.info-card h3 {
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--grey-color);
    margin-bottom: 0.5rem;
}

.info-card .social-icons {
    justify-content: center;
    margin-top: 1rem;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--light-grey-color);
    background-image: url('images/9.jpg');
    background-size: cover;
    background-position: center;
}

.form-container {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

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

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input, .form-group textarea, .form-group select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-grey-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

.map-section {
    padding: 5rem 0;
}

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

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

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-item h3 {
    padding: 1.5rem;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-item h3 i {
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

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

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-content {
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

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

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

.close-btn {
    display: inline-block;
}

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

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

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

.post-header {
    padding: 2rem 2rem 0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.featured-image {
    margin-top: 2rem;
    height: 400px;
    overflow: hidden;
}

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

.post-content {
    padding: 2rem;
}

.post-intro {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

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

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

.quote-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--light-color);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.quote-box p {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.quote-author {
    text-align: right;
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-bottom: 0;
}

.info-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.info-box h3, .info-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box p:last-child, .info-box ul:last-child {
    margin-bottom: 0;
}

.image-block {
    margin: 2rem 0;
}

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

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-top: 1rem;
    margin-bottom: 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.author-bio {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    gap: 1.5rem;
}

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

.author-bio h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.author-bio p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.post-footer {
    padding: 2rem;
    border-top: 1px solid var(--light-grey-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags span, .post-share span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-grey-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

.post-share a {
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-grey-color);
    color: var(--dark-color);
    text-align: center;
    line-height: 35px;
    margin-left: 0.5rem;
}

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

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

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

.prev-post {
    text-align: left;
}

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

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

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

.related-posts {
    padding: 2rem;
    border-top: 1px solid var(--light-grey-color);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

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

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

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

.related-post h4 {
    padding: 1rem;
    margin-bottom: 0;
    font-size: 1rem;
}

.comments-section {
    padding: 2rem;
    border-top: 1px solid var(--light-grey-color);
}

.comments-section h3 {
    margin-bottom: 2rem;
}

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

.comment.reply {
    margin-left: 3rem;
}

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

.comment-content {
    flex: 1;
}

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

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

.comment-meta span {
    font-size: 0.9rem;
    color: var(--grey-color);
}

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

.reply-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

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

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

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-grey-color);
}

.search-widget .search-form {
    display: flex;
}

.about-widget .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.about-widget img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.about-widget p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget li {
    margin-bottom: 0.8rem;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.categories-widget span {
    background-color: var(--light-grey-color);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.recent-posts-widget .recent-posts {
    padding: 0;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    display: flex;
    gap: 1rem;
}

.recent-post img {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.recent-post-content span {
    font-size: 0.8rem;
    color: var(--grey-color);
}

.tags-widget .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-widget a {
    display: inline-block;
    background-color: var(--light-grey-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

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

.newsletter-widget p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-widget .newsletter-form {
    flex-direction: column;
    gap: 1rem;
}

/* Policy Pages */
.policy-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    margin-bottom: 3rem;
}

.policy-intro {
    margin-bottom: 3rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-grey-color);
}

.policy-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 1.5rem;
}

.refund-steps {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.refund-steps h3 {
    margin-top: 0;
}

.contact-info {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.policy-acknowledgement {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.policy-acknowledgement p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 200;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: flex;
        z-index: 300;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .post-footer {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

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

    .comment {
        flex-direction: column;
        gap: 1rem;
    }

    .comment.reply {
        margin-left: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }

    .prev-post, .next-post {
        max-width: 100%;
        text-align: center;
    }

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

    .blog-filters {
        flex-direction: column;
    }

    .search-bar {
        max-width: 100%;
    }

    .category-filter select {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .policy-content {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.slide-left {
    animation: slideLeft 0.8s ease forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utilities */
.font-size-sm {
    font-size: 0.9em;
}

.font-size-md {
    font-size: 1em;
}

.font-size-lg {
    font-size: 1.1em;
}
