/* Color System - CSS Variables - Softer, Lighter & Brighter Palette */
:root {
  /* Brand Colors - Lighter & Brighter */
  --brand-sage: #B8C99A;           /* Brighter, lighter sage */
  --brand-tan: #D4B896;            /* Softer, lighter tan */
  
  /* Backgrounds - Airier & Lighter */
  --bg-white: #FFFFFF;
  --bg-light: #FCFDF9;             /* Almost white with hint of warmth */
  --bg-soft: #EDF4E8;              /* Very light soft green */
  --bg-medium: #D9E7CB;            /* Light sage background */
  
  /* Text Colors - Softer (Still WCAG AA compliant) */
  --text-primary: #5B6C6D;         /* Softer dark gray-green */
  --text-secondary: #7B8C8D;       /* Lighter medium gray */
  --text-tertiary: #9BADAE;        /* Light gray for meta */
  --text-on-dark: #F0F0F0;         /* Brighter text on dark */
  
  /* Status Colors - Lighter & Brighter */
  --success: #8FBB8A;              /* Brighter soft green */
  --success-bg: #F2F9F1;           /* Very light green background */
  --success-border: #C8E6C4;       /* Light green border */
  
  --error: #D9A094;                /* Lighter peachy-terracotta */
  --error-bg: #FDF4F2;             /* Very light peachy background */
  --error-border: #F0D4CE;         /* Light peach border */
  
  --warning: #E5C495;              /* Lighter warm tan */
  --warning-bg: #FDF9F4;           /* Very light cream background */
  
  /* Borders & Dividers - Softer */
  --border-light: #F0F4EC;         /* Very light sage-tinted border */
  --border-medium: #E3EDD8;        /* Light sage border */
  --border-accent: #B8C99A;        /* Brighter sage accent */
  
  /* Interactive States - Brighter */
  --link: #B8C99A;                 /* Brighter sage */
  --link-hover: #D4B896;           /* Softer tan on hover */
  
  /* Gradients - Lighter & Softer */
  --gradient-primary: linear-gradient(135deg, #B8C99A 0%, #D4B896 100%);
  --gradient-background: linear-gradient(135deg, #FCFDF9 0%, #EDF4E8 100%);
  --gradient-accent: linear-gradient(135deg, #EDF4E8 0%, #D9E7CB 100%);
  
  /* Shadows - Softer & Lighter */
  --shadow-sm: 0 2px 10px rgba(123, 140, 141, 0.06);
  --shadow: 0 5px 20px rgba(123, 140, 141, 0.08);
  --shadow-md: 0 10px 30px rgba(123, 140, 141, 0.1);
  --shadow-lg: 0 20px 40px rgba(123, 140, 141, 0.12);
  --shadow-accent: 0 4px 15px rgba(184, 201, 154, 0.25);
  --shadow-accent-hover: 0 8px 25px rgba(184, 201, 154, 0.35);
  
  /* Third-party (must keep) */
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Global Image Optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip to Content Link - Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-sage);
  color: var(--bg-white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--bg-white);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(106, 114, 115, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-sage);
}

.nav-link:focus {
  outline: 2px solid var(--brand-sage);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-link.active {
  color: var(--brand-sage);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-sage);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-lang {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.lang-btn {
  background: transparent;
  color: var(--text-tertiary);
  border: none;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-width: 44px;
  min-height: 44px;
}

.lang-btn:hover {
  color: var(--brand-sage);
}

.lang-btn:focus {
  outline: none;
}

.lang-btn.active {
  color: var(--brand-sage);
  font-weight: 600;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--brand-sage);
  border-radius: 50%;
}

.lang-btn .flag {
  display: none;
}

.lang-btn .lang-text {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-background);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: 3rem 0;
  }
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23A3A97E" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  margin-right: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  min-height: 40px;
  min-width: 100px;
}

.btn:focus {
  outline: 2px solid var(--brand-sage);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-sage);
  color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(163, 169, 126, 0.25);
}

.btn-primary:hover {
  background: #8B9A47;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163, 169, 126, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(163, 169, 126, 0.2);
}

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

.btn-secondary:hover {
  background: rgba(163, 169, 126, 0.1);
  color: var(--brand-sage);
  border-color: var(--brand-sage);
  transform: translateY(-1px);
}

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

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  position: absolute;
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

.floating-card i {
  font-size: 2rem;
  color: var(--brand-sage);
  margin-bottom: 0.5rem;
}

.floating-card span:first-of-type {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-card span:last-of-type {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-tertiary);
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--bg-white);
}

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

.about-text h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.expertise-areas {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #F8FAF7 0%, #FFFFFF 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-sage);
}

.expertise-areas h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.expertise-areas p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

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

.achievements {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAF7 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-accent);
}

.achievements h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.achievements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.achievements li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--brand-accent);
  font-weight: bold;
  font-size: 0.9rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.credential-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.credential-item i {
  font-size: 1.5rem;
  color: var(--brand-sage);
  margin-top: 0.25rem;
}

.credential-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.credential-item p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

.about-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  min-height: 600px;
}

.about-photo {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  object-fit: cover;
  margin: 0 auto;
}

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

.about-photo-secondary {
  max-width: 100%;
  opacity: 0.9;
  transform: none;
}

.about-photo-secondary:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.about-photo-tertiary {
  max-width: 100%;
  opacity: 0.85;
  transform: none;
}

.about-photo-tertiary:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.image-placeholder {
  width: 300px;
  height: 400px;
  background: var(--gradient-accent);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
}

.image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--bg-light);
}

/* Services Layout - Two Column Design */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.services-cards-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Compact service cards for services layout */
.services-layout .service-card {
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: 12px;
}

.services-layout .service-card:hover {
  transform: translateY(-3px);
}

.services-layout .service-icon {
  width: 40px;
  height: 40px;
  margin: 0 0 0.75rem 0;
  align-self: flex-start;
}

.services-layout .service-icon i {
  font-size: 1.1rem;
}

.services-layout .service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.services-layout .service-card p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.services-layout .service-link {
  font-size: 0.85rem;
  margin-top: 0;
}

.services-image-column {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.services-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  object-fit: cover;
}

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

/* Legacy grid for other pages */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Featured services (first 4) */
.service-card.featured {
  border: 2px solid var(--brand-sage);
  box-shadow: var(--shadow-md);
}

.service-card.featured .service-icon {
  width: 64px;
  height: 64px;
}

/* Services toggle */
.services-toggle {
  text-align: center;
  margin-top: 2rem;
}

.services-grid.collapsed .service-card:nth-child(n+5) {
  display: none;
}

/* Responsive: Services Layout */
@media (max-width: 968px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-image-column {
    order: -1; /* Show image on top on mobile */
    padding: 0 1rem;
  }
  
  .services-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 4rem 0;
  }
  
  .services-layout {
    gap: 2rem;
  }
  
  .services-image-column {
    padding: 0;
  }
  
  .services-image {
    max-height: 300px;
    border-radius: 16px;
  }
  
  .services-grid.collapsed .service-card:nth-child(n+4) {
    display: none;
  }
  
  .services-cards-column {
    gap: 0.75rem;
  }
  
  .services-layout .service-card {
    padding: 1rem 1.25rem;
  }
  
  .services-layout .service-card h3 {
    font-size: 0.95rem;
  }
  
  .services-layout .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .services-layout .service-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 3rem 0;
  }
  
  .services-layout {
    gap: 1.5rem;
  }
  
  .services-image {
    max-height: 250px;
    border-radius: 12px;
  }
  
  .services-cards-column {
    gap: 0.5rem;
  }
  
  .services-layout .service-card {
    padding: 0.875rem 1rem;
  }
  
  .services-layout .service-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .services-layout .service-card p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  .services-layout .service-link {
    font-size: 0.8rem;
  }
  
  .services-layout .service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
  }
  
  .services-layout .service-icon i {
    font-size: 1rem;
  }
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
}

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

.service-card:focus-within {
  outline: 2px solid var(--brand-sage);
  outline-offset: 4px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-sage);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-icon i {
  font-size: 1.35rem;
  color: var(--bg-white);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-card ul {
  list-style: none;
  text-align: left;
}

.service-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-sage);
  font-weight: bold;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand-sage);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #8B9A47;
  transform: translateX(4px);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCFDF9 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 70%, rgba(184, 201, 154, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(212, 184, 150, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

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

.testimonial-card:focus-within {
  outline: 2px solid var(--brand-sage);
  outline-offset: 4px;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--brand-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* Blog Section */
.blog {
  padding: 6rem 0;
  background: var(--bg-light);
}

.loading-spinner {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

.loading-spinner i {
  font-size: 2.5rem;
  color: var(--brand-sage);
  margin-bottom: 1rem;
}

.loading-spinner p {
  font-size: 1rem;
  margin-top: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  padding: 0 20px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.blog-card:focus-within {
  outline: 2px solid var(--brand-sage);
  outline-offset: 4px;
}

.blog-image {
  height: 200px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
}

.blog-image-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
  color: var(--text-secondary);
}

.blog-image i {
  font-size: 3rem;
  opacity: 0.5;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

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

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.blog-category {
  background: var(--gradient-primary);
  color: var(--bg-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-author {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-author i {
  color: var(--brand-sage);
}

.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  min-height: 2.8em;
}

.blog-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-tertiary);
}

.blog-date i,
.blog-read-time i {
  color: var(--brand-sage);
}

.blog-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  color: var(--link-hover);
  transform: translateX(5px);
}

.blog-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(3px);
}

/* Blog Carousel Navigation */
.blog-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-sage);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-accent);
}

.blog-carousel-arrow:hover:not(:disabled) {
  background: var(--brand-tan);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-accent-hover);
}

.blog-carousel-arrow:disabled {
  background: var(--bg-soft);
  cursor: not-allowed;
  opacity: 0.5;
}

.blog-carousel-arrow i {
  font-size: 1.2rem;
}

.blog-carousel-left {
  left: -60px;
}

.blog-carousel-right {
  right: -60px;
}

.blog-page-indicator {
  grid-column: 1 / -1;
  text-align: center;
  color: #6A7273;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  opacity: 0.7;
}

/* Responsive adjustments for blog carousel */
@media (max-width: 1300px) {
  .blog-carousel-left {
    left: -45px;
  }
  
  .blog-carousel-right {
    right: -45px;
  }
  
  .blog-carousel-arrow {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 1100px) {
  .blog-carousel-left {
    left: 10px;
  }
  
  .blog-carousel-right {
    right: 10px;
  }
  
  .blog-carousel-arrow {
    top: auto;
    bottom: 10px;
    transform: none;
    width: 40px;
    height: 40px;
  }
  
  .blog-carousel-arrow:hover:not(:disabled) {
    transform: scale(1.1);
  }
}



/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #FCFDF9 0%, #EDF4E8 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(184, 201, 154, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(212, 184, 150, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--brand-sage);
  margin-top: 0.25rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 20px;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(163, 169, 126, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
  background: var(--error-bg);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: var(--success);
  background: var(--success-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  background: var(--text-secondary);
  color: var(--bg-white);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-section li {
  padding: 0.5rem 0;
  color: var(--text-on-dark);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--brand-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--brand-tan);
  transform: translateY(-3px);
}

.social-link:focus {
  outline: 2px solid var(--bg-white);
  outline-offset: 3px;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Enhanced Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced animation for different elements */
.service-card.fade-in {
  transform: translateY(40px) scale(0.95);
}

.service-card.fade-in.visible {
  transform: translateY(0) scale(1);
}

.testimonial-card.fade-in {
  transform: translateY(40px) rotateX(10deg);
}

.testimonial-card.fade-in.visible {
  transform: translateY(0) rotateX(0deg);
}

.blog-card.fade-in {
  transform: translateY(40px) rotateY(5deg);
}

.blog-card.fade-in.visible {
  transform: translateY(0) rotateY(0deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(106, 114, 115, 0.15);
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
  }
  
  .nav-link {
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(163, 169, 126, 0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about {
    padding: 4rem 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
    padding: 0 1rem;
    min-height: 500px;
  }
  
  .about-photo {
    max-height: 400px;
    object-fit: cover;
  }
  
  .about-photo-secondary {
    max-width: 100%;
    transform: none;
    opacity: 1;
    max-height: 400px;
  }
  
  .about-photo-secondary:hover {
    transform: translateY(-5px);
  }
  
  .about-photo-tertiary {
    max-width: 100%;
    transform: none;
    opacity: 1;
    max-height: 400px;
  }
  
  .about-photo-tertiary:hover {
    transform: translateY(-5px);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .floating-card {
    position: relative;
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .floating-card i {
    font-size: 2rem;
    padding: 0.75rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 10px;
  }
  
  .blog-card {
    max-width: 100%;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-content h3 {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: auto;
  }
  
  .blog-content p {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 1rem;
  }
  
  .blog-image {
    height: 180px;
  }
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .blog-content h3 {
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  
  .blog-content p {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .container {
    padding: 0 0.875rem;
  }
  
  .nav-container {
    padding: 0.875rem 1rem;
  }
  
  .nav-logo {
    height: 40px;
  }
  
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .about {
    padding: 3rem 0;
  }
  
  .about-image {
    padding: 0;
    min-height: 400px;
  }
  
  .about-photo {
    max-height: 300px;
    border-radius: 16px;
  }
  
  .about-photo-secondary {
    max-height: 300px;
    border-radius: 16px;
  }
  
  .about-photo-tertiary {
    max-height: 300px;
    border-radius: 16px;
  }
  
  .about-text h3 {
    font-size: 1.15rem;
  }
  
  .credential-item {
    padding: 1rem;
  }
  
  .credential-item h4 {
    font-size: 0.95rem;
  }
  
  .credential-item p {
    font-size: 0.85rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card p {
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-item {
    padding: 1.5rem;
  }
  
  .credential-item {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  
  .blog-card {
    padding: 0;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  .blog-content h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .blog-content p {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 0.75rem;
  }
  
  .blog-image {
    height: 160px;
  }
  
  .blog-link {
    font-size: 0.85rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-logo {
    height: 50px;
  }
}

/* Blog link styling */
.blog-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.blog-link:hover {
  color: var(--link-hover);
  transform: translateY(-2px);
}

/* Contact Form Messages - Earthy Brand-Aligned */
.form-message {
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  animation: slideDown 0.3s ease-out;
}

.form-message-success {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.form-message-error {
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error-border);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-sage);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 998;
  display: none;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
  display: block;
}

.sticky-cta-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.sticky-cta-text {
  color: var(--bg-white);
  font-weight: 500;
}

.sticky-cta-close {
  background: transparent;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.5rem;
  opacity: 0.8;
  min-width: 44px;
  min-height: 44px;
}

.sticky-cta-close:hover {
  opacity: 1;
}

.sticky-cta-close:focus {
  outline: 2px solid var(--bg-white);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus {
  outline: 3px solid var(--bg-white);
  outline-offset: 3px;
}

.whatsapp-float i {
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 80px;
    right: 20px;
  }
  
  .sticky-cta-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .sticky-cta-bar {
    padding: 0.75rem;
  }
} 

