:root {
  /* Color palette */
  --primary-color-1: #5C8D76; /* Sage green - main brand color */
  --primary-color-2: #F2A073; /* Coral - accent color */
  --primary-color-3: #E5DADA; /* Light gray - neutral background */
  --primary-color-4: #583E2E; /* Dark brown - text color */
  --primary-color-5: #824C71; /* Mauve purple - secondary accent */
  
  /* Light/dark variations */
  --primary-color-1-light: #AECBB7;
  --primary-color-1-dark: #3A6650;
  --primary-color-2-light: #FCC7AA;
  --primary-color-2-dark: #C77B52;
  --primary-color-3-light: #F7F3F3;
  --primary-color-3-dark: #B8B0B0;
  --primary-color-4-light: #7A614F;
  --primary-color-4-dark: #2E1F16;
  --primary-color-5-light: #B78AAC;
  --primary-color-5-dark: #5D354F;
  
  /* Font sizes */
  --base-font-size: 16px;
  --h1-size: 3.5rem;
  --h2-size: 2.8rem;
  --h3-size: 2.2rem;
  --h4-size: 1.8rem;
  --h5-size: 1.4rem;
  --h6-size: 1.2rem;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color-4);
  background-color: var(--primary-color-3-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color-4);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color-1);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-color-1-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color-1);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn:hover {
  background-color: var(--primary-color-1-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--primary-color-2);
}

.btn-secondary:hover {
  background-color: var(--primary-color-2-dark);
}

.section-padding {
  padding: var(--space-lg) 0;
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color-2);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color-1);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color-2);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, rgba(92, 141, 118, 0.8), rgba(130, 76, 113, 0.8)), url('../LEG_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-content {
  color: white;
  position: relative;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-color: rgba(242, 160, 115, 0.2);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color-2);
  border-radius: var(--radius-lg);
  top: 15px;
  left: 15px;
  z-index: -1;
}

.about-content {
  flex: 1;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background-color: var(--primary-color-1-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-1-dark);
  margin-right: 15px;
  flex-shrink: 0;
}

/* Services Section */
.services-section {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: var(--space-md);
}

.service-price {
  display: inline-block;
  background-color: var(--primary-color-2);
  color: white;
  padding: 5px 15px;
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-bottom: 10px;
}

.service-features {
  margin-top: 15px;
}

.service-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--primary-color-1);
  margin-right: 10px;
}

/* Features Section */
.features-section {
  background-color: var(--primary-color-3);
}

.features-container {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition-medium);
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color-1-light);
  border-radius: var(--radius-round);
  z-index: -1;
  opacity: 0.3;
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card:hover::before {
  transform: scale(2.5);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  background-color: var(--primary-color-1-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-1-dark);
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 24px;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, rgba(92, 141, 118, 0.1), rgba(130, 76, 113, 0.1));
}

.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.priceplan-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  transition: var(--transition-medium);
}

.priceplan-card:hover {
  transform: translateY(-10px);
}

.priceplan-header {
  padding: var(--space-md);
  background-color: var(--primary-color-1);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.priceplan-card:nth-child(2) .priceplan-header {
  background-color: var(--primary-color-2);
}

.priceplan-card:nth-child(3) .priceplan-header {
  background-color: var(--primary-color-5);
}

.priceplan-header::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-round);
  top: -75px;
  right: -75px;
}

.priceplan-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 15px 0;
}

.priceplan-content {
  padding: var(--space-md);
}

.priceplan-features {
  margin-bottom: var(--space-md);
}

.priceplan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.priceplan-features li i {
  color: var(--primary-color-1);
  margin-right: 10px;
}

/* Team Section */
.team-section {
  background-color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.team-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: var(--transition-medium);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: var(--space-md);
  text-align: center;
}

.team-role {
  color: var(--primary-color-1);
  font-weight: 600;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--primary-color-3);
}

.reviews-wrapper {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) 0;
}

.review-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  margin: 20px;
}

.review-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: var(--primary-color-1-light);
  opacity: 0.2;
}

.review-text {
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-name {
  font-weight: 700;
}

/* Core Info Section */
.coreinfo-section {
  background: linear-gradient(135deg, rgba(92, 141, 118, 0.05), rgba(130, 76, 113, 0.05));
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.coreinfo-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.coreinfo-card:hover {
  transform: translateY(-5px);
}

.coreinfo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color-1);
  transition: var(--transition-medium);
}

.coreinfo-card:nth-child(2n)::before {
  background-color: var(--primary-color-2);
}

.coreinfo-card:nth-child(3n)::before {
  background-color: var(--primary-color-5);
}

.coreinfo-card:hover::before {
  width: 10px;
}

.coreinfo-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  background-color: var(--primary-color-1-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-1-dark);
  margin-bottom: 20px;
  font-size: 24px;
}

/* Contact Section */
.contact-section {
  background-color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background-color: var(--primary-color-1-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-1-dark);
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-form {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 2px rgba(92, 141, 118, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check input {
  margin-right: 10px;
}

.services-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.service-option {
  flex: 1 0 calc(33.333% - 10px);
  min-width: 150px;
}

.service-option label {
  display: flex;
  align-items: center;
}

.service-option input {
  margin-right: 10px;
}

/* Blog Section */
.blog-section {
  background-color: var(--primary-color-3);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: var(--transition-medium);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-md);
}

.blog-date {
  display: inline-block;
  background-color: var(--primary-color-1-light);
  color: var(--primary-color-1-dark);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-header {
  background-color: white;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h5 {
  margin: 0;
  font-weight: 600;
}

.accordion-header i {
  transition: var(--transition-fast);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.accordion-body.active {
  padding: 0 20px 20px;
  max-height: 300px;
}

/* Gallery Section */
.gallery-section {
  overflow: hidden;
  background-color: var(--primary-color-3);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--primary-color-4-dark);
  color: white;
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.footer-desc {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color-2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color-2);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 15px;
  color: var(--primary-color-2);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Space Page */
.space-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Breadcrumb */
.breadcrumb {
  padding: 10px 0;
  background-color: var(--primary-color-3-light);
  margin-top: 80px;
}

.breadcrumb-item {
  background-image: url('../LEG_images/breadcrumb-image.webp');
  background-size: cover;
  background-position: center;
  height: 150px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

/* Additional Pages */
.page-header {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(92, 141, 118, 0.8), rgba(130, 76, 113, 0.8)), url('../LEG_images/page-header-bg.webp');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-image: url('../LEG_images/wave-divider.webp');
  background-size: cover;
  background-position: center;
}

.additional-section {
  padding: var(--space-lg) 0;
}

.section-alt {
  background-color: var(--primary-color-3-light);
}

.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
} 