/* Base Styles and Variables */
:root {
    --primary-color: #5c6bc0;
    --primary-dark: #4755b4;
    --primary-light: #7986cb;
    --secondary-color: #ff7043;
    --secondary-dark: #e64a19;
    --secondary-light: #ff9e80;
    --bg-color: #ffffff;
    --bg-light: #f5f7ff;
    --bg-dark: #e8eaf6;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --header-height: 80px;
    --footer-bg: #263238;
    --footer-text: #eceff1;
}

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

html {
    font-size: 62.5%; /* 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: var(--bg-color);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 2rem;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 2rem;
}

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

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

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -3rem auto 4rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

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

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

.main-nav ul {
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 1rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(92, 107, 192, 0.1) 0%, rgba(255, 112, 67, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

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

/* Features Section */
.features {
    padding: 8rem 0;
}

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

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

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

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

.feature-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

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

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

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 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 8px 15px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 220px;
    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: 2rem;
}

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

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

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

.post-meta {
    color: var(--text-lighter);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.read-more i {
    transition: var(--transition);
}

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

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

/* Timeline Section */
.timeline {
    padding: 8rem 0;
    background-color: white;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.timeline-item {
    display: flex;
    margin-bottom: 6rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.timeline-date {
    width: 50%;
    padding-right: 5rem;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.8rem;
    padding-top: 0.2rem;
}

.timeline-content {
    width: 50%;
    padding-left: 5rem;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

/* Letter Section */
.letter {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.letter .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.letter-content {
    flex: 2;
    background-color: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.letter-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.2;
}

.letter-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.letter-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.signature {
    font-style: italic;
    text-align: right;
    font-weight: 600;
    margin-top: 3rem;
}

.letter-image {
    flex: 1;
}

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

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    padding: 0 2rem;
}

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

.testimonial-quote {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2.4rem;
    color: var(--primary-light);
    opacity: 0.3;
}

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

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

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

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

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 6rem;
}

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

.page-header p {
    color: var(--text-light);
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-content {
    padding-bottom: 8rem;
}

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

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.post-card.full {
    display: flex;
    flex-direction: column;
}

.post-card.full .post-image {
    height: 300px;
}

.post-card.full .post-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.post-card.full .post-meta {
    margin-bottom: 2rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
}

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

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.search-form input {
    flex: 1;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

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

.search-form button:hover {
    background-color: var(--primary-dark);
}

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

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

.categories-widget li:last-child {
    margin-bottom: 0;
}

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

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

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.popular-post {
    display: flex;
    gap: 1.5rem;
}

.popular-post-image {
    width: 8rem;
    height: 8rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.popular-post-content h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.popular-post-content h4 a {
    color: var(--text-color);
}

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

.popular-post-content .post-date {
    font-size: 1.3rem;
    color: var(--text-lighter);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tags-cloud a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

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

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

.newsletter-form input {
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* Blog Single Post */
.blog-single {
    padding-bottom: 8rem;
}

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

.post-header h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

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

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

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

.post-content h2 {
    font-size: 2.8rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

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

.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-callout {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    border-left: 5px solid var(--primary-color);
}

.post-callout h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.post-callout p {
    margin-bottom: 0;
}

.post-callout.important {
    border-left-color: var(--warning-color);
}

.post-callout.important h3 {
    color: var(--warning-color);
}

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

.post-image-center img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.image-caption {
    text-align: center;
    color: var(--text-lighter);
    font-style: italic;
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 4rem 0;
}

.tags-title {
    font-weight: 700;
    margin-right: 1rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.share-title {
    font-weight: 700;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
}

.share-link.facebook {
    background-color: #3b5998;
}

.share-link.twitter {
    background-color: #1da1f2;
}

.share-link.linkedin {
    background-color: #0077b5;
}

.share-link.whatsapp {
    background-color: #25d366;
}

.share-link.email {
    background-color: #848484;
}

.share-link:hover {
    opacity: 0.8;
    color: white;
    transform: translateY(-3px);
}

.post-author-bio {
    display: flex;
    gap: 3rem;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

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

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

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

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

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

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: white;
    color: var(--text-color);
    font-size: 1.6rem;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

.post-navigation-links {
    display: flex;
    justify-content: space-between;
}

.post-prev, .post-next {
    display: flex;
    flex-direction: column;
    max-width: 45%;
}

.post-next {
    text-align: right;
    align-items: flex-end;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-lighter);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 700;
    color: var(--text-color);
    transition: var(--transition);
}

.post-prev:hover .nav-title, .post-next:hover .nav-title {
    color: var(--primary-color);
}

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

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

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

.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(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

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

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

.related-post h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.related-post h4 a {
    color: var(--text-color);
}

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

.related-post .post-date {
    padding: 0 1.5rem 1.5rem;
    display: block;
    color: var(--text-lighter);
    font-size: 1.3rem;
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    margin: 0 auto;
}

.comments-title {
    margin-bottom: 3rem;
}

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

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

.comment:last-child {
    margin-bottom: 0;
}

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

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

.comment-content {
    flex: 1;
}

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

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

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

.comment-text p {
    margin-bottom: 1.5rem;
}

.comment-actions {
    display: flex;
    gap: 2rem;
}

.reply-button {
    color: var(--primary-color);
    font-weight: 600;
}

.comment.reply {
    margin-left: 8rem;
    margin-top: 2.5rem;
}

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

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

.form-group {
    grid-column: span 2;
}

.form-group.half {
    grid-column: span 1;
}

.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: var(--border-radius);
    font-size: 1.6rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
}

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

.required {
    color: var(--error-color);
}

/* About Us Page */
.about-intro {
    padding-bottom: 8rem;
}

.about-intro .container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-content {
    flex: 3;
}

.about-content h2 {
    color: var(--primary-color);
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 2;
}

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

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

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px 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: 2.5rem;
}

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

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

.member-bio {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

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

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

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

.value-icon {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.value-card h3 {
    margin-bottom: 1.5rem;
}

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

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

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

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.cta-section {
    padding: 8rem 0;
    text-align: center;
    background-color: white;
}

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

.cta-content h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

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

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 3rem;
    color: var(--text-light);
}

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

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

.info-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

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

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

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

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

.contact-form .form-group {
    grid-column: span 2;
}

.contact-form .form-group.half {
    grid-column: span 1;
}

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

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

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

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

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

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

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

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

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

.modal.show {
    display: flex;
}

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

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.8rem;
    cursor: pointer;
    color: var(--text-lighter);
    transition: var(--transition);
}

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

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

.thank-you-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.modal-close-btn {
    margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

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

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

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

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

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

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3, .footer-links h3, .footer-posts h3, .footer-contact h3 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.footer-about p {
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

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

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

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

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

.footer-links li, .footer-posts li {
    margin-bottom: 1.5rem;
}

.footer-links a, .footer-posts a {
    color: var(--footer-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover, .footer-posts a:hover {
    opacity: 1;
    color: white;
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary-light);
    font-size: 1.8rem;
    margin-top: 0.3rem;
}

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

.copyright p {
    margin-bottom: 0;
    opacity: 0.8;
}

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

.footer-legal a {
    color: var(--footer-text);
    opacity: 0.8;
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: white;
}

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

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro .container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .letter .container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 3rem;
    }
    
    .timeline-dot {
        left: 3rem;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 6rem;
        padding-right: 0;
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 6rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comment-actions {
        justify-content: center;
    }
    
    .comment.reply {
        margin-left: 0;
    }
    
    .contact-form .form-group.half {
        grid-column: span 2;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    .post-navigation-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .post-prev, .post-next {
        max-width: 100%;
    }
    
    .post-next {
        align-items: flex-start;
        text-align: left;
    }
}
