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

:root {
  --primary-color: #d32f2f;
  --secondary-color: #1976d2;
  --text-dark: #333;
  --text-light: #666;
  --background-light: #f5f5f5;
  --white: #ffffff;
  --border-color: #ddd;
  --success-color: #4caf50;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

.primary-nav {
  background-color: 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;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: bold;
}

.brand-logo img {
  border-radius: 50%;
}

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

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

.main-menu a:hover {
  color: var(--primary-color);
}

.hero-banner {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/1.jpg') center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #b71c1c;
}

.intro-section,
.services-preview,
.stats-section,
.facts-section,
.lead-form-section,
.blog-preview {
  padding: 60px 0;
}

.intro-section {
  background-color: var(--background-light);
}

.intro-section h2,
.services-preview h2,
.stats-section h2,
.facts-section h2,
.lead-form-section h2,
.blog-preview h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.intro-section p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card,
.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
}

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

.service-card h3,
.blog-card h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-size: 22px;
}

.service-card p,
.blog-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.blog-card a {
  display: inline-block;
  margin: 0 20px 20px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.blog-card a:hover {
  text-decoration: underline;
}

.stats-chart {
  max-width: 900px;
  margin: 40px auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facts-list {
  max-width: 900px;
  margin: 40px auto;
}

.fact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fact-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 50px;
}

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

.lead-form-section {
  background-color: var(--background-light);
}

.consultation-form {
  max-width: 600px;
  margin: 40px auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.consultation-form textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #b71c1c;
}

.site-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 40px 0 20px;
}

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

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

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

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

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

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #555;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content a {
  color: var(--primary-color);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s;
}

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

.cookie-btn.decline {
  background-color: #666;
  color: var(--white);
}

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

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

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}

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

.modal-close {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background-color: #b71c1c;
}

.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 20px;
}

.about-story,
.team-section,
.values-section {
  padding: 60px 0;
}

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

.about-story h2,
.team-section h2,
.values-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
}

.about-story p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
}

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

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

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

.team-member h3 {
  padding: 20px 20px 10px;
  color: var(--primary-color);
  font-size: 22px;
}

.team-member .position {
  color: var(--secondary-color);
  font-weight: bold;
  padding: 0 20px 10px;
}

.team-member p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

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

.value-card {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 24px;
}

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

.services-detailed {
  padding: 60px 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse .service-info {
  direction: ltr;
}

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

.service-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 32px;
}

.service-info h3 {
  color: var(--text-dark);
  margin: 20px 0 10px;
  font-size: 22px;
}

.service-info ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.service-info li {
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.6;
}

.process-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.process-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  line-height: 60px;
  margin-bottom: 15px;
}

.process-step h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-light);
  line-height: 1.6;
}

.faq-section {
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background-light);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 20px;
}

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

.blog-listing {
  padding: 60px 0;
}

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

.post-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.post-content {
  padding: 20px;
}

.post-content h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

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

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

.post-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

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

.read-more:hover {
  text-decoration: underline;
}

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

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

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-block {
  margin-bottom: 25px;
}

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

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

.contact-form {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 8px;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.submit-button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #b71c1c;
}

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

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.post-date {
  color: var(--text-light);
  font-size: 16px;
}

.post-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

.post-body h3 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--text-dark);
}

.post-body p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-light);
  font-size: 18px;
}

.post-footer {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
}

.back-link {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.back-link:hover {
  background-color: #1565c0;
}

@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
  }
  
  .service-detail.reverse {
    direction: ltr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}