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

:root {
  --primary-color: #2c5282;
  --secondary-color: #ed8936;
  --accent-color: #38b2ac;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.primary-nav {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  flex: 1;
  text-align: center;
}

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

.cta-button,
.cta-button-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover,
.cta-button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button-secondary {
  background-color: var(--primary-color);
}

section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.editor-note {
  background-color: var(--bg-light);
  padding: 3rem 2rem;
}

.editor-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.editor-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.editor-photo {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.editor-text {
  flex: 1;
}

.editor-signature {
  font-style: italic;
  margin-top: 1rem;
  color: var(--text-light);
}

.services-grid,
.process-timeline,
.testimonials-grid,
.posts-grid,
.values-grid,
.team-grid,
.stats-grid,
.blog-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card,
.testimonial-card,
.post-preview,
.value-card,
.team-card,
.faq-card,
.blog-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover,
.testimonial-card:hover,
.post-preview:hover,
.value-card:hover,
.team-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3,
.value-card h3,
.faq-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.learn-more,
.read-more,
.blog-read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.learn-more:hover,
.read-more:hover,
.blog-read-more:hover {
  color: var(--primary-color);
}

.fun-fact {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.fact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

.process-timeline {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.process-step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 4rem auto;
}

.cta-content h2 {
  color: var(--bg-white);
}

.post-preview img,
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.post-excerpt,
.blog-excerpt {
  color: var(--text-light);
  margin: 1rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 1.5rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

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

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

.cookie-btn:hover {
  opacity: 0.8;
}

.cookie-link {
  color: var(--bg-white);
  text-decoration: underline;
  padding: 0.75rem 1rem;
}

.site-footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  color: var(--bg-white);
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-story,
.service-detail-card {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.story-text,
.service-detail-content {
  flex: 1;
}

.story-image,
.service-detail-image {
  flex: 1;
}

.story-image img,
.service-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.alternate-layout {
  flex-direction: row-reverse;
}

.service-benefits {
  list-style: none;
  margin: 1.5rem 0;
}

.service-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.service-pricing {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.team-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-light);
  line-height: 1.6;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.faq-section {
  max-width: 900px;
  margin: 4rem auto;
}

.faq-container {
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-meta,
.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-sidebar-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.sidebar-content {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.category-list {
  list-style: none;
}

.category-list a {
  color: var(--text-dark);
  text-decoration: none;
  line-height: 2;
  display: block;
  transition: color 0.3s;
}

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

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.subscribe-btn,
.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-btn:hover,
.submit-btn:hover {
  background-color: var(--accent-color);
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

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

.contact-form-wrapper,
.contact-info-wrapper {
  background-color: var(--bg-white);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

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

.form-group textarea {
  resize: vertical;
}

.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-block a {
  color: var(--text-dark);
  text-decoration: none;
}

.info-block a:hover {
  color: var(--accent-color);
}

.map-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 1rem;
}

.faq-contact {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--bg-white);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}

.modal-close {
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
}

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

.blog-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.post-header {
  margin-bottom: 3rem;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: var(--shadow);
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.post-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.post-content ul,
.post-content ol {
  margin: 1rem 0 1.5rem 2rem;
}

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

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.post-cta {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.post-navigation {
  text-align: center;
}

.back-to-blog {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.back-to-blog:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-banner,
  .about-story,
  .service-detail-card,
  .contact-container {
    flex-direction: column;
  }

  .hero-content h1,
  .page-header h1 {
    font-size: 2rem;
  }

  .services-grid,
  .process-timeline,
  .testimonials-grid,
  .posts-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  section {
    padding: 0 1rem;
  }
}