/* Base Styles */
:root {
  --primary-color: #2c4c8c;
  --primary-dark: #1c3a6d;
  --primary-light: #5d7cb6;
  --secondary-color: #f7b731;
  --secondary-dark: #d79b21;
  --secondary-light: #ffd56b;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #e9ecef;
  --border-color: #dfe3e8;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --error-color: #c0392b;
  --info-color: #3498db;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-light);
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn, 
.btn-small, 
.btn-large,
.btn-cookie {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
}

.btn:hover, 
.btn-small:hover, 
.btn-large:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

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

.btn-cookie {
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid white;
  margin-right: 5px;
}

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

/* Header */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: flex;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

nav a i {
  margin-right: 0.5rem;
}

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

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 76, 140, 0.9), rgba(44, 76, 140, 0.7)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(44, 76, 140, 0.9), rgba(44, 76, 140, 0.7)), url('images/page-header.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

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

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

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

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

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

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

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

/* Latest Posts Section */
.latest-posts, .blog-content {
  padding: 5rem 0;
}

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

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

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

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

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

.post h3 {
  font-size: 1.3rem;
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  align-items: flex-start;
}

.post h3 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.post p {
  padding: 0 1.5rem;
  color: var(--text-light);
}

.post .btn-small {
  margin: 0 1.5rem 1.5rem;
}

.new-badge {
  background-color: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  font-weight: bold;
}

.post-category {
  background-color: var(--primary-light);
  color: white;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.post-date {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.post-date i {
  margin-right: 5px;
}

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

/* Blog Filters */
.blog-filters {
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.search-box {
  display: flex;
  max-width: 300px;
  width: 100%;
}

.search-box input {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.categories h4 {
  margin-bottom: 0.5rem;
}

.categories ul {
  display: flex;
  flex-wrap: wrap;
}

.categories li {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.categories a {
  display: block;
  padding: 0.3rem 0.8rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Pagination */
.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 5px;
  border-radius: 50%;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

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

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

.newsletter p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

.newsletter input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter button {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-weight: bold;
  border: none;
  padding: 0 1.5rem;
  cursor: pointer;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer-links a,
.footer-contact a {
  color: #999;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
}

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

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-light);
}

.social-icons {
  display: flex;
}

.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%;
  margin-right: 10px;
  color: white;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-bottom .copyright {
  margin-bottom: 1rem;
}

.footer-bottom .terms {
  display: flex;
  flex-wrap: wrap;
}

.footer-bottom .terms a {
  color: #999;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.footer-bottom .terms a:hover {
  color: white;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

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

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

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

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

.cookie-notice a:hover {
  color: var(--secondary-light);
}

/* About Page */
.about-story,
.mission,
.team,
.testimonials,
.partners {
  padding: 5rem 0;
}

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

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

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

.mission h2,
.team h2,
.testimonials h2,
.partners h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

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

.team-member {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

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

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

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

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member .social-icons {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-member .social-icons a {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

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

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

.testimonial {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

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

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

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

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

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

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

.partners-logos img {
  max-width: 150px;
  margin: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partners-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Services Page */
.services-intro,
.services-list,
.pricing,
.faq,
.cta {
  padding: 5rem 0;
}

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

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

.services-benefits {
  margin-top: 2rem;
}

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

.benefit i {
  color: var(--success-color);
  margin-right: 1rem;
  font-size: 1.2rem;
}

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

.services-list h2,
.pricing h2,
.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.8rem;
}

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

.service-card p {
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

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

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

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

.pricing-card.featured {
  border: 2px solid var(--secondary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured .pricing-header {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.pricing-header h3 {
  color: white;
  margin-bottom: 1rem;
}

.pricing-card.featured .pricing-header h3 {
  color: var(--text-color);
}

.pricing-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  margin-bottom: 0;
  opacity: 0.9;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing-features i {
  margin-right: 1rem;
}

.pricing-features .fa-check {
  color: var(--success-color);
}

.pricing-features .fa-times {
  color: var(--error-color);
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

.custom-pricing {
  text-align: center;
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.custom-pricing h3 {
  margin-bottom: 1rem;
}

.custom-pricing p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

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

.accordion-item {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header:after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: var(--transition);
}

.accordion-item.active .accordion-header:after {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

.cta {
  background: linear-gradient(rgba(44, 76, 140, 0.9), rgba(44, 76, 140, 0.7)), url('images/cta.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 0;
}

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

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

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

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

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

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.contact-card p {
  margin-bottom: 0.5rem;
}

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

.contact-card .social-icons a {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

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

.contact-form,
.contact-map {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h2,
.contact-map h2 {
  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,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

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

.form-group.checkbox input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.office-hours {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.office-hours h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.office-hours h3 i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.office-hours ul {
  margin-bottom: 1rem;
}

.office-hours li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.office-hours li span {
  font-weight: 500;
}

.office-hours p {
  margin-bottom: 0;
  font-style: italic;
}

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

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

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

.modal-content i {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

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

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

/* Blog Post Page */
.post-header {
  background: linear-gradient(rgba(44, 76, 140, 0.9), rgba(44, 76, 140, 0.7)), url('images/blog-header.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.post-header h1 {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-header h1 i {
  margin-right: 0.5rem;
}

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

.post-meta > div {
  margin: 0 1rem;
  display: flex;
  align-items: center;
}

.author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.post-content {
  padding: 5rem 0;
}

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

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

.featured-image {
  margin-bottom: 2rem;
}

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

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

.post-text h2 {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
}

.post-text h2 i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.post-text h3 {
  margin-top: 2rem;
}

.post-text h4 {
  margin-top: 1.5rem;
}

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

.post-text ul {
  list-style: disc;
}

.post-text ol {
  list-style: decimal;
}

.post-text ul li, 
.post-text ol li {
  margin-bottom: 0.5rem;
}

.intro {
  font-size: 1.1rem;
  color: var(--text-light);
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 1rem 0 2rem;
}

.info-box, 
.warning-box, 
.example-box, 
.conclusion-box {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.info-box {
  background-color: rgba(52, 152, 219, 0.1);
  border-left: 4px solid var(--info-color);
}

.warning-box {
  background-color: rgba(243, 156, 18, 0.1);
  border-left: 4px solid var(--warning-color);
}

.example-box {
  background-color: rgba(46, 204, 113, 0.1);
  border-left: 4px solid var(--success-color);
}

.conclusion-box {
  background-color: rgba(44, 76, 140, 0.1);
  border-left: 4px solid var(--primary-color);
}

.info-box h4, 
.warning-box h4, 
.example-box h4, 
.conclusion-box h4 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.info-box h4 i, 
.warning-box h4 i, 
.example-box h4 i, 
.conclusion-box h4 i {
  margin-right: 0.5rem;
}

.info-box h4 i {
  color: var(--info-color);
}

.warning-box h4 i {
  color: var(--warning-color);
}

.example-box h4 i {
  color: var(--success-color);
}

.conclusion-box h4 i {
  color: var(--primary-color);
}

.comparison-table {
  margin: 2rem 0;
  overflow-x: auto;
}

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

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

.comparison-table th {
  background-color: var(--bg-light);
  font-weight: 700;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.author-box {
  display: flex;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
}

.author-image {
  margin-right: 2rem;
}

.author-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.author-info h3 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 1rem;
}

.share-post {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
}

.share-post h3 {
  margin-bottom: 1rem;
}

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

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

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

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

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

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

.related-post a {
  display: inline-block;
  margin: 0 1rem 1rem;
  color: var(--primary-color);
  font-weight: 500;
}

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

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

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

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

.comment-avatar {
  margin-right: 1.5rem;
}

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

.comment-content {
  flex-grow: 1;
}

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

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

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

.comment-actions {
  margin-top: 0.5rem;
}

.comment-actions a {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  width: fit-content;
}

.comment-actions a i {
  margin-right: 0.3rem;
}

.comment-form {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

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

.post-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
}

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

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

.popular-posts li {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.popular-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-posts img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-right: 1rem;
}

.popular-posts a {
  font-weight: 500;
  display: block;
  margin-bottom: 0.3rem;
}

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

.categories-list li {
  margin-bottom: 0.5rem;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.categories-list a:hover,
.categories-list a.active {
  color: var(--primary-dark);
}

.categories-list a span {
  color: var(--text-light);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
}

.tags-cloud a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--bg-light);
  color: var(--text-light);
  border-radius: 20px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.cta-widget {
  background-color: var(--primary-light);
  color: white;
  text-align: center;
}

.cta-widget h3 {
  color: white;
  border-bottom: none;
}

.cta-widget p {
  margin-bottom: 1.5rem;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .post-content .container {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    position: static;
  }
  
  .services-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0.5rem;
  }
  
  .blog-filters {
    flex-direction: column;
  }
  
  .search-box {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .categories ul {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom .terms {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .footer-bottom .terms a {
    margin: 0 0.75rem;
  }
  
  .newsletter form {
    flex-direction: column;
  }
  
  .newsletter input,
  .newsletter button {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .newsletter input {
    margin-bottom: 1rem;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto 1.5rem;
  }
  
  .comment {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .comment-avatar {
    margin: 0 0 1rem;
  }
  
  .comment-reply {
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-light);
  }
  
  .comment-header {
    flex-direction: column;
  }
  
  .comment-actions a {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .post-header h1 {
    font-size: 1.5rem;
    flex-direction: column;
  }
  
  .post-header h1 i {
    margin: 0 0 0.5rem;
  }
  
  .post-meta {
    flex-direction: column;
  }
  
  .post-meta > div {
    margin: 0.5rem 0;
  }
  
  .modal-content {
    padding: 2rem 1rem;
  }
}
