
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --accent-color: #F39C12;
  --background-color: #ECF0F1;
  --text-color: #34495E;
  --highlight-color: #1ABC9C;
  --card-background: #FFFFFF;
  --footer-background: #2C3E50;
  --button-primary: #E74C3C;
  --button-hover: #C0392B;
  --header-height: 80px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.ui.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--button-hover);
}

.ui.button.primary {
  background-color: var(--button-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.ui.button.primary:hover {
  background-color: var(--button-hover);
}

.ui.button.secondary {
  background-color: transparent;
  color: var(--background-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.ui.button.secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.ui.button.tertiary {
  background-color: transparent;
  color: var(--background-color);
  border: none;
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.ui.button.tertiary:hover {
  color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-color);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  position: relative;
  box-shadow: var(--box-shadow);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-categories {
  margin: 1.5rem 0;
}

.cookie-category {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.category-header h3 {
  margin-bottom: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--secondary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--secondary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.cookie-modal-buttons {
  text-align: center;
}


header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.desktop-menu ul {
  display: flex;
  list-style: none;
}

.desktop-menu ul li {
  margin-left: 2rem;
}

.desktop-menu ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.desktop-menu ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed);
}

.desktop-menu ul li a:hover:after,
.desktop-menu ul li a.active:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
  list-style: none;
  padding: 0 10px;
}

.mobile-menu ul li {
  margin-bottom: 1rem;
}

.mobile-menu ul li a {
  color: var(--text-color);
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

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


.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
}

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


.latest-articles {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.grid-item {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

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

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-excerpt {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.read-more {
  display: inline-block;
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
  padding-right: 1.5rem;
}

.read-more:after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right var(--transition-speed);
}

.read-more:hover:after {
  right: -5px;
}


.contact-form-section {
  padding: 5rem 0;
  background-color: white;
}

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

.ui.form .field > label {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.ui.form input,
.ui.form textarea,
.ui.form select {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  padding: 0.8rem;
  font-family: 'DM Sans', sans-serif;
}

.ui.form input:focus,
.ui.form textarea:focus,
.ui.form select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color);
}

.ui.checkbox label {
  font-size: 0.9rem;
}


.featured-articles {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

.featured-articles .section-title {
  color: white;
}

.featured-articles .section-title:after {
  background-color: var(--accent-color);
}

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

.featured-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-image {
  height: 200px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.featured-card:hover .featured-image img {
  transform: scale(1.05);
}

.featured-content {
  padding: 1.5rem;
}

.featured-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-excerpt {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.featured-content .read-more {
  color: var(--accent-color);
}


footer {
  background-color: var(--footer-background);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-speed);
}

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

.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-contact h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-contact p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}


.page-title-section {
  padding: 3rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.page-title-section h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-title-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.9;
}


.thank-you-section {
  padding: 5rem 0;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.thank-you-content .sub-text {
  color: #777;
  margin-bottom: 2rem;
}

.related-articles {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.related-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-image {
  height: 180px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.related-card:hover .related-image img {
  transform: scale(1.05);
}

.related-content {
  padding: 1.5rem;
}

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

.related-excerpt {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}


.advice-categories {
  padding: 4rem 0;
  background-color: white;
}

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

.category-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.category-card h3 {
  margin-bottom: 1rem;
}

.category-card p {
  color: var(--text-color);
}


.main-advice {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.advice-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.advice-article {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
}

.advice-article:last-child {
  margin-bottom: 0;
}

.advice-article h2 {
  padding: 2rem 2rem 0;
  font-size: 1.8rem;
}

.article-meta {
  padding: 0 2rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  color: #777;
  font-size: 0.9rem;
}

.article-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.article-text {
  padding: 2rem;
}

.article-text p {
  margin-bottom: 1.5rem;
}

.article-text h3 {
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}

.advice-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
}

.popular-articles {
  list-style: none;
}

.popular-articles li {
  margin-bottom: 1.5rem;
}

.popular-articles li:last-child {
  margin-bottom: 0;
}

.popular-articles li a {
  display: flex;
  gap: 1rem;
  color: var(--text-color);
}

.article-thumb {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-info h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-speed);
}

.popular-articles li a:hover .article-info h4 {
  color: var(--secondary-color);
}

.article-info .article-date {
  font-size: 0.8rem;
  color: #777;
}

.categories-list {
  list-style: none;
}

.categories-list li {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
}

.categories-list li a:hover {
  color: var(--secondary-color);
}

.categories-list li a span {
  color: #777;
  font-size: 0.9rem;
}


.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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


.philosophy-section {
  padding: 5rem 0;
  background-color: white;
}

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

.philosophy-image {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.philosophy-image img {
  width: 100%;
  height: auto;
  display: block;
}

.philosophy-text h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.philosophy-text p {
  margin-bottom: 2rem;
}

.philosophy-principle {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.philosophy-principle:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.philosophy-principle h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.philosophy-principle h3 i {
  color: var(--secondary-color);
  margin-right: 0.8rem;
}


.learning-journey {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.journey-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.journey-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -30px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 4px solid var(--background-color);
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

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

.timeline-image {
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: auto;
  display: block;
}


.stories-section {
  padding: 5rem 0;
  background-color: white;
}

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

.story-card {
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.story-card:hover {
  transform: translateY(-5px);
}

.success-story {
  background-color: rgba(26, 188, 156, 0.1);
  border-left: 4px solid var(--highlight-color);
}

.failure-story {
  background-color: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--secondary-color);
}

.story-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.success-story .story-icon {
  color: var(--highlight-color);
}

.failure-story .story-icon {
  color: var(--secondary-color);
}

.story-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.story-card p {
  margin-bottom: 1.5rem;
}

.story-lesson {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.story-lesson h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}


.analytics-overview {
  padding: 4rem 0;
  background-color: white;
}

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

.overview-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.overview-card:hover {
  transform: translateY(-5px);
}

.overview-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
}

.overview-data h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.overview-data p {
  color: var(--text-color);
}


.charts-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.chart-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.chart-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.chart-container {
  height: 300px;
  margin-bottom: 1.5rem;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 0.5rem;
}

.legend-label {
  font-size: 0.9rem;
  color: var(--text-color);
}

.chart-description {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #777;
  text-align: center;
}


.detailed-statistics {
  padding: 5rem 0;
  background-color: white;
}

.statistics-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: color var(--transition-speed);
  position: relative;
}

.tab-button:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed);
}

.tab-button.active,
.tab-button:hover {
  color: var(--secondary-color);
}

.tab-button.active:after,
.tab-button:hover:after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.statistics-table-container {
  overflow-x: auto;
}

.statistics-table {
  width: 100%;
  border-collapse: collapse;
}

.statistics-table th,
.statistics-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #eee;
}

.statistics-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

.statistics-table tr:nth-child(even) {
  background-color: #f9f9f9;
}


.key-insights {
  padding: 5rem 0;
  background-color: var(--background-color);
}

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

.insight-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.insight-card:hover {
  transform: translateY(-5px);
}

.insight-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.insight-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}


.contact-info-section {
  padding: 5rem 0;
  background-color: white;
}

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

.contact-info h2,
.contact-form h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
  margin-top: 0.2rem;
}

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-content p {
  color: var(--text-color);
}


.map-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.faq-section {
  padding: 5rem 0;
  background-color: white;
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  background-color: var(--background-color);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-question i {
  font-size: 1.2rem;
  transition: transform var(--transition-speed);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}


.policy-content {
  padding: 4rem 0;
  background-color: white;
}

.policy-section {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.policy-section h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.policy-section p,
.policy-section ul,
.policy-section ol {
  margin-bottom: 1.5rem;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.5rem;
}

.policy-section ul li,
.policy-section ol li {
  margin-bottom: 0.5rem;
}

.policy-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.policy-section table th,
.policy-section table td {
  padding: 0.8rem;
  border: 1px solid #eee;
  text-align: left;
}

.policy-section table th {
  background-color: var(--background-color);
  font-weight: 500;
}


.tilt-element {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}


@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.3rem;
  }
  
  .hero-image {
    width: 35%;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-image {
    position: static;
    transform: none;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .philosophy-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .advice-content {
    grid-template-columns: 1fr;
  }
  
  .advice-sidebar {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .masonry-grid,
  .featured-grid,
  .related-grid,
  .categories-grid,
  .stories-grid,
  .overview-grid,
  .charts-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .tab-button {
    flex: 1 0 auto;
    text-align: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cookie-modal-content {
    width: 90%;
    margin: 10% auto;
    padding: 1.5rem;
  }
}


.iti {
  width: 100%;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
  }
}