:root {
  /* Triadic color scheme - primary colors */
  --primary: #FF5A5F;
  --primary-dark: #E34B50;
  --primary-light: #FF7A7F;
  --secondary: #5AFF9F;
  --secondary-dark: #41D682;
  --secondary-light: #7AFFB5;
  --tertiary: #5A9FFF;
  --tertiary-dark: #4580E3;
  --tertiary-light: #7AB5FF;
  
  /* Neutral colors */
  --dark: #2F2F2F;
  --dark-medium: #555555;
  --medium: #888888;
  --light-medium: #BBBBBB;
  --light: #F5F5F5;
  
  /* Typography */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Brutalist properties */
  --brutal-radius: 0;
  --brutal-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
  --brutal-border: 2px solid var(--dark);
  
  /* Eco-minimalist properties */
  --eco-border-radius: 4px;
  --eco-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========== Base Styles ========== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== Layout Containers ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar {
  padding: var(--space-md) 0;
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: var(--space-sm) var(--space-md);
  margin: 0 var(--space-xs);
  transition: all 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary);
  background-color: transparent !important;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--dark);
}

.logo h1 {
  margin: 0;
  font-size: 1.2rem;
}

/* ========== Brutalist Elements ========== */
.brutal-card {
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
  transition: all 0.3s ease;
  border-radius: var(--brutal-radius);
  overflow: hidden;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.brutal-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8);
}

.brutal-card .card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.brutal-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brutal-card:hover .card-image img {
  transform: scale(1.05);
}

.brutal-card .card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.brutal-button {
  background-color: var(--primary);
  color: white;
  border: var(--brutal-border);
  border-radius: var(--brutal-radius);
  box-shadow: var(--brutal-shadow);
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem;
}

.brutal-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8);
  background-color: var(--primary-dark);
  color: white;
}

.brutal-button.is-light {
  background-color: white;
  color: var(--dark);
}

.brutal-button.is-light:hover {
  background-color: var(--light);
  color: var(--dark);
}

.brutal-input,
.brutal-textarea,
.brutal-select select {
  border: var(--brutal-border);
  border-radius: var(--brutal-radius);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.brutal-input:focus,
.brutal-textarea:focus,
.brutal-select select:focus {
  border-color: var(--primary);
  box-shadow: 2px 2px 0 var(--primary-dark);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-body {
  z-index: 10;
  position: relative;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

/* ========== Success Stories Section ========== */
#success-stories .columns {
  margin-top: var(--space-lg);
}

#success-stories .card {
  height: 100%;
}

#success-stories .card-image {
  height: 240px;
}

#success-stories .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Team Section ========== */
#team {
  position: relative;
}

#team .column {
  margin-bottom: var(--space-lg);
}

#team .card-image {
  height: 300px;
}

#team .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#team .subtitle {
  color: var(--tertiary);
  font-weight: 600;
  margin-top: -0.5rem;
}

/* ========== Webinars Section ========== */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--dark);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: var(--space-lg) 0;
  position: relative;
  width: 50%;
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: var(--tertiary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  z-index: 1;
  border: var(--brutal-border);
  box-shadow: var(--brutal-shadow);
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -40px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -40px;
}

.timeline-content {
  padding: 0;
  position: relative;
  width: 85%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: var(--space-lg);
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: var(--space-lg);
}

/* ========== Resources Section ========== */
#resources {
  background-color: var(--light);
}

.resource-links {
  list-style: none;
  padding: 0;
}

.resource-links li {
  margin-bottom: var(--space-md);
}

.resource-links a {
  color: var(--tertiary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.resource-links a:hover {
  color: var(--tertiary-dark);
  border-bottom-color: var(--tertiary-dark);
}

/* ========== Gallery Section ========== */
#gallery .card-image {
  height: 250px;
  overflow: hidden;
}

#gallery .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#gallery .card:hover .card-image img {
  transform: scale(1.1);
}

/* ========== Community Section ========== */
.community-stats {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.stat-card {
  background-color: var(--light);
  padding: var(--space-lg);
  border-radius: var(--eco-border-radius);
  box-shadow: var(--eco-shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card .title {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-card .subtitle {
  color: var(--dark-medium);
}

/* ========== Customer Stories Section ========== */
#customer-stories .media {
  align-items: center;
}

#customer-stories .media-left {
  margin-right: var(--space-md);
}

#customer-stories .media-content .title {
  margin-bottom: 0;
}

#customer-stories .media-content .subtitle {
  color: var(--medium);
}

#customer-stories .content {
  margin-top: var(--space-md);
}

/* ========== Behind the Scenes Section ========== */
#behind-the-scenes .content {
  max-width: 800px;
  margin: 0 auto;
}

#behind-the-scenes .card-image {
  height: 240px;
}

#behind-the-scenes .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Press Section ========== */
#press .card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#press .is-italic {
  color: var(--medium);
  margin-top: auto;
}

/* ========== Careers Section ========== */
.job-listings {
  margin-top: var(--space-lg);
}

.job-listings .card {
  transition: all 0.3s ease;
}

.job-listings .card:hover {
  transform: translateY(-5px);
}

.job-listings .level {
  margin-bottom: var(--space-md);
}

/* ========== Contact Section ========== */
#contact .column {
  margin-bottom: var(--space-lg);
}

.map-container {
  border: var(--brutal-border);
  overflow: hidden;
  height: 300px;
  width: 100%;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Footer ========== */
.footer {
  padding: var(--space-xl) 0;
  background-color: var(--dark);
  color: white;
}

.footer .title {
  color: white;
  margin-bottom: var(--space-md);
}

.footer p {
  color: var(--light-medium);
}

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

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer ul a {
  color: var(--light-medium);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer ul a:hover {
  color: white;
  text-decoration: underline;
}

.social-links li {
  display: inline-block;
  margin-right: var(--space-md);
}

.social-links a {
  color: var(--light-medium);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}

.social-links a:hover {
  color: white;
  border-bottom-color: var(--primary);
}

/* ========== Success Page ========== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

/* ========== Privacy & Terms Pages ========== */
.content-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-page .content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

/* ========== Animations ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0); }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-slideUp {
  animation: slideUp 0.8s ease forwards;
}

/* Particle animation */
.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle 3s infinite ease-in-out;
}

/* ========== Responsive Styles ========== */
@media screen and (max-width: 1023px) {
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
  }
  
  .timeline-date {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
    left: 0 !important;
  }
  
  .timeline-content {
    width: calc(100% - 90px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --space-xl: 3rem;
  }
  
  .brutal-card {
    margin-bottom: var(--space-lg);
  }
  
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .stat-card {
    margin-bottom: var(--space-md);
  }
}

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-auto {
  margin-top: auto !important;
}

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

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

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

.bg-primary {
  background-color: var(--primary) !important;
}

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

.bg-dark {
  background-color: var(--dark) !important;
  color: white;
}