/* === RESET & BASE STYLES === */
:root {
  --primary-color: #2e7d32;
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #ffc107;
  --secondary-light: #fff350;
  --secondary-dark: #c79100;
  --dark-text: #212121;
  --light-text: #f5f5f5;
  --gray-text: #757575;
  --light-bg: #f9f9f9;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --info-color: #2196f3;
  --warning-color: #ff9800;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --container-width: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: #fff;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

ul {
  list-style-type: none;
}

button, 
.btn-primary, 
.btn-secondary, 
.btn-text,
input[type="submit"] {
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

h5 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

h6 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
}

blockquote {
  font-style: italic;
  border-left: 4px solid var(--primary-light);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--light-bg);
  border-radius: var(--border-radius-sm);
}

code {
  font-family: monospace;
  background: var(--light-bg);
  padding: 2px 4px;
  border-radius: 4px;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 2rem 0;
}

/* === LAYOUT CLASSES === */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER STYLES === */
header {
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
}

nav ul li a {
  font-weight: 600;
  color: var(--dark-text);
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* === HERO SECTION === */
.hero {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* === BUTTON STYLES === */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-text);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal), transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.7rem 1.8rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-normal), transform 0.15s ease;
}

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

.btn-secondary:active {
  transform: translateY(0);
}

.btn-text {
  display: inline-block;
  background: none;
  color: var(--primary-color);
  padding: 0;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-normal);
}

.btn-text:hover {
  border-bottom-color: var(--primary-color);
}

/* Light effect on buttons */
.btn-primary, .btn-secondary, .btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-primary:before, .btn-secondary:before, .btn-submit:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.btn-primary:hover:before, .btn-secondary:hover:before, .btn-submit:hover:before {
  transform: scale(1);
  opacity: 1;
}

/* === FEATURES SECTION === */
.features {
  padding: 5rem 0;
  background-color: #fff;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-text);
  margin-bottom: 0;
}

/* === BLOG PREVIEW SECTION === */
.blog-preview {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.blog-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-posts, .more-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.blog-post {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.blog-post h3 {
  font-size: 1.3rem;
  margin: 1rem;
}

.blog-post p {
  padding: 0 1rem;
  color: var(--gray-text);
}

.blog-post .btn-secondary {
  margin: 0 1rem 1rem;
}

/* === DAILY INSPIRATION SECTION === */
.daily-inspiration {
  padding: 4rem 0;
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
}

.daily-inspiration h2 {
  color: white;
  margin-bottom: 2rem;
}

.daily-inspiration blockquote {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  border-left: none;
  padding: 0;
  background: transparent;
}

.quote-date {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  padding: 5rem 0;
  background-color: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* === FOOTER STYLES === */
footer {
  background-color: #263238;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-content h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-about p {
  margin-bottom: 1rem;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact address p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-contact address p svg {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

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

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

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color var(--transition-normal);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.social-icons a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-banner h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.btn-accept {
  padding: 0.6rem 1.5rem;
  background-color: var(--success-color);
  color: white;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-customize {
  padding: 0.6rem 1.5rem;
  background-color: var(--info-color);
  color: white;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-reject {
  padding: 0.6rem 1.5rem;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.cookie-more-info {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-more-info a {
  color: var(--secondary-light);
  text-decoration: underline;
}

/* === PAGE BANNER === */
.page-banner {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.page-banner h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: 1.2rem;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* === ABOUT PAGE STYLES === */
.about-intro {
  padding: 5rem 0;
}

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

.about-text h2 {
  margin-top: 0;
}

.about-image img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.values {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.value-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.value-card p {
  color: var(--gray-text);
  margin-bottom: 0;
}

.team {
  padding: 5rem 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 1.5rem 0.5rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-member p:first-of-type {
  font-weight: 600;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  padding: 0 1.5rem 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light-bg);
  color: var(--dark-text);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.social-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.certifications {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.certifications h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.certification {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.certification img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.certification h3 {
  margin-bottom: 1rem;
}

.certification p {
  color: var(--gray-text);
  margin-bottom: 0;
}

/* === CONTACT PAGE STYLES === */
.contact-info {
  padding: 5rem 0;
}

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

.contact-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.contact-card p {
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-form-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-intro h2 {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  font-weight: normal;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 4px;
}

.btn-submit {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  width: 100%;
  transition: background-color var(--transition-normal), transform 0.15s ease;
}

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

.btn-submit:active {
  transform: translateY(0);
}

.map-section {
  padding: 5rem 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

/* === MODAL STYLES === */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 3rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

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

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

.success-icon {
  color: var(--success-color);
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.close-modal-btn {
  margin-top: 1.5rem;
}

/* === BLOG PAGE STYLES === */
.blog-header {
  padding: 3rem 0;
  background-color: var(--light-bg);
}

.blog-header h1 {
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.post-author, .post-date, .post-category {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
}

.post-date svg, .post-category svg {
  margin-right: 0.5rem;
}

.blog-content {
  padding: 4rem 0;
}

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

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

article ul, article ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

article ul {
  list-style-type: disc;
}

article ol {
  list-style-type: decimal;
}

.info-box {
  background-color: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.info-box.warning {
  border-color: var(--warning-color);
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.author-bio {
  display: flex;
  align-items: center;
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-top: 3rem;
}

.author-bio .author-avatar {
  width: 80px;
  height: 80px;
  margin-right: 1.5rem;
}

.author-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-nav-prev, .post-nav-next {
  display: flex;
}

.post-nav-prev a, .post-nav-next a {
  display: block;
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-normal);
  width: 100%;
}

.post-nav-prev a:hover, .post-nav-next a:hover {
  background-color: var(--border-color);
}

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

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

.nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.post-nav-prev h4, .post-nav-next h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.blog-sidebar .sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}

.sidebar-widget p:last-child {
  margin-bottom: 0;
}

.recent-posts {
  margin-bottom: 0;
}

.recent-posts li {
  margin-bottom: 1rem;
}

.recent-posts li:last-child {
  margin-bottom: 0;
}

.recent-posts a {
  display: flex;
  align-items: center;
  color: var(--dark-text);
}

.post-thumbnail {
  width: 70px;
  flex-shrink: 0;
  margin-right: 1rem;
}

.post-thumbnail img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.post-info h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.post-info span {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.recent-posts a:hover .post-info h4 {
  color: var(--primary-color);
}

.categories {
  margin-bottom: 0;
}

.categories li {
  margin-bottom: 0.5rem;
}

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

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

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

.categories span {
  color: var(--gray-text);
  font-size: 0.9rem;
}

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

.related-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.related-post {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.related-post h3 {
  font-size: 1.3rem;
  margin: 1rem 1.5rem;
}

.related-post p {
  padding: 0 1.5rem;
  color: var(--gray-text);
}

.related-post .btn-secondary {
  margin: 0.5rem 1.5rem 1.5rem;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  .blog-content .container {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .features, .blog-preview, .testimonials, .about-intro, .values, .team, 
  .certifications, .contact-info, .contact-form-section, .map-section, .blog-content, .related-posts {
    padding: 3rem 0;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .footer-content {
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 1.9rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .blog-posts, .more-posts, .testimonial-slider {
    grid-template-columns: 1fr;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio .author-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .modal-content {
    padding: 2rem;
  }
}

/* Specific styles for budget calculation example in blog post */
.budget-example {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.budget-calculation {
  margin-top: 1rem;
}

.budget-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.budget-item.total {
  border-top: 2px solid var(--primary-color);
  border-bottom: none;
  font-weight: bold;
  padding-top: 1rem;
}

/* Specific styles for strategy comparison in blog post */
.strategy-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .strategy-comparison {
    grid-template-columns: 1fr;
  }
}

.strategy {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.strategy h3 {
  margin-top: 0;
}

/* Specific styles for investment themes in blog post */
.investment-themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .investment-themes {
    grid-template-columns: 1fr;
  }
}

.theme {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.theme h4 {
  margin-top: 0;
}

/* Specific styles for asset classes in blog post */
.asset-classes {
  margin: 2rem 0;
}

.asset {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.asset h4 {
  margin-top: 0;
}

.asset:last-child {
  margin-bottom: 0;
}

/* Specific styles for timeline in blog post */
.timeline {
  margin: 2rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  width: 2px;
  height: calc(100% + 1.5rem);
  background-color: var(--primary-light);
}

.timeline-marker {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem;
  text-align: center;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
}

.timeline-content h4 {
  margin-top: 0;
}

.timeline-content p {
  margin-bottom: 0;
}

/* Specific styles for FIRE variants in blog post */
.fire-variants {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .fire-variants {
    grid-template-columns: 1fr;
  }
}

.variant {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.variant h4 {
  margin-top: 0;
}

.variant p {
  margin-bottom: 0;
}

/* Specific styles for income sources in blog post */
.income-sources {
  margin: 2rem 0;
}

.income-source {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.income-source:last-child {
  margin-bottom: 0;
}

.income-source h5 {
  margin-top: 0;
}

.income-source p:last-child {
  margin-bottom: 0;
}

/* Specific styles for challenges in blog post */
.challenges {
  margin: 2rem 0;
}

.challenge {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.challenge:last-child {
  margin-bottom: 0;
}

.challenge h4 {
  margin-top: 0;
}

.challenge p:last-child {
  margin-bottom: 0;
}

/* Specific styles for FIRE example in blog post */
.fire-example {
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.fire-example h4 {
  margin-top: 0;
}

.fire-example p:last-child {
  margin-bottom: 0;
}

/* Specific styles for calculation example in blog post */
.calculation-example {
  overflow-x: auto;
  margin: 2rem 0;
}

.calculation-example table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.calculation-example th, .calculation-example td {
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  text-align: left;
}

.calculation-example th {
  background-color: var(--light-bg);
  font-weight: 600;
}

.calculation-example tr:nth-child(even) {
  background-color: var(--light-bg);
}

/* Specific styles for portfolio allocation in blog post */
.portfolio-allocation {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin: 2rem 0;
  background-color: var(--light-bg);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .portfolio-allocation {
    grid-template-columns: 1fr;
  }
}

.chart-placeholder {
  background-color: #ddd;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  color: var(--gray-text);
}

.allocation-details ul {
  margin-bottom: 0;
}

.allocation-details li {
  margin-bottom: 0.8rem;
}

.allocation-details li:last-child {
  margin-bottom: 0;
}

/* General improvements and fine-tuning */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}
