:root {
  --primary-color: #000000;
  --accent-color: #eeac00;
  --button-color: #00aa5c;
  --button-hover-color: #00d875;
  --text-color: #383838;
  --light-text: #727272;
  --background-color: #fdfdfd;
  --light-background: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #000000;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 5rem 0;
}

ul {
  list-style-type: none;
  padding-left: 1rem;
}

ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

ul li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  z-index: 1001;
}

.logo a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-image {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  color: var(--accent-color);
}

/* Navigation */
.main-nav {
  display: none;
  width: 100%;
  order: 3;
  margin-top: 1rem;
}

.main-nav.active {
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0;
  padding: 0;
}

.nav-links li::before {
  display: none;
}

.nav-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Remove outline on focus for navigation links */
.nav-link:focus {
  outline: none;
  color: var(--accent-color);
}

/* Add active class for navigation links */
.nav-link.active {
  color: var(--accent-color);
}

/* CTA Button in Header */
.header-cta {
  display: none;
  order: 4;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

.header-cta.active {
  display: inline-flex;
}

/* CTA Button Styles */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--button-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  gap: 0.5rem;
}

.cta-button:hover {
  background-color: var(--button-hover-color);
  transform: translateY(-2px);
  color: white;
}

.primary-cta {
  background-color: var(--button-color);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.primary-cta:hover {
  background-color: var(--button-hover-color);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  background: url("/lili/images/hero-background.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subheadline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
  background-color: var(--background-color);
  padding: 4rem 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-image {
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-text {
  max-width: 100%;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.about-text p:last-child {
  font-weight: 500;
}

/* Team Member Section */
.team-member {
  background-color: var(--light-background);
  padding: 4rem 0;
}

.team-member-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.team-member-image {
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  order: 1;
}

.team-member-image:hover {
  transform: translateY(-5px);
}

.team-member-image img {
  width: 100%;
  height: auto;
}

.team-member-text {
  max-width: 100%;
  order: 2;
}

.team-member-text p {
  margin-bottom: 1.2rem;
}

.team-member-text p:last-child {
  font-weight: 500;
}

/* Services Section */
.services {
  position: relative;
  background: url("/lili/images/services-background.jpg") no-repeat center center;
  background-size: cover;
  padding: 5rem 0;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.services h2 {
  color: white;
  position: relative;
  z-index: 2;
}

.services h2::after {
  background-color: var(--accent-color);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-quote {
  font-style: italic;
  color: var(--primary-color);
  margin-top: 1rem;
  font-weight: 500;
}

/* Why Me Section */
.why-me {
  background-color: #eeac00;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-item {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--light-background);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 2.0rem;
  color: var(--accent-color);
  min-width: 40px;
  text-align: left;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light-background);
  color: var(--text-color);
}

.how-it-works h2 {
  color: var(--primary-color);
}

.how-it-works h2::after {
  background-color: var(--accent-color);
}

.how-it-works h3 {
  color: var(--text-color);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background-color: var(--accent-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-color);
  overflow: hidden;
}

/* Video Testimonial */
.video-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 1rem;
  text-align:center;
}

/* Final CTA Section */
.final-cta {
  background-color: #000000;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.final-cta h2 {
  color: white;
  margin-bottom: 2rem;
}

.final-cta h2::after {
  background-color: white;
}

/* Footer */
.footer {
  background-color: var(--light-background);
  padding: 3rem 0 2rem;
  color: var(--text-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  margin-bottom: 0.5rem;
}

.footer-info p {
  margin-bottom: 1rem;
}

.footer-links ul {
  padding-left: 0;
}

.footer-links ul li::before {
  display: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}

address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
  .main-nav.active {
    background-color: transparent;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
  }

  .header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav-links {
    padding: 0.5rem 0;
  }

  .nav-link {
    padding: 0.50rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }

  .video-container {
    padding-bottom: 100%; /* Make it more square on mobile */
  }
}

/* Responsive Styles */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    width: auto;
    order: 2;
    margin-top: 0;
  }

  .nav-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .header-cta {
    display: inline-flex;
    width: auto;
    order: 3;
    margin-top: 0;
  }

  .about-content {
    flex-direction: row;
  }

  .team-member-content {
    flex-direction: row;
  }

  .team-member-text {
    order: 1;
  }

  .team-member-image {
    order: 2;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-container {
    padding-bottom: 56.25%; /* Return to 16:9 on desktop */
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .logo-image {
    width: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Improvements */
@media (max-width: 767px) {
  .header {
    padding: 0.5rem 0;
  }

  .header-container {
    padding: 0 10px;
  }

  section {
    padding: 2rem 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
    min-height: 60vh;
  }

  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .primary-cta {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .about-content,
  .team-member-content {
    gap: 1.5rem;
  }

  .about-image,
  .team-member-image {
    max-width: 280px;
  }

  .service-card,
  .benefit-item {
    padding: 1.5rem;
  }

  .step {
    gap: 1rem;
  }

  .team-member-content {
    flex-direction: column-reverse;
  }

  .team-member-image {
    order: 1;
    margin-bottom: 1.5rem;
  }

  .team-member-text {
    order: 2;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .step-number {
    margin-bottom: 0.5rem;
  }
}

/* Tablet Improvements */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-content,
  .team-member-content {
    gap: 2rem;
  }

  .about-text,
  .team-member-text {
    max-width: 60%;
  }

  .about-image,
  .team-member-image {
    max-width: 35%;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

a:focus,
button:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
