/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --bg-color: #f9f9f9;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
    --font-size-base: 16px;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

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

body {
    font-family: var(--font-main);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    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: 15px;
}

/* Header & Navigation */
header {
    background-color: var(--light-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}

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

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;
    padding: 150px 0;
}

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

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-style: italic;
    font-family: var(--font-secondary);
}

/* This Day in History Section */
.this-day {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px 0;
    text-align: center;
}

.this-day h2 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.this-day p {
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--bg-color);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.post-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 15px;
    color: #666;
}

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

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

.read-more:hover:after {
    margin-left: 10px;
}

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

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.service-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.service-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 60px 0;
}

.newsletter h2 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-main);
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 5px 5px 0;
    background-color: var(--primary-color);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 70px 0 30px;
}

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

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 5px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    left: 0;
    bottom: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact p svg {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

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

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

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

.cookie-buttons {
    margin: 15px 0;
}

.cookie-btn {
    margin: 0 5px;
    padding: 8px 15px;
    font-size: 14px;
}

.cookie-policy {
    font-size: 14px;
    color: #aaa;
}

.cookie-policy a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Blog Page Styles */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.banner-content p {
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--font-secondary);
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-post:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.post-details {
    display: flex;
    padding: 15px 20px 0;
    font-size: 14px;
    color: #777;
}

.post-date {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.post-date:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
}

.post-category {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.blog-post h3 {
    padding: 10px 20px;
    font-size: 1.4rem;
}

.blog-post p {
    padding: 0 20px;
    color: #666;
}

.blog-post .read-more {
    margin: 15px 20px 20px;
    display: inline-block;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

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

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

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

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

.recent-posts ul li {
    margin-bottom: 15px;
}

.recent-posts ul li:last-child {
    margin-bottom: 0;
}

.recent-posts ul li a {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.recent-posts ul li a:hover {
    color: var(--secondary-color);
}

.recent-posts img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.recent-posts h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-posts span {
    font-size: 12px;
    color: #777;
}

.sidebar-widget.newsletter {
    background-color: var(--primary-color);
}

.sidebar-widget.newsletter h3 {
    color: var(--light-text);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sidebar-widget.newsletter p {
    color: rgba(255, 255, 255, 0.8);
}

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

.sidebar-widget.newsletter input {
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    font-size: 12px;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* Blog Post Page */
.blog-post-content {
    padding-top: 50px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #777;
    font-size: 14px;
}

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

.post-meta span:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 8px;
}

.featured-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

.post-body {
    margin-bottom: 50px;
}

.post-body h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.post-body h4 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-body ul, .post-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.post-body ul li, .post-body ol li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.post-body ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-share span {
    font-weight: 600;
}

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

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

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

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

.prev-post a, .next-post a {
    color: var(--text-color);
}

.prev-post a:hover, .next-post a:hover {
    color: var(--secondary-color);
}

.prev-post span, .next-post span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.prev-post p, .next-post p {
    font-weight: 600;
    margin-bottom: 0;
}

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

.related-posts {
    margin: 50px 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-post {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

.related-post h4 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

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

.related-post .post-date {
    padding: 0 15px 15px;
    display: block;
    font-size: 12px;
    color: #777;
}

.comments-section {
    margin-top: 50px;
}

.comments-section h3 {
    margin-bottom: 30px;
}

.comment {
    display: flex;
    margin-bottom: 30px;
}

.comment.reply {
    margin-left: 60px;
    margin-top: -15px;
}

.comment-avatar {
    margin-right: 20px;
}

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

.comment-content {
    flex: 1;
}

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

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

.comment-meta span {
    font-size: 12px;
    color: #777;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin-top: 10px;
}

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

.comment-form {
    margin-top: 50px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.comment-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Portfolio Page */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-color: var(--secondary-color);
}

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

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--light-text);
    margin-bottom: 10px;
    transform: translateY(-20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 20px;
    transform: translateY(-10px);
    transition: var(--transition);
}

.portfolio-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 30px;
    font-size: 14px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    scroll-snap-align: start;
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: 0;
    left: -10px;
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

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

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: #777;
    font-size: 14px;
}

/* CTA Section */
.cta {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Page Styles */
.about-intro {
    background-color: var(--light-text);
}

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

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.team h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.team-member {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

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

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 15px;
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

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

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

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

.values h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-text);
}

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

.value-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.value-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
}

.value-card h3 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
}

.achievements {
    background-color: var(--light-text);
    text-align: center;
}

.achievements h2 {
    margin-bottom: 50px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.achievement {
    padding: 30px;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.achievement p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Page Styles */
.contact-section {
    background-color: var(--light-text);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3,
.contact-form-container h3 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    margin-bottom: 5px;
}

.social-links h4 {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group:nth-child(5),
.contact-form .form-group:nth-child(6),
.contact-form .form-checkbox,
.contact-form button {
    grid-column: 1 / -1;
}

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

.map-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.faq-section h3 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

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

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

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

.modal-content {
    background-color: var(--light-text);
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

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

.thank-you-content svg {
    color: var(--success-color);
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.thank-you-content h3 {
    margin-bottom: 15px;
}

.close-btn {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .next-post {
        text-align: left;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-links h4:after,
    .footer-contact h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-share {
        flex-wrap: wrap;
    }
}
