/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --sage-green: #A8B79A;
  --sage-green-light: #B8C7AA;
  --sage-green-dark: #98A78A;
  --gold: #D4A574;
  --gold-light: #E4B584;
  --gold-dark: #C49564;
  
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  
  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-base: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-6);
  }
}

.section {
  padding: var(--spacing-20) 0;
}

.section__subtitle {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--sage-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-3);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section__title {
    font-size: var(--font-size-4xl);
  }
}

.section__description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.text-accent {
  color: var(--sage-green);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  padding: var(--spacing-3) var(--spacing-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--sage-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--sage-green);
  border: 2px solid var(--sage-green);
}

.btn-outline:hover {
  background-color: var(--sage-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
}

.nav__logo {
  height: 40px;
  width: auto;
  border-radius: var(--radius-base);
}

.nav__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--spacing-8);
}

.nav__link {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  text-decoration: none;
  padding: var(--spacing-2) 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--sage-green);
  border-bottom-color: var(--sage-green);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--gray-700);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-6);
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
  }
}

/* ========== HOME SECTION ========== */
.home {
  padding-top: var(--spacing-20);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.home__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
  align-items: center;
  margin-bottom: var(--spacing-16);
}

@media (min-width: 768px) {
  .home__content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
  }
}

.home__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: var(--spacing-6);
}

@media (min-width: 768px) {
  .home__title {
    font-size: var(--font-size-5xl);
  }
}

.home__description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  margin-bottom: var(--spacing-8);
  line-height: 1.8;
}

.home__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-4);
}

.home__image {
  position: relative;
}

.home__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.home__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-8);
  padding: var(--spacing-12);
  background-color: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--sage-green);
  margin-bottom: var(--spacing-2);
}

.stat__label {
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
}

/* ========== SERVICES SECTION ========== */
.services {
  background-color: var(--gray-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-16);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sage-green);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--sage-green), var(--sage-green-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-4);
}

.service-card__icon i {
  font-size: var(--font-size-2xl);
  color: var(--white);
}

.service-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.service-card__description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-4);
  line-height: 1.6;
}

.service-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-4);
}

.service-card__duration {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.service-card__cost {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--sage-green);
}

.services__image {
  text-align: center;
}

.services__img {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

/* ========== API DOCS SECTION ========== */
.api-docs {
  background-color: var(--white);
}

.api__content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-12);
  margin-top: var(--spacing-12);
}

@media (max-width: 1024px) {
  .api__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }
}

.api__sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

@media (max-width: 1024px) {
  .api__sidebar {
    position: static;
  }
}

.api__nav {
  background-color: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

.api__nav-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-4);
}

.api__nav-list {
  list-style: none;
}

.api__nav-item {
  margin-bottom: var(--spacing-2);
}

.api__nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  padding: var(--spacing-3);
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-base);
  transition: all var(--transition-base);
}

.api__nav-link:hover,
.api__nav-link.active {
  background-color: var(--sage-green);
  color: var(--white);
}

.api__info {
  background-color: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--spacing-6);
}

.api__info h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.api__section {
  display: none;
}

.api__section.active {
  display: block;
}

.api__section-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.api__section-desc {
  color: var(--gray-600);
  margin-bottom: var(--spacing-8);
}

.endpoint {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-6);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.endpoint__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
  padding: var(--spacing-4) var(--spacing-6);
  background-color: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
}

.endpoint__method {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.endpoint__method.get {
  background-color: var(--success);
  color: var(--white);
}

.endpoint__method.post {
  background-color: var(--info);
  color: var(--white);
}

.endpoint__method.put {
  background-color: var(--warning);
  color: var(--white);
}

.endpoint__method.delete {
  background-color: var(--error);
  color: var(--white);
}

.endpoint__path {
  font-family: 'Courier New', monospace;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
}

.endpoint__desc {
  color: var(--gray-600);
  margin-left: auto;
}

.endpoint__content {
  padding: var(--spacing-6);
}

.endpoint__content h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin: var(--spacing-4) 0 var(--spacing-2) 0;
}

.code-block {
  background-color: var(--gray-900);
  color: var(--gray-100);
  padding: var(--spacing-4);
  border-radius: var(--radius-base);
  font-family: 'Courier New', monospace;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  overflow-x: auto;
  margin-bottom: var(--spacing-4);
}

.code-comment {
  color: #6A9955;
}

.code-string {
  color: #CE9178;
}

.code-key {
  color: #9CDCFE;
}

.code-boolean {
  color: #569CD6;
}

.code-keyword {
  color: #C586C0;
}

/* ========== ABOUT SECTION ========== */
.about {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.about::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-20);
  align-items: start;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .about__content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-16);
  }
}

.about__text {
  max-width: none;
}

.about__description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--spacing-12);
  max-width: 600px;
}

/* ========== MISSION SECTION ========== */
.about__mission {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-8);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about__mission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(135deg, var(--sage-green), var(--gold));
}

.mission__content {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-6);
}

.mission__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--sage-green), var(--sage-green-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--white);
  flex-shrink: 0;
}

.mission__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-3);
}

.mission__description {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ========== VISUAL SECTION ========== */
.about__visual {
  position: relative;
}

.about__image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--spacing-8);
}

.about__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.about__image-container:hover .about__img {
  transform: scale(1.05);
}

.about__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-8);
}

.about__experience {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.about__years {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--sage-green);
  line-height: 1;
  margin-bottom: var(--spacing-2);
}

.about__label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stats Cards */
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-4);
}

.stat-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  padding: var(--spacing-6);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-base);
  transition: all 0.3s ease;
}

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

.stat-card__number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--sage-green);
  margin-bottom: var(--spacing-2);
}

.stat-card__label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
}

/* ========== VALUES SECTION ========== */
.values {
  background: linear-gradient(135deg, var(--white) 0%, #fafbfc 50%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(168, 183, 154, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.values .section__header {
  position: relative;
  z-index: 2;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-10);
  margin-top: var(--spacing-12);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-12);
  }
}

@media (min-width: 1200px) {
  .values__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-8);
  }
}

/* Value Cards */
.value-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-10);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 4px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  transition: all 0.3s ease;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.04;
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 15px 35px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.value-card:hover::after {
  transform: scale(1.3);
  opacity: 0.08;
}

/* Card Variants */
.value-card--excellence::before {
  background: linear-gradient(135deg, var(--sage-green), #7fb069);
}

.value-card--excellence::after {
  background: var(--sage-green);
}

.value-card--quality::before {
  background: linear-gradient(135deg, var(--gold), #e8b86d);
}

.value-card--quality::after {
  background: var(--gold);
}

.value-card--cleanliness::before {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.value-card--cleanliness::after {
  background: #6366f1;
}

.value-card--compassion::before {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.value-card--compassion::after {
  background: #ef4444;
}

/* Card Header */
.value-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--spacing-8);
  position: relative;
}

.value-card__icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.value-card__icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-2xl);
  transition: all 0.3s ease;
}

.value-card__icon i {
  position: relative;
  z-index: 2;
  color: var(--white);
  transition: all 0.3s ease;
}

/* Icon Backgrounds */
.value-card--excellence .value-card__icon::before {
  background: linear-gradient(135deg, var(--sage-green), #7fb069);
}

.value-card--quality .value-card__icon::before {
  background: linear-gradient(135deg, var(--gold), #e8b86d);
}

.value-card--cleanliness .value-card__icon::before {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.value-card--compassion .value-card__icon::before {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.value-card:hover .value-card__icon::before {
  transform: scale(1.1);
}

.value-card:hover .value-card__icon i {
  transform: scale(1.1);
}

/* Card Badge */
.value-card__badge {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-full);
  color: var(--white);
  opacity: 0.9;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.value-card--excellence .value-card__badge {
  background: linear-gradient(135deg, var(--sage-green), #7fb069);
}

.value-card--quality .value-card__badge {
  background: linear-gradient(135deg, var(--gold), #e8b86d);
}

.value-card--cleanliness .value-card__badge {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.value-card--compassion .value-card__badge {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.value-card:hover .value-card__badge {
  opacity: 1;
  transform: scale(1.05);
}

/* Card Content */
.value-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.value-card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: var(--spacing-6);
}

.value-card__description {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

/* Accent Element */
.value-card__accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.06;
  transition: all 0.4s ease;
}

.value-card--excellence .value-card__accent {
  background: var(--sage-green);
}

.value-card--quality .value-card__accent {
  background: var(--gold);
}

.value-card--cleanliness .value-card__accent {
  background: #6366f1;
}

.value-card--compassion .value-card__accent {
  background: #ef4444;
}

.value-card:hover .value-card__accent {
  transform: scale(1.3);
  opacity: 0.12;
}

/* ========== ANIMATIONS ========== */
.value-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.value-card.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }
.value-card:nth-child(4) { transition-delay: 0.4s; }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .about__content {
    gap: var(--spacing-12);
  }
  
  .values__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
  }
  
  .value-card {
    padding: var(--spacing-8);
    min-height: 280px;
  }
  
  .value-card__header {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-4);
  }
  
  .value-card__icon {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-2xl);
  }
  
  .value-card__title {
    font-size: var(--font-size-xl);
  }
  
  .mission__content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-4);
  }
  
  .about__img {
    height: 350px;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .value-card__badge {
    font-size: var(--font-size-xs);
    padding: var(--spacing-1) var(--spacing-3);
  }
  
  .about__overlay {
    padding: var(--spacing-4);
  }
  
  .about__experience {
    padding: var(--spacing-4);
  }
  
  .value-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3);
  }
  
  .value-card__badge {
    align-self: flex-start;
  }
}

/* ========== CONTACT SECTION ========== */
.contact {
  background-color: var(--white);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-16);
}

@media (min-width: 768px) {
  .contact__content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-8);
}

.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage-green), var(--sage-green-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-xl);
}

.contact__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-1);
}

.contact__desc {
  color: var(--gray-600);
  line-height: 1.6;
}

.contact__social {
  margin-top: var(--spacing-8);
}

.social__links {
  display: flex;
  gap: var(--spacing-4);
  margin-top: var(--spacing-3);
}

.social__link {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage-green), var(--sage-green-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: var(--font-size-xl);
  transition: all var(--transition-base);
}

.social__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========== FORM ========== */
.form {
  background-color: var(--gray-50);
  padding: var(--spacing-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.form__group {
  margin-bottom: var(--spacing-6);
}

.form__input {
  width: 100%;
  padding: var(--spacing-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  background-color: var(--white);
  transition: all var(--transition-base);
}

.form__input:focus {
  outline: none;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 3px rgba(168, 183, 154, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: var(--spacing-16) 0 var(--spacing-8) 0;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-12);
  margin-bottom: var(--spacing-12);
}

@media (min-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr 2fr;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.footer__logo {
  height: 40px;
  width: auto;
  border-radius: var(--radius-base);
}

.footer__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--white);
}

.footer__desc {
  line-height: 1.6;
  max-width: 400px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-8);
}

.footer__section-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: var(--spacing-2);
}

.footer__link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--sage-green);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: var(--gray-400);
  margin-bottom: var(--spacing-2);
}

.footer__bottom {
  padding-top: var(--spacing-8);
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-500);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 480px) {
  .home__title {
    font-size: var(--font-size-3xl);
  }
  
  .section__title {
    font-size: var(--font-size-2xl);
  }
  
  .home__buttons {
    flex-direction: column;
  }
  
  .btn {
    justify-content: center;
  }
  
  .home__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    padding: var(--spacing-6);
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .api__content {
    grid-template-columns: 1fr;
  }
  
  .about__values {
    grid-template-columns: 1fr;
  }
  
  .value {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
  }
} 