@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #27A57B;
  --primary-rgb: 39, 165, 123;
  --secondary-color: #5CBC9C;
  --secondary-rgb: 92, 188, 156;
  --accent-color: #65E6BB;
  --accent-rgb: 101, 230, 187;
  --bg-color: #FAF8F5;
  --bg-alt: #F0ECE6;
  --text-color: #2C2520;
  --text-muted: #6B6055;
  --section-dark: #2C2520;
  --section-accent: #EDE6DD;
  --border-color: #DDD8D0;
  --white: #ffffff;
  --font-primary: 'Ubuntu', system-ui, -apple-system, sans-serif;
  --font-secondary: system-ui, -apple-system, sans-serif;
  --sidebar-width: 260px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-14px) rotate(1deg);
  }
  66% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes shimmerSlide {
  0% {
    background-position: -300% center;
  }
  100% {
    background-position: 300% center;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.35);
  }
  50% {
    box-shadow: 0 0 22px rgba(var(--primary-rgb), 0.55);
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

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

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.grid-2 > * {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 280px;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.grid-3 > * {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 260px;
}

.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.grid-4 > * {
  flex: 1 1 calc(25% - 1.125rem);
  min-width: 220px;
}

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

.text-muted {
  color: var(--text-muted);
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem;
  overflow-y: auto;
}

.nav-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: block;
  text-decoration: none;
  line-height: 1.3;
}

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

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.nav-item {
  width: 100%;
}

.nav-link {
  display: block;
  padding: 0.625rem 0.875rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--section-accent);
  color: var(--primary-color);
}

.nav-link.active {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(160deg, var(--section-dark) 0%, #3D352F 55%, var(--primary-color) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.18) 0%, transparent 70%);
  top: -90px;
  right: -90px;
  z-index: 0;
  animation: driftFloat 7s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  z-index: 0;
  animation: driftFloat 9s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero .btn-primary {
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
}

.header-hero {
  position: relative;
  padding: 3.5rem 2rem 3rem;
  background: linear-gradient(160deg, var(--section-dark) 0%, #3D352F 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.header-hero::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  z-index: 0;
}

.header-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.header-hero p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section:last-of-type {
  border-bottom: none;
}

.section-dark {
  background-color: var(--section-dark);
  color: var(--white);
  border-bottom-color: #3D352F;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.82);
}

.section-dark a {
  color: var(--accent-color);
}

.section-dark a:hover {
  color: var(--white);
}

.section-accent {
  background-color: var(--section-accent);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  font-size: 1.5rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.featured-grid .featured-item {
  flex: 1 1 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.featured-grid .featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.featured-grid .featured-item .featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
}

.featured-grid .grid-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex: 1 1 100%;
}

.featured-grid .grid-items > * {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 240px;
}

.testimonial-card {
  background: var(--white);
  border-left: 4px solid var(--primary-color);
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--accent-color);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.5;
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-color);
  padding-top: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

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

.testimonial-card .testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
}

.testimonial-card .testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: normal;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonials-track .testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  font-size: 1rem;
}

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

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.slider-dot.active {
  background: var(--primary-color);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  border-width: 2px;
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.two-col-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.two-col-layout > * {
  flex: 1 1 calc(50% - 1.5rem);
  min-width: 300px;
}

.two-col-layout.reverse {
  flex-direction: row-reverse;
}

.two-col-layout img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 2px solid var(--primary-color);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary-color);
  background: linear-gradient(to right, var(--primary-color) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
  transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}

.btn-primary:hover {
  background-position: left;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  line-height: 1.4;
  text-align: center;
}

.btn-secondary:hover {
  background: #4aa888;
  border-color: #4aa888;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1.4;
  text-align: center;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.section-dark .btn-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: linear-gradient(to right, var(--accent-color) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
}

.section-dark .btn-primary:hover {
  background-position: left;
  color: var(--section-dark);
}

.section-dark .btn-outline {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.section-dark .btn-outline:hover {
  background: var(--accent-color);
  color: var(--section-dark);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2rem);
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2rem);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--bg-color);
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  max-width: 100%;
}

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

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

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

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

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-row .form-group {
  flex: 1;
}

.faq-section {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
  transition: background 0.25s ease;
}

.faq-question:hover {
  background: var(--section-accent);
}

.faq-question .faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--primary-color);
}

.faq-item.active .faq-question {
  background: rgba(var(--primary-rgb), 0.06);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

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

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  text-transform: uppercase;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
}

.trust-badge i {
  color: var(--primary-color);
}

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

.cta-block h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-block p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.cta-block .btn-primary {
  border-color: var(--white);
  color: var(--white);
  background: linear-gradient(to right, var(--white) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
}

.cta-block .btn-primary:hover {
  background-position: left;
  color: var(--primary-color);
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.event-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.event-card .event-date {
  flex-shrink: 0;
  width: 90px;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.event-card .event-date .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card .event-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-card .event-details {
  padding: 1.25rem;
  flex: 1;
}

.event-card .event-details h3 {
  font-size: 1.05rem;
  margin-bottom: 0.375rem;
}

.event-card .event-details p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card:hover img {
  transform: scale(1.04);
}

.article-card .article-body {
  padding: 1.25rem;
}

.article-card .article-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-card .article-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.article-card .article-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-item .portfolio-overlay h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.portfolio-item .portfolio-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  margin: 0;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
  flex: 1 1 140px;
  max-width: 200px;
}

.stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.section-dark .stat-item .stat-number {
  color: var(--accent-color);
}

.section-dark .stat-item .stat-label {
  color: rgba(255,255,255,0.75);
}

.service-card img,
.card img,
.portfolio-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
  overflow: hidden;
}

.hero-section img {
  border-radius: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  transform: translateX(-28px);
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(28px);
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  transform: scaleY(-1);
}

footer.footer-contact {
  background: var(--section-dark);
  color: rgba(255,255,255,0.82);
  padding: 3rem 2rem 2rem;
  border-top: none;
}

footer.footer-contact .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer.footer-contact .footer-grid > * {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 220px;
}

footer.footer-contact .contact-info h4,
footer.footer-contact .footer-links h4,
footer.footer-contact .hours-info h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 600;
}

footer.footer-contact .contact-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
}

footer.footer-contact .footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

footer.footer-contact .footer-links a:hover {
  color: var(--accent-color);
}

footer.footer-contact .hours-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.875rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb span {
  color: var(--text-muted);
  opacity: 0.6;
}

.table-responsive {
  overflow-x: auto;
}

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

table th,
table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.9375rem;
}

table th {
  font-weight: 600;
  background: var(--section-accent);
  color: var(--text-color);
}

table tr:hover {
  background: rgba(var(--primary-rgb), 0.03);
}

.alert {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary-color);
  background: rgba(var(--primary-rgb), 0.06);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.alert p {
  margin: 0;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 0.75rem;
  background: var(--section-accent);
  color: var(--text-muted);
  margin-right: 0.375rem;
  margin-bottom: 0.375rem;
}

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

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
}

.icon-list li i {
  color: var(--primary-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

@media screen and (max-width: 1024px) {
  .navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 1050;
    box-shadow: none;
    border-right: 1px solid var(--border-color);
  }

  .navbar.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  main {
    margin-left: 0;
    padding-top: 0;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

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

  .hero {
    min-height: 60vh;
    padding: 3rem 1.5rem;
  }

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

  .timeline::before {
    left: 1.25rem;
  }

  .timeline-item {
    padding-right: 0;
    padding-left: 3.5rem;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) {
    padding-left: 3.5rem;
    padding-right: 0;
  }

  .timeline-item::before {
    left: 1.25rem;
  }

  .featured-grid .featured-item {
    min-height: 240px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.625rem;
  }

  h2 {
    font-size: 1.375rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .hero {
    min-height: 55vh;
    padding: 2.5rem 1.25rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .header-hero {
    padding: 2.5rem 1.25rem;
  }

  .header-hero h1 {
    font-size: 1.625rem;
  }

  .two-col-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .two-col-layout.reverse {
    flex-direction: column;
  }

  .grid-2 > * {
    flex-basis: 100%;
  }

  .grid-3 > * {
    flex-basis: 100%;
  }

  .grid-4 > * {
    flex-basis: calc(50% - 0.75rem);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card .event-date {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .stat-item {
    flex-basis: calc(50% - 0.5rem);
  }

  footer.footer-contact .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  footer.footer-contact .footer-grid > * {
    flex-basis: 100%;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .cta-block {
    padding: 2.5rem 1.25rem;
  }

  .cta-block h2 {
    font-size: 1.375rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .header-hero h1 {
    font-size: 1.375rem;
  }

  .content-section {
    padding: 2.25rem 0;
  }

  .grid-4 > * {
    flex-basis: 100%;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.9375rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-badge {
    justify-content: center;
  }

  .portfolio-item img {
    height: 200px;
  }

  .slider-controls {
    gap: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .navbar,
  .mobile-menu-toggle,
  .nav-overlay {
    display: none;
  }

  main {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
    background: var(--section-accent);
    color: var(--text-color);
  }

  .hero h1 {
    color: var(--text-color);
  }

  .hero p {
    color: var(--text-muted);
  }
}
