:root {
  --primary-color: #5D9C59;
  --secondary-color: #F7C948;
  --dark-color: #0B1120;
  --bg-color: #FFFFFF;
  --gray-color: #6B7280;
  --light-gray: #F8F9FA;
  
  --font-heading: 'Gilroy-Bold', sans-serif;
  --font-body: 'Gilroy-Regular', sans-serif;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-color);
  font-weight: 600;
}

/* Base custom styles based on design.md */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 999px;
  color: white;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
  background-color: #4a8246;
  border-color: #4a8246;
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

section {
  padding: 100px 0;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-dark-custom {
  color: var(--dark-color) !important;
}

.bg-light-gray {
  background-color: var(--light-gray);
}

.card-custom {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: box-shadow 0.3s, transform 0.3s;
  background-color: white;
}

.card-custom:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
}

.img-radius {
  border-radius: 20px;
}

/* Custom Breadcrumb */
.breadcrumb-nav {
  display: inline-block;
  background-color: white;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,.04);
  margin-top: 15px;
}

.breadcrumb-link {
  color: var(--gray-color);
  transition: color 0.3s;
}

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

/* Page Header Section */
.page-header {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Page Title Custom Styling */
.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(93, 156, 89, 0.15);
  border: 2px solid rgba(93, 156, 89, 0.3);
  padding: 10px 40px;
  border-radius: 100px;
  margin: 0 auto 1.5rem auto;
  display: block;
  width: fit-content;
}

/* Animated Hamburger Icon */
.custom-toggler .animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

.custom-toggler .animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark-color);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.custom-toggler .animated-icon span:nth-child(1) {
  top: 0px;
}

.custom-toggler .animated-icon span:nth-child(2) {
  top: 9px;
}

.custom-toggler .animated-icon span:nth-child(3) {
  top: 18px;
}

.custom-toggler[aria-expanded="true"] .animated-icon span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
  background: var(--primary-color);
}

.custom-toggler[aria-expanded="true"] .animated-icon span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.custom-toggler[aria-expanded="true"] .animated-icon span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
  background: var(--primary-color);
}
