/* 
* CreceCoaching - Growth Coaching Blog 
* Main Stylesheet
*/

/* ============= 1. Base Styles ============= */
:root {
  --primary-color: #4c2882; /* Morado profundo */
  --secondary-color: #ff7b54; /* Naranja coral */
  --accent-color: #4bc0c0; /* Turquesa */
  --dark-color: #2a2a2a; /* Negro suave */
  --light-color: #f9f9f9; /* Blanco hueso */
  --grey-color: #828282; /* Gris medio */
  --light-grey: #e0e0e0; /* Gris claro */
  --success-color: #28a745; /* Verde */
  --warning-color: #ffc107; /* Amarillo */
  --error-color: #dc3545; /* Rojo */
  
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-max-width: 1200px;
  --container-padding: 20px;
}

/* Import fonts - would normally use actual import but using @import as placeholder */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #3d1f6a;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-tertiary {
  background-color: transparent;
  color: var(--dark-color);
}

.btn-tertiary:hover {
  color: var(--primary-color);
}

/* Neon button effect */
.neon-button {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--secondary-color);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 123, 84, 0.5),
              0 0 20px rgba(255, 123, 84, 0.3),
              0 0 30px rgba(255, 123, 84, 0.1);
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: -1;
  transition: all 0.6s;
}

.neon-button:hover {
  color: #fff;
  background-color: #ff6a3d;
  box-shadow: 0 0 15px rgba(255, 123, 84, 0.7),
              0 0 30px rgba(255, 123, 84, 0.5),
              0 0 45px rgba(255, 123, 84, 0.3);
  transform: translateY(-3px);
}

.neon-button:hover::before {
  left: 100%;
}

/* ============= 2. Layout Components ============= */

/* Header */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
}

.logo img {
  max-height: 50px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

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

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-medium);
}

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 1rem;
}

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

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

.footer-logo p {
  color: var(--light-grey);
  font-size: 0.9rem;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-legal ul li a {
  color: var(--light-grey);
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  display: flex;
  align-items: flex-start;
  color: var(--light-grey);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact p svg {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding-top: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #3a3a3a;
  margin: 0 0.5rem;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-links a svg {
  color: white;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--light-grey);
  margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(42, 42, 42, 0.95);
  color: white;
  z-index: 9999;
  padding: 1rem;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.thank-you-message svg {
  color: var(--success-color);
  margin: 0 auto 1rem;
}

/* ============= 3. Page Components ============= */

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f9f9ff 0%, #eaeaff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 500px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--grey-color);
}

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

/* Featured Posts */
.featured-posts {
  padding: 4rem 0;
}

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--grey-color);
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.read-more::after {
  content: '→';
  margin-left: 0.25rem;
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(5px);
}

.see-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* Why Us */
.why-us {
  padding: 4rem 0;
  background-color: #f5f5ff;
}

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

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

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(76, 40, 130, 0.1);
  border-radius: 50%;
}

.feature-icon svg {
  color: var(--primary-color);
}

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

.feature p {
  font-size: 0.95rem;
  color: var(--grey-color);
  margin-bottom: 0;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
}

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

.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--light-grey) transparent;
}

.testimonial-slider::-webkit-scrollbar {
  height: 6px;
}

.testimonial-slider::-webkit-scrollbar-track {
  background: transparent;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background-color: var(--light-grey);
  border-radius: var(--radius-full);
}

.testimonial {
  min-width: 300px;
  max-width: 500px;
  flex: 1;
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote {
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1rem;
}

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

.client-info {
  display: flex;
  align-items: center;
}

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

.client-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.client-info p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--grey-color);
  font-style: normal;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3d1f6a 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3d1f6a 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.page-header h2 {
  color: white;
  margin-bottom: 1rem;
}

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

/* Blog Content */
.blog-content {
  padding: 4rem 0;
}

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

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

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

.sidebar-widget h3 {
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.categories ul li {
  margin-bottom: 0.75rem;
}

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

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

.popular-post {
  margin-bottom: 1rem;
}

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

.popular-post a {
  display: flex;
  gap: 1rem;
  color: var(--dark-color);
}

.popular-post a:hover h4 {
  color: var(--primary-color);
}

.popular-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.popular-post h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.popular-post span {
  font-size: 0.85rem;
  color: var(--grey-color);
}

.newsletter p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--grey-color);
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter input {
  padding: 0.75rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* About Content */
.about-story,
.about-mission {
  padding: 4rem 0;
}

.about-content,
.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text,
.mission,
.values {
  max-width: 500px;
}

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

.values ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.values ul li {
  margin-bottom: 0.75rem;
}

.about-mission {
  background-color: #f5f5ff;
}

/* Team */
.team {
  padding: 4rem 0;
}

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

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

.team-member {
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 5px solid white;
  box-shadow: var(--shadow-md);
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member p {
  font-size: 0.95rem;
  color: var(--grey-color);
  margin-bottom: 1rem;
}

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

.team-member .social-links {
  margin-top: 1rem;
}

/* Certifications */
.certifications {
  padding: 4rem 0;
  background-color: #f5f5ff;
}

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

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

.certification {
  text-align: center;
}

.certification img {
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

/* Services Intro */
.services-intro {
  padding: 4rem 0;
}

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

.intro-text {
  max-width: 500px;
}

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

/* Services List */
.services-list {
  padding: 4rem 0;
  background-color: #f5f5ff;
}

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

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

.service-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium);
}

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

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

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

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--grey-color);
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features ul {
  padding-left: 1.25rem;
  list-style-type: disc;
}

.service-features ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--dark-color);
}

.service-price {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-price span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Methodology */
.methodology {
  padding: 4rem 0;
}

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

.methodology-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

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

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 65px;
  left: 25px;
  height: calc(100% - 40px);
  width: 2px;
  background-color: var(--light-grey);
}

.step-number {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border-radius: 50%;
  z-index: 1;
}

.step-content {
  padding-top: 0.5rem;
}

/* FAQ */
.faq {
  padding: 4rem 0;
  background-color: #f5f5ff;
}

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

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

.faq-item {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--grey-color);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Contact Info */
.contact-info {
  padding: 4rem 0;
}

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

.contact-details {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-details h2 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(76, 40, 130, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--grey-color);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.social-contact {
  margin-top: 2rem;
}

.social-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.social-contact .social-links {
  justify-content: flex-start;
}

.contact-form-container {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-container h2 {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

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

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

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

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Post */
.blog-post {
  padding: 4rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content ul li, .post-content ol li {
  margin-bottom: 0.75rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--grey-color);
  font-size: 1.1rem;
}

.comparison-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--light-grey);
}

.comparison-table th {
  background-color: #f5f5ff;
  font-weight: 600;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-grey);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-tags a {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: #f5f5ff;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-tags span, .post-share span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f5f5ff;
  margin-right: 0.5rem;
  transition: all var(--transition-fast);
  color: var(--primary-color);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-author-bio {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #f5f5ff;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1.5rem;
}

.post-author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-bio h3 {
  margin-bottom: 0.5rem;
}

.post-author-bio p {
  font-size: 0.95rem;
  color: var(--grey-color);
  margin-bottom: 0.75rem;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  margin-right: 0.5rem;
  transition: all var(--transition-fast);
  color: var(--primary-color);
}

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

.related-posts {
  margin-top: 3rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-post {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium);
}

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

.related-post a {
  display: block;
  color: var(--dark-color);
}

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

.related-post h4 {
  padding: 1rem;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* ============= 4. Responsive Styles ============= */
@media (max-width: 992px) {
  .hero .container,
  .about-content,
  .intro-content,
  .mission-values {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-text,
  .mission,
  .values,
  .intro-text {
    max-width: 100%;
  }
  
  .about-image,
  .intro-image {
    margin-top: 2rem;
    order: 1;
  }
  
  .about-text,
  .intro-text {
    order: 0;
  }
  
  .methodology-steps {
    max-width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav {
    width: 100%;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .blog-content .container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
