:root {
  --primary-color: #1a4d7d;
  --secondary-color: #e67e22;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --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-dark);
  background-color: var(--white);
}

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

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

.navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

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

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

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #2c5f8d);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-subtext {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

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

.cta-primary:hover {
  background: #d67119;
  transform: translateY(-2px);
}

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

.cta-secondary:hover {
  background: var(--background-light);
}

.features-section,
.latest-posts-section,
.about-section,
.contact-form-section,
.calculator-section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  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;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  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;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

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

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

.post-preview {
  background: var(--white);
  border-radius: 12px;
  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-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 25px;
}

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

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

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

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 15px;
}

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

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

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

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

.cta-section {
  background: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

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

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

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

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

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

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

.company-id {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 10px;
}

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

.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: 30px;
  z-index: 2000;
  display: none;
}

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

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

.cookie-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.btn-accept,
.btn-customize,
.btn-decline {
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

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

.btn-accept:hover {
  background: #229954;
}

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

.btn-customize:hover {
  background: #d67119;
}

.btn-decline {
  background: var(--text-light);
  color: var(--white);
}

.btn-decline:hover {
  background: #6c7a89;
}

.cookie-policy-link {
  margin-top: 15px;
  font-size: 0.9rem;
}

.cookie-policy-link a {
  color: var(--secondary-color);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.cookie-modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
}

.cookie-option {
  margin-bottom: 25px;
  padding: 15px;
  background: var(--background-light);
  border-radius: 8px;
}

.cookie-option label {
  font-weight: bold;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.blog-header {
  background: linear-gradient(135deg, var(--primary-color), #2c5f8d);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

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

.blog-list {
  padding: 80px 0;
  background: var(--background-light);
}

.blog-posts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 5px;
}

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

.form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  transition: var(--transition);
}

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

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

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

.submit-btn:hover {
  background: #d67119;
}

.success-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;
}

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

.success-modal-content {
  background: var(--white);
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
}

.success-modal-content i {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

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

.close-modal-btn {
  background: var(--secondary-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}

.calculator-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.calc-input-group {
  margin-bottom: 30px;
}

.calc-input-group label {
  display: block;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.calc-input-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.calc-input-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.calculate-btn {
  width: 100%;
  background: var(--secondary-color);
  color: var(--white);
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.calculate-btn:hover {
  background: #d67119;
}

.calculator-result {
  margin-top: 40px;
  padding: 30px;
  background: var(--background-light);
  border-radius: 12px;
  display: none;
}

.calculator-result.show {
  display: block;
}

.calculator-result h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.result-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--success-color);
  text-align: center;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

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

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

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

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

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.team-member-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.team-member-role {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 15px;
}

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

.post-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

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

.post-featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

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

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

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

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

.post-body strong {
  color: var(--primary-color);
}

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

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

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cookie-buttons,
  .cookie-modal-buttons {
    flex-direction: column;
  }

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

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

  .post-featured-image {
    height: 250px;
  }
}