:root {
  --primary-color: #2c5f8d;
  --secondary-color: #4a8cc7;
  --accent-color: #d4af37;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --transition: all 0.3s ease;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--bg-white);
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

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

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

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

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

.primary-navigation .nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hero-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: #c19b2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

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

.btn-primary-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  background: var(--accent-color);
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
}

.btn-primary-large:hover {
  background: #c19b2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.services-section,
.comparison-section,
.process-section,
.testimonials-section,
.faq-section {
  padding: 4rem 2rem;
}

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

.section-heading {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: var(--primary-color);
  color: var(--text-light);
}

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

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

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

.timeline-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

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

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

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

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

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

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

.faq-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text-gray);
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.main-footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 2rem 1rem;
}

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

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

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

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

.company-reg {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--text-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

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

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

.cookie-content h3 {
  margin-bottom: 0.5rem;
}

.cookie-link {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-btn.accept {
  background: var(--success-color);
  color: var(--text-light);
}

.cookie-btn.reject {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 3rem 2rem;
  text-align: center;
}

.page-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-story,
.values-section,
.team-section,
.stats-section {
  padding: 4rem 2rem;
}

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

.story-content {
  max-width: 800px;
}

.story-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.story-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-gray);
}

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

.story-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

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

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

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

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

.team-member {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.team-member h3 {
  color: var(--primary-color);
  padding: 1rem 1.5rem 0.5rem;
  font-size: 1.3rem;
}

.member-role {
  color: var(--accent-color);
  font-weight: 600;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

.member-bio {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

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

.stat-label {
  color: var(--text-gray);
  font-weight: 600;
}

.blog-listing {
  padding: 4rem 2rem;
}

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

.blog-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-title a {
  color: var(--primary-color);
  font-size: 1.3rem;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.75rem;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--secondary-color);
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-color);
}

.newsletter-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
}

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

.newsletter-container h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-section {
  padding: 4rem 2rem;
}

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

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-details a {
  color: var(--secondary-color);
}

.info-details a:hover {
  text-decoration: underline;
}

.contact-image {
  margin-top: 2rem;
}

.contact-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2rem;
}

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

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

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

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.checkbox-label input {
  width: auto;
}

.checkbox-label a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.map-section {
  padding: 4rem 2rem;
  background: var(--bg-light);
}

.map-container iframe {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-gray);
}

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

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--success-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.post-article {
  padding: 2rem;
}

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

.post-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.breadcrumb {
  color: var(--secondary-color);
  font-weight: 600;
}

.breadcrumb:hover {
  text-decoration: underline;
}

.post-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--text-gray);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-featured-image {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.post-featured-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.lead-paragraph {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.post-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.post-footer {
  max-width: 800px;
  margin: 4rem auto;
}

.post-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.post-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.post-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.related-posts h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.related-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.related-card h4 {
  padding: 1.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .primary-navigation .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

body.increased-font {
  font-size: 18px;
}

body.increased-font .hero-title {
  font-size: 2.7rem;
}

body.increased-font .post-title {
  font-size: 2.7rem;
}

body.increased-font .section-heading {
  font-size: 2.2rem;
}