/* Base Styles */
:root {
    --primary-color: #4b6cb7;
    --primary-dark: #3a5298;
    --primary-light: #718ad8;
    --secondary-color: #ff5722;
    --accent-color: #2ecc71;
    --dark-color: #333333;
    --medium-dark-color: #555555;
    --medium-color: #777777;
    --light-color: #f8f9fa;
    --medium-light-color: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --heading-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --content-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    font-size: 16px;
}

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

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

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

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

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

button, .btn {
    cursor: pointer;
    font-family: var(--body-font);
    transition: var(--transition);
}

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

section {
    padding: 4rem 0;
}

/* Utility Classes */
.center {
    text-align: center;
}

.flex {
    display: flex;
}

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

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

.grid {
    display: grid;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-dark {
    color: var(--dark-color);
}

.text-medium {
    color: var(--medium-color);
}

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

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

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

.bg-accent {
    background-color: var(--accent-color);
    color: white;
}

.bg-light {
    background-color: var(--light-color);
}

.bg-medium-light {
    background-color: var(--medium-light-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

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

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

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

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.btn-text svg {
    transition: var(--transition);
}

.btn-text:hover svg {
    transform: translateX(3px);
}

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

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

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

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

.nav-links li a {
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

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

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

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

.hero .slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

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

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

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

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

.feature-card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(75, 108, 183, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

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

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

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

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.post-card p {
    color: var(--medium-color);
    margin-bottom: 1.25rem;
}

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

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

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

.read-more:hover svg {
    transform: translateX(3px);
}

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

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

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    min-width: 300px;
    max-width: 400px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.testimonial .quote {
    color: rgba(75, 108, 183, 0.1);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.testimonial p {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial .author {
    text-align: right;
}

.testimonial .name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.testimonial .role {
    color: var(--medium-color);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

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

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

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

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

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

.newsletter-form button:hover {
    background-color: #e64a19;
}

/* Footer Styles */
footer {
    background-color: #212529;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #adb5bd;
    font-size: 0.9rem;
}

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

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-links ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

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

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

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.footer-contact svg {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

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

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

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

.footer-bottom p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.btn-cookie.accept:hover {
    background-color: #27ae60;
}

.btn-cookie.customize {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-cookie.customize:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-cookie.decline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-content a:hover {
    color: white;
}

/* Blog Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

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

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

.search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.search-form {
    display: flex;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--medium-color);
    transition: var(--transition);
}

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

.filter-dropdown select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    min-width: 200px;
}

.blog-posts {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

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

.post-image {
    overflow: hidden;
}

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

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

.blog-post .post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--medium-color);
}

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

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post h2 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.blog-post h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-post p {
    margin-bottom: 1.5rem;
}

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

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.pagination a {
    background-color: white;
    color: var(--dark-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

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

.pagination a.next, .pagination a.prev {
    width: auto;
    padding: 0 1rem;
    gap: 0.5rem;
}

/* Blog Post Page Styles */
.blog-post-header {
    padding: 4rem 0 2rem;
}

.blog-post-header .container {
    max-width: 800px;
}

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

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

.blog-post-header .featured-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.blog-post-content {
    padding: 4rem 0;
}

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

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

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

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

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

.post-content h4 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    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;
}

.post-content strong {
    font-weight: 600;
}

.content-box {
    background-color: var(--light-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.content-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.content-box.conclusion {
    background-color: var(--light-color);
    border-left: 4px solid var(--accent-color);
}

.content-image {
    margin: 2.5rem 0;
}

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

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

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    align-items: center;
}

.post-tags span {
    font-weight: 500;
    color: var(--medium-dark-color);
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--medium-dark-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-nav-prev, .post-nav-next {
    display: flex;
    flex-direction: column;
}

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

.post-navigation span {
    font-size: 0.85rem;
    color: var(--medium-color);
    margin-bottom: 0.5rem;
}

.post-navigation a {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.post-navigation a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

.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-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

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

.related-post a {
    color: var(--dark-color);
    text-decoration: none;
}

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

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

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

.comment {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.comment-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-author-badge {
    background-color: var(--primary-light);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.comment-date {
    color: var(--medium-color);
    font-size: 0.85rem;
}

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

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.reply-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

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

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

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

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

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

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

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

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

.widget h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.widget.about-author .author-info {
    text-align: center;
}

.widget.about-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.widget.about-author h4 {
    margin-bottom: 0.5rem;
}

.widget.about-author p {
    color: var(--medium-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.widget.about-author .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.widget.about-author .social-links a {
    color: var(--medium-color);
    transition: var(--transition);
}

.widget.about-author .social-links a:hover {
    color: var(--primary-color);
}

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

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.widget.popular-posts li {
    margin-bottom: 1.25rem;
}

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

.widget.popular-posts a {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.widget.popular-posts h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--dark-color);
    transition: var(--transition);
}

.widget.popular-posts span {
    font-size: 0.8rem;
    color: var(--medium-color);
}

.widget.popular-posts a:hover {
    text-decoration: none;
}

.widget.popular-posts a:hover h4 {
    color: var(--primary-color);
}

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

.widget.categories li {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget.categories a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.widget.categories span {
    background-color: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--medium-color);
}

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

.widget.tags a {
    display: inline-block;
    background-color: var(--light-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--medium-dark-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.widget.download .download-card, .widget.quiz .quiz-card, .widget.tool-recommendation .tool-card {
    text-align: center;
}

.widget.download img, .widget.tool-recommendation img {
    width: 120px;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: var(--border-radius);
}

.widget.download h4, .widget.quiz h4, .widget.tool-recommendation h4 {
    margin-bottom: 1rem;
}

.widget.download p, .widget.quiz p, .widget.tool-recommendation p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--medium-color);
}

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

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

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

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

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

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

.mission-box {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

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

.mission-box p {
    font-size: 1.25rem;
    line-height: 1.8;
}

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

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

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

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

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(75, 108, 183, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

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

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

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

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

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

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

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

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: var(--box-shadow);
}

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

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

.team-member .social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-member .social-links a {
    color: var(--medium-color);
    transition: var(--transition);
}

.team-member .social-links a:hover {
    color: var(--primary-color);
}

.about-testimonials {
    background-color: var(--light-color);
}

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

.about-testimonials .testimonial {
    min-width: unset;
    max-width: unset;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

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

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

.author-name {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
}

.author-business {
    color: var(--medium-color);
    font-size: 0.9rem;
    margin: 0;
}

.our-approach {
    padding: 5rem 0;
}

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

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

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

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

.approach-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: rgba(75, 108, 183, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

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

.approach-card p {
    color: var(--medium-color);
    margin-bottom: 0;
}

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

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

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

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

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

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

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

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(75, 108, 183, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.info-text .hours {
    font-size: 0.9rem;
    color: var(--medium-color);
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    margin-bottom: 1.25rem;
}

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

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

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

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

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

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

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

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

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

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

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

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

.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
    color: var(--medium-color);
}

.close-btn {
    min-width: 150px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .slogan {
        font-size: 1.25rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        max-height: 300px;
    }
    
    .post-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .search-filter {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .search-form, .filter-dropdown {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .feature-cards, .post-cards, .values-grid, .team-grid, .testimonial-grid, .approach-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
