:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-gray: #f4f4f4;
  --medium-gray: #ddd;
  --dark-gray: #555;
  --white: #ffffff;
  --success-color: #27ae60;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

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

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

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

.main-navigation {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.3rem;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--secondary-color);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: var(--transition);
}

.cta-button:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.features-section,
.latest-posts,
.cta-section {
  padding: 80px 20px;
  text-align: center;
}

.features-section {
  background: var(--light-gray);
}

.features-section h2,
.latest-posts h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

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

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.post-preview {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
}

.post-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.post-content h3 a:hover {
  color: var(--secondary-color);
}

.post-meta {
  color: var(--dark-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.read-more:hover {
  color: #2980b9;
}

.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #2980b9);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.ask-question-btn {
  padding: 15px 35px;
  background: var(--white);
  color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ask-question-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.site-footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 50px 20px 20px;
}

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

.footer-column h4 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 2000;
  display: none;
}

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

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

.cookie-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

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

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

.cookie-btn.decline {
  background: var(--medium-gray);
  color: var(--text-color);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cookie-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.question-modal,
.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.question-modal.show,
.thank-you-modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-gray);
}

.modal-content h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.modal-content form input,
.modal-content form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: inherit;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: #2980b9;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.blog-page {
  padding: 60px 20px;
}

.blog-grid {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.blog-text {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.blog-meta {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.about-intro {
  padding: 60px 20px;
}

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

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

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.team-section {
  padding: 60px 20px;
  background: var(--light-gray);
}

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--dark-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 20px;
}

.team-role {
  color: var(--secondary-color);
  font-weight: bold;
  margin: 10px 0;
}

.team-bio {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-section {
  padding: 60px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.stat-label {
  color: var(--dark-gray);
  margin-top: 10px;
}

.contact-section {
  padding: 60px 20px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-block {
  display: flex;
  gap: 15px;
}

.info-icon {
  font-size: 1.5rem;
}

.info-content h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-form-wrapper {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 3px;
}

.checkbox-group label {
  margin-bottom: 0;
}

.map-section {
  padding: 60px 20px;
  background: var(--light-gray);
}

.map-container {
  max-width: 1200px;
  margin: 30px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-single {
  padding: 40px 20px 60px;
}

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

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

.back-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.post-date {
  color: var(--dark-gray);
}

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

.post-subtitle {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.post-featured-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.lead-paragraph {
  font-size: 1.3rem;
  color: var(--dark-gray);
  margin-bottom: 30px;
  font-weight: 500;
}

.post-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
}

.post-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--medium-gray);
}

.tag {
  background: var(--light-gray);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.related-posts {
  padding: 60px 20px;
  background: var(--light-gray);
}

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

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-section,
  .about-content,
  .blog-card,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .features-grid,
  .posts-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-image {
    height: 250px;
  }
}

@media print {
  .main-navigation,
  .cookie-banner,
  .question-modal,
  .cta-section,
  .related-posts {
    display: none;
  }
}