
.services-vars {
  /* Typography Scale (8px baseline) */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 40px;
  --fs-4xl: 48px;
  --fs-5xl: 56px;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows for 3D effect */
  --shadow-sm: 0 2px 4px rgba(45, 90, 71, 0.08);
  --shadow-md: 0 4px 12px rgba(45, 90, 71, 0.12);
  --shadow-lg: 0 8px 24px rgba(45, 90, 71, 0.16);
  --shadow-xl: 0 12px 40px rgba(45, 90, 71, 0.20);
  --shadow-card: 0 4px 20px rgba(45, 90, 71, 0.10), 0 8px 32px rgba(45, 90, 71, 0.08);
  --shadow-button: 0 4px 12px rgba(193, 127, 89, 0.25);
  --shadow-button-hover: 0 6px 20px rgba(193, 127, 89, 0.35);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #237dd8; /* EDIT: Primary text color - dark forest */
  background-color: #237dd8; /* EDIT: Page background - warm cream */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: #237dd8; /* EDIT: Skip link background - deep forest */
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #f37a20; /* EDIT: #D4A84B Focus outline - golden accent */
  outline-offset: 2px;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.services-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .services-container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .services-container {
    padding: 0 48px;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.services-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

/* EDIT: Hero background image */
.services-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.services-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* EDIT: Hero overlay gradient */
.services-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 71, 0.92) 0%,
    rgba(45, 90, 71, 0.85) 50%,
    rgba(193, 127, 89, 0.75) 100%
  );
  z-index: 1;
}

.services-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* EDIT: Hero headline text */
.services-hero__headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .services-hero__headline {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .services-hero__headline {
    font-size: 56px;
  }
}

/* EDIT: Hero subheading text */
.services-hero__subheading {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 40px 0;
  max-width: 640px;
}

@media (min-width: 640px) {
  .services-hero__subheading {
    font-size: 20px;
  }
}

.services-hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .services-hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 3px solid #f37a20; /* EDIT: Focus outline color */
  outline-offset: 3px;
}

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

/* EDIT: Primary button - terracotta */
.btn--primary {
  background: linear-gradient(135deg, #f37a20 0%, #A86B48 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(193, 127, 89, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #D08A64 0%, #B87653 100%);
  box-shadow: 0 6px 20px rgba(193, 127, 89, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* EDIT: Secondary button - outline style */
.btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* EDIT: Tertiary button - text link style */
.btn--tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--tertiary:hover {
  color: #FFFFFF;
  text-decoration-thickness: 2px;
}

/* EDIT: Contact button - forest green */
.btn--contact {
  background: linear-gradient(135deg, #237dd8 0%, #1E4233 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.35);
}

.btn--contact:hover {
  background: linear-gradient(135deg, #3A7159 0%, #237dd8 100%);
  box-shadow: 0 6px 20px rgba(45, 90, 71, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

.services-section {
  padding: 64px 0;
  position: relative;
  top: 40px;
}

@media (min-width: 640px) {
  .services-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .services-section {
    padding: 96px 0;
  }
}

/* EDIT: Section heading */
.services-section__heading {
  font-size: 28px;
  font-weight: 700;
  color: #237dd8; /* EDIT: Heading color - deep forest */
  margin: 0 0 16px 0;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .services-section__heading {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .services-section__heading {
    font-size: 40px;
  }
}

/* EDIT: Section intro paragraph */
.services-section__intro {
  font-size: 18px;
  line-height: 1.7;
  color: #4A5D55; /* EDIT: Intro text color */
  margin: 0 0 48px 0;
  max-width: 800px;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* EDIT: Service card - 3D soft shadow effect */
.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 
    0 4px 20px rgba(45, 90, 71, 0.08),
    0 8px 32px rgba(45, 90, 71, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f37a20 0%, #f37a20 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 40px rgba(45, 90, 71, 0.12),
    0 20px 60px rgba(45, 90, 71, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  padding: 16px;
  /* Using your Orange #f37a20 as the base */
background: linear-gradient(135deg, hsl(33, 100%, 80%) 0%, hsl(33, 100%,65%) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  color: #f37a20; /* EDIT: Icon color - terracotta */
}

.service-card__number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #f37a20; /* EDIT: Number badge color */
  background: rgba(193, 127, 89, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #237dd8; /* EDIT: Card title color */
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.service-card__description {
  font-size: 15px;
  line-height: 1.7;
  color: #4A5D55; /* EDIT: Card description color */
  margin: 0 0 20px 0;
}

/* ==========================================================================
   ACCORDION (Training Approach)
   ========================================================================== */

.accordion {
  margin-top: 24px;
}

.accordion__item {
  border: 1px solid #E5DFD4; /* EDIT: Accordion border color */
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #FAFAF8;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #237dd8;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}

.accordion__trigger:hover {
  background: #F5F0E8;
}

.accordion__trigger:focus {
  outline: 2px solid #f37a20;
  outline-offset: -2px;
}

.accordion__icon {
  width: 24px;
  height: 24px;
  transition: transform 300ms ease;
}

.accordion__item[data-state="open"] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.accordion__item[data-state="open"] .accordion__content {
  max-height: 1000px;
}

.accordion__inner {
  padding: 0 20px 20px 20px;
}

/* ==========================================================================
   BULLET LISTS
   ========================================================================== */

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

.services-list__item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #4A5D55;
}

.services-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f37a20 0%, #f37a20 100%);
  border-radius: 50%;
}

.services-list__item strong {
  color: #237dd8;
  font-weight: 600;
}

/* ==========================================================================
   FEATURES TABLE
   ========================================================================== */

.features-table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(45, 90, 71, 0.08);
}

.features-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #FFFFFF;
}

.features-table th,
.features-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #E5DFD4;
}

.features-table th {
  background: linear-gradient(135deg, #237dd8 0%, #3A7159 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
}

.features-table th:first-child {
  border-radius: 16px 0 0 0;
}

.features-table th:last-child {
  border-radius: 0 16px 0 0;
}

.features-table td {
  font-size: 15px;
  color: #4A5D55;
}

.features-table tr:hover td {
  background: #FAFAF8;
}

.features-table tr:last-child td:first-child {
  border-radius: 0 0 0 16px;
}

.features-table tr:last-child td:last-child {
  border-radius: 0 0 16px 0;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: linear-gradient(135deg, #237dd8 0%, #d8e9e1 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(45, 90, 71, 0.2);
}

.stat-card__number {
  font-size: 40px;
  font-weight: 800;
  color: hsl(210, 72%, 49%); /* EDIT: Stat number color - golden */
  line-height: 1;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .stat-card__number {
    font-size: 48px;
  }
}

.stat-card__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   WHO BENEFITS SECTION
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(45, 90, 71, 0.06);
  border-left: 4px solid #f37a20;
  transition: all 200ms ease;
}

.benefit-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(45, 90, 71, 0.1);
}

.benefit-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #237dd8;
  margin: 0 0 8px 0;
}

.benefit-card__text {
  font-size: 15px;
  color: #4A5D55;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: linear-gradient(135deg, #237dd8 0%, #1E4233 100%);
  padding: 80px 0;
  text-align: center;
}

.contact-section__heading {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

@media (min-width: 640px) {
  .contact-section__heading {
    font-size: 40px;
  }
}

.contact-section__text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-section__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .contact-section__ctas {
    flex-direction: row;
  }
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  margin: 48px auto 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.contact-form__title {
  font-size: 24px;
  font-weight: 700;
  color: #237dd8;
  margin: 0 0 24px 0;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #237dd8;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: #2D3B36;
  background: #FAFAF8;
  border: 2px solid #E5DFD4;
  border-radius: 10px;
  transition: all 200ms ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #f37a20;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(193, 127, 89, 0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: #D64545;
}

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

.form-error {
  font-size: 13px;
  color: #D64545;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================================================
   FLOATING CTA (Mobile)
   ========================================================================== */

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f37a20 0%, #A86B48 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(193, 127, 89, 0.4);
  cursor: pointer;
  transition: all 200ms ease;
}

.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(193, 127, 89, 0.5);
}

.floating-cta:focus {
  outline: 3px solid #f37a20;
  outline-offset: 3px;
}

.floating-cta svg {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .floating-cta {
    display: none;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .service-card,
  .btn,
  .accordion__icon,
  .accordion__content,
  .benefit-card,
  .floating-cta {
    transition: none !important;
  }
  
  .service-card:hover,
  .btn:hover,
  .benefit-card:hover,
  .floating-cta:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   FEATURES SECTION (Why Choose Hulegeb)
   ========================================================================== */

.features-section {
  background: linear-gradient(180deg, #F5F0E8 0%, #EDE6DA 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(45, 90, 71, 0.06);
  transition: all 300ms ease;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #f37a20 0%, #f37a20 100%);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 300ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(45, 90, 71, 0.12);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #237dd8 0%, #3A7159 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #237dd8;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature-card__text {
  font-size: 15px;
  color: #4A5D55;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.services-footer {
  background: #1E4233;
  padding: 40px 0;
  text-align: center;
}

.services-footer__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.services-footer__text a {
  color: #f37a20;
  text-decoration: none;
}

.services-footer__text a:hover {
  text-decoration: underline;
}
