/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
    border: 3px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

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

.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(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

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

.btn-tertiary:hover {
    background-color: var(--border-color);
}

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

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

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-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(--secondary-color);
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    color: white;
    padding-right: 2rem;
}

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

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

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

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

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

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

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

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

.feature-card ul {
    text-align: left;
    list-style-type: none;
    padding-left: 0;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

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

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

.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(-10px);
    box-shadow: 0 15px 30px 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.1);
}

.post-content {
    padding: 1.5rem;
}

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

.post-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-block;
    position: relative;
}

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

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

.more-posts {
    text-align: center;
    margin-top: 3rem;
}

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

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

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

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

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

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

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

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

.footer-about {
    grid-column: span 2;
}

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

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

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

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

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

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

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

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

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

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

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

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

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

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

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

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

.cookie-content a {
    font-size: 0.875rem;
}

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

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

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.filter-container {
    margin-bottom: 3rem;
}

.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
}

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

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

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-filter button {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.category-filter button.active,
.category-filter button:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

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

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

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

.pagination a.next {
    width: auto;
    padding: 0 1rem;
    border-radius: var(--border-radius);
}

.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Subscribe Section */
.subscribe {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

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

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

/* Blog Post */
.blog-post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    padding: 5rem 0;
}

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

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

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

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

.post-content {
    padding: 2rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

.strategy-example, .warning-box, .callout, .disclaimer, .chart-container, .comparison-table, .expert-quote {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
}

.strategy-example h4, .warning-box h4, .callout h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
}

.disclaimer {
    background-color: #f8f9fa;
    border-left: 4px solid var(--text-secondary);
    font-size: 0.9rem;
}

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

.chart-info {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background-color: var(--secondary-color);
    color: white;
}

.expert-quote {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
}

.expert-quote blockquote {
    font-style: italic;
    margin-bottom: 1rem;
}

.expert-quote cite {
    display: block;
    text-align: right;
    font-weight: bold;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 2rem 0;
}

.post-tags span {
    margin-right: 1rem;
    font-weight: bold;
}

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

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

.post-share {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.post-share span {
    margin-right: 1rem;
    font-weight: bold;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 0.5rem;
    color: white;
    transition: var(--transition);
}

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

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

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

.post-share a.telegram {
    background-color: #0088cc;
}

.post-share a:hover {
    transform: translateY(-3px);
}

.post-author-bio {
    display: flex;
    padding: 2rem;
    margin: 2rem 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 2rem;
}

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

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

.author-info p {
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

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

.related-posts {
    margin: 2rem 0;
}

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

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

.related-post {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

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

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

.post-comments {
    margin: 2rem 0;
}

.post-comments h3 {
    margin-bottom: 1.5rem;
}

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

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

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

.comment-content {
    flex: 1;
}

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

.comment-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.comment-header span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

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

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

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

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

.form-group textarea {
    resize: vertical;
}

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

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

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

/* Sidebar */
.sidebar {
    margin-top: 1rem;
}

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

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

.search-widget form {
    display: flex;
}

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

.search-widget button {
    padding: 0.75rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

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

.categories-widget ul li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-color);
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.categories-widget ul li a:hover {
    color: var(--secondary-color);
}

.recent-post {
    display: flex;
    margin-bottom: 1.5rem;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.recent-post h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.recent-post span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.tags-cloud a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.subscribe-widget p {
    margin-bottom: 1rem;
}

.subscribe-widget form {
    display: flex;
    flex-direction: column;
}

.subscribe-widget input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

.timeline-item {
    padding: 1rem 0;
    position: relative;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid white;
    transform: translateY(-50%);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border: 4px solid white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

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

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    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);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

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

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

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

.expertise-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.expertise-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

.expertise-card ul {
    list-style-type: none;
    padding-left: 0;
}

.expertise-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

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

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

.testimonial {
    padding: 1.5rem;
}

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

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

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

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

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

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    border: none;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--secondary-color);
    color: white;
}

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

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

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

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

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

.contact-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-text p {
    margin-bottom: 0;
}

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

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

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

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

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

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

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

.faq-toggle {
    font-size: 1.25rem;
}

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

.faq-item.active .faq-answer {
    padding: 1.5rem;
    height: auto;
}

.faq-item.active .faq-question {
    background-color: var(--secondary-color);
    color: white;
}

.faq-item.active .faq-toggle i::before {
    content: '\f068';
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

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

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -12px;
        right: auto;
        border-right: 12px solid white;
        border-left: none;
    }
    
    .timeline-item::after {
        left: 40px;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .about-intro-content {
        grid-template-columns: 1fr;
    }
    
    .about-intro-text {
        order: 2;
    }
    
    .about-intro-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .blog-post-container {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .features-grid,
    .posts-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .legal-links {
        margin-bottom: 1rem;
    }
    
    .pagination a.next {
        display: none;
    }
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .post-header {
        padding: 1.5rem;
    }
    
    .post-featured-image {
        height: 250px;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}
