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

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

.content-wrapper.narrow {
  max-width: 800px;
}

.main-header {
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.primary-nav {
  padding: 15px 0;
}

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

.brand-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-logo img {
  border-radius: 8px;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
}

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

.hero-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 600px;
  margin-right: 60px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-visual img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-section {
  padding: 80px 20px;
  background: var(--bg-light);
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.image-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide-item {
  min-width: 100%;
  position: relative;
  display: none;
}

.slide-item.active-slide {
  display: block;
}

.slide-item img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 30px;
}

.slide-caption h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

.features-grid {
  padding: 80px 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.latest-posts {
  padding: 80px 20px;
  background: var(--bg-light);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.post-preview {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-preview:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.post-content {
  padding: 30px;
}

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

.post-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.center-align {
  text-align: center;
  margin-top: 50px;
}

.main-footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 20px 20px;
}

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

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 10px;
}

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

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

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: #9ca3af;
}

.contact-info svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: white;
}

.registration-info {
  font-size: 0.9rem;
  margin-top: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-text p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.cookie-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cookie-btn.accept-all:hover {
  background: var(--secondary-color);
}

.cookie-btn.customize {
  background: var(--bg-light);
  color: var(--text-dark);
}

.cookie-btn.customize:hover {
  background: var(--border-color);
}

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

.cookie-btn.decline:hover {
  background: var(--bg-light);
}

.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-description {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.blog-content {
  padding: 80px 20px;
}

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

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
}

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

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-body {
  padding: 30px;
}

.card-body h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-body h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-body h2 a:hover {
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.card-excerpt {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: var(--secondary-color);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.intro-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

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

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.team-member h3 {
  padding: 20px 25px 10px;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.member-position {
  padding: 0 25px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.member-bio {
  padding: 0 25px 25px;
  color: var(--text-light);
  line-height: 1.7;
}

.values-section {
  padding: 80px 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.value-item {
  text-align: center;
  padding: 30px;
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.value-item p {
  color: var(--text-light);
  line-height: 1.7;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info-block h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-content p {
  color: var(--text-light);
  line-height: 1.7;
}

.info-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.registration-block {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

.contact-form-block h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

.submit-btn {
  background: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

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

.map-placeholder {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.modal-body {
  padding: 40px 30px;
  text-align: center;
}

.modal-body svg {
  margin-bottom: 20px;
}

.modal-body p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

.post-single {
  background: white;
}

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

.post-header {
  padding: 40px 0;
  border-bottom: 2px solid var(--border-color);
}

.post-meta-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  align-items: center;
}

.category-badge {
  background: var(--primary-color);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.reading-time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
}

.post-body {
  padding: 60px 0;
}

.lead-paragraph {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.post-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.post-body p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.post-navigation {
  padding: 40px 0 80px;
  display: flex;
  gap: 30px;
}

.post-navigation a {
  flex: 1;
  padding: 25px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-navigation a:hover {
  border-color: var(--primary-color);
  background: var(--bg-light);
}

.post-navigation span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.post-navigation strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.nav-prev {
  text-align: left;
}

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

@media (max-width: 968px) {
  .hero-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

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

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

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

  .page-title {
    font-size: 2.5rem;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-navigation {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-heading {
    font-size: 2rem;
  }

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

  .cookie-content {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

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

  .post-header-image img {
    height: 300px;
  }

  .post-body h2 {
    font-size: 1.6rem;
  }
}