/* SURF Incubator - Modern Design System */

/* CSS Custom Properties */
:root {
  /* Colors */
  --surf: #00AEFF;
  --trench: #001824;
  --cloud: #F5F5F5;
  --sunset: #FF9300;
  --gourd: #BC1FE0;
  --kiwi: #43E01F;
  --white: #FFFFFF;
  --utility: #cccccc;
  --black: #000000;

  /* Typography */
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;
  --space-full: 100svh;

  /* Layout */
  --max-width: 1400px;
  --border-radius: 8px;
  --border-radius-lg: 14px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--trench);
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.1rem, 8vw, 4rem);
  }

  h2 {
    font-size: clamp(1.6rem, 8vw, 2.7rem);
  margin-bottom: var(--space-sm);
  }

  h3 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  margin-bottom: var(--space-sm);
  }

  h4 {
    font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  }
}

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

a {
  color: var(--surf);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0093d7;
}

/* Layout Components */
.container {
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  gap: var(--space-xl);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--sm {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-3xl) 0;
}

/* Colorful Sections */
.section--surf {
  background: var(--surf);
  color: var(--white);
}

.section--sunset {
  background: var(--sunset);
  color: var(--white);
}

.section--gourd {
  background: var(--gourd);
  color: var(--white);
}

.section--kiwi {
  background: var(--kiwi);
  color: var(--trench);
}

.section--cloud {
  background: var(--cloud);
}

.section--trench {
  background: var(--trench);
  color: var(--white);
}

/* Wave Background Sections */
.section--waves {
  position: relative;
  background: var(--surf);
  color: var(--white);
  overflow: hidden;
}

.section--waves::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/stacked-waves/stacked-waves-1.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 0;
}

.section--waves .container {
  position: relative;
  z-index: 1;
}

/* Wave Variations */
.section--waves-1::before {
  background-image: url('/images/stacked-waves/stacked-waves-1.svg');
}

.section--waves-2::before {
  background-image: url('/images/stacked-waves/stacked-waves-2.svg');
}

.section--waves-3::before {
  background-image: url('/images/stacked-waves/stacked-waves-3.svg');
}

.section--waves-4::before {
  background-image: url('/images/stacked-waves/stacked-waves-4.svg');
}

.section--waves-5::before {
  background-image: url('/images/stacked-waves/stacked-waves-5.svg');
  opacity: 0.5;
}

.section--waves-6::before {
  background-image: url('/images/stacked-waves/stacked-waves-6.svg');
  transform: rotate(180deg);
}

.section--waves-7::before {
  background-image: url('/images/stacked-waves/stacked-waves-7.svg');
}

.section--waves-8::before {
  background-image: url('/images/stacked-waves/stacked-waves-8.svg');
}

.section--waves-9::before {
  background-image: url('/images/stacked-waves/stacked-waves-9.svg');
}

.section--waves-10::before {
  background-image: url('/images/stacked-waves/stacked-waves-10.svg');
}

.section--waves-11::before {
  background-image: url('/images/stacked-waves/stacked-waves-11.svg');
}

/* Light Wave Backgrounds for lighter sections */
.section--waves-light {
  position: relative;
  background: var(--cloud);
  color: var(--trench);
  overflow: hidden;
}

.section--waves-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/stacked-waves/stacked-waves-5.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.section--waves-light .container {
  position: relative;
  z-index: 1;
}

/* Header and Navigation */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-container {
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  position: relative;
}

.nav__logo {
  height: 50px;
  width: auto;
}

.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: clamp(var(--space-sm), 3vw, var(--space-xl));
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-weight: 700;
  color: var(--trench);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--surf);
}

.nav__cta {
  background: var(--surf);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: var(--trench);
  color: var(--white);
}

/* Mobile Navigation */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--trench);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: none;
    gap: var(--space-sm);
    align-items: start;
    transition: visibility 0.3s ease, opacity 0.3s ease;
    width: 100%;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    font-weight: 700;
    color: var(--trench);
    white-space: nowrap;
    background-color: var(--cloud);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-lg);
    display: block;
    width: 100%;
    text-align: left;
  }

  .nav__cta {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-lg);
    display: block;
    width: 100%;
    text-align: left;
  }

  .nav__menu--open {
    visibility: visible;
    opacity: 1;
    display: flex;
  }

  /* Display the call-to-action button only when the navigation menu is open */
  .nav__menu--open+.nav__cta {
    display: block;
    margin-top: var(--space-md);
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  flex: 0 1 auto;
}

/* Universal hover effect for all colored buttons */
.btn--primary:hover,
.btn--sunset:hover,
.btn--gourd:hover,
.btn--kiwi:hover {
  background: #0093d7;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Base button styles */
.btn--primary {
  background: var(--surf);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--cloud);
  border-color: var(--cloud);
}

.btn--tertiary {
  background: transparent;
  color: var(--surf);
  border-color: var(--surf);
}

.btn--sunset {
  background: var(--sunset);
  color: var(--white);
}

.btn--gourd {
  background: var(--gourd);
  color: var(--white);
}

.btn--kiwi {
  background: var(--kiwi);
  color: var(--trench);
}

/* Special hover effects for outline buttons */
.btn--secondary:hover,
.btn--tertiary:hover {
  background: #0093d7;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #0093d7;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  color: var(--trench);
}

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

.card__content {
  color: var(--trench);
}

/* Grid System - Simple Fixed Grids */
.grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

.grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid--4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Hero Slideshow Section */
.hero-slideshow {
  position: relative;
  height: 90svh;
  min-height: 600px;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 24, 36, 0.4);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 100%;
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.slideshow-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover,
.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* Legacy Hero Section (kept for compatibility) */
.hero {
  background: var(--cloud);
  padding: var(--space-2xl) 0;
  text-align: center;
}


.hero__subtitle {
  font-size: 1.25rem;
  color: var(--trench);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Reviews Container */
.reviews-container {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Responsive for Hero Slideshow */
@media (max-width: 768px) {
  .hero-slideshow {
    height: 100svh;
    min-height: 500px;
    margin-top: -82px;
    /* Adjust for fixed header */
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 10vw, 4rem);
  }

  .hero-slideshow .hero-content {
    padding-top: 50px;
    /* Adjust for fixed header */
  }

  .hero__actions {
    flex-direction: row;
    gap: var(--space-sm);
    align-items: center;
  }

  .slideshow-dots {
    bottom: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Text Colors - Conservative Usage */
.text--surf {
  color: var(--surf);
}

.text--trench {
  color: var(--trench);
}

.text--white {
  color: var(--white);
}

.text--sunset {
  color: var(--sunset);
}

/*.text--gourd { color: var(--gourd); }
.text--kiwi { color: var(--kiwi); }*/

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

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer__section h5 {
  margin-bottom: var(--space-md);
  color: var(--surf);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--surf);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer__copyright {
    justify-content: center;
    flex-direction: column;
  }
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surf);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--sunset);
  transform: translateY(-2px);
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.g-0 {
  gap: 0;
}

.p-0 {
  padding: 0;
}

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

.mb-sm {
  margin-bottom: var(--space-sm);
}

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

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

.img--rounded {
  border-radius: var(--border-radius);
  object-fit: cover;
  display: block;
}

.img--landscape {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.img--circle {
  border-radius: 50%;
}

.gdesc-inner {
  display: none;
}

/* Section Labels */
.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surf);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.section--trench .section-label {
  color: var(--surf);
}

/* Services Grid - Modern Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.service-block {
  text-align: center;
  padding: var(--space-lg);
  transition: transform 0.3s ease;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
  color: var(--surf);
}

.service-block h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.service-block p {
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-block {
    padding: var(--space-md);
  }

  .service-icon {
    font-size: 2.5rem;
  }
}

/* Testimonials - Cascading Layout */
.testimonials-grid {
  column-count: 3;
  column-gap: var(--space-lg);
}

.testimonial-block {
  break-inside: avoid;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--border-radius);
  position: relative;
  text-align: left;
  
  /* Subtle glassomorphism effects */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.27);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.quote-icon {
  font-size: 4rem;
  color: var(--cloud);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.quote-icon--large {
  font-size: 6rem;
  margin-bottom: var(--space-md);
}

.testimonial-block blockquote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--cloud);
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.testimonial-author {
  font-weight: 700;
  color: var(--cloud);
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.testimonial-author--featured {
  font-size: 1.1rem;
  margin-top: var(--space-lg);
}

.testimonial-insight {
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-testimonial {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  
  /* Subtle glassomorphism for featured testimonial */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-testimonial blockquote {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    column-count: 1;
    column-gap: 0;
  }

  .testimonial-block {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .quote-icon {
    font-size: 3rem;
  }

  .quote-icon--large {
    font-size: 4rem;
  }

  .testimonial-block blockquote {
    font-size: 1.1rem;
  }

  .featured-testimonial {
    padding: var(--space-lg);
  }

  .featured-testimonial blockquote {
    font-size: 1.25rem;
  }
}

/* Features Grid - Modern Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
  transition: transform 0.3s ease;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-item h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.feature-item p {
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-item {
    padding: var(--space-md);
  }

  .feature-icon {
    font-size: 2.5rem;
  }
}

/* Introduction Hero Section */
.intro-hero {
  /*background: linear-gradient(rgba(0, 24, 36, 0.8), rgba(0, 24, 36, 0.8)), url('/images/stacked-waves/stacked-waves-1.svg');*/
  background: #007eb8;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.intro-hero__content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.intro-hero h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.intro-hero__content h1 {
  margin-bottom: 0;
}

.intro-hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.intro-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cloud);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .intro-hero {
    background-attachment: scroll;
    padding: var(--space-2xl) 0;
  }

  .hero {
    padding: var(--space-xl) 0;
  }

  .intro-hero__stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: .9rem;
    border-radius: 14px;
    font-weight: 900;
  }
}

/* Reviews Section */
.reviews-section {
  text-align: center;
  max-width: 100%;
  width: 100%;
  min-width: 100%;
  margin: 0 auto;
}

.reviews-widget {
  padding: var(--space-lg);
  width: 100%;
  min-width: 100%;
}

/* Events Hero Section */
.events-hero {
  background: linear-gradient(rgba(0, 24, 36, 0.5), rgba(0, 24, 36, 0.8)), url('/images/66413c9812e295ccfd433bee_AI-Hackathon-event-presentation-at-SURF-Incubator-event-space-in-Seattle.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.events-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.events-hero h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.events-hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .events-hero {
    background-attachment: scroll;
    padding: var(--space-2xl) 0;
  }
}

/* Community Section */
.community-section {
  text-align: center;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.feature-highlight {
  text-align: center;
}

.feature-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--surf);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--trench);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Workspace Grid */
.workspace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.workspace-item {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  transition: transform 0.3s ease;
}

.workspace-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.workspace-item h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.workspace-item p {
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .workspace-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .workspace-item {
    padding: var(--space-lg);
  }

  .workspace-icon {
    font-size: 2.5rem;
  }

  .community-features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Membership Block */
.mbr-membership {
  align-items: center;
  gap: 3rem;
}

.mbr-membership__profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.mbr-membership__intro-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Block */
.mbr-features {
  display: grid;
  gap: 1rem;
}

.mbr-features--grid-3x3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  min-height: 300px;
}

.mbr-features--grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-height: 200px;
}

/* Feature Item Block */
.mbr-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 8px;
  transition: filter 0.2s ease;
}

.mbr-feature-item:hover {
  filter: contrast(1.4);
}

.mbr-feature-item--span-2 {
  grid-column: span 2;
}

.mbr-feature-item--green {
  background: rgba(67, 224, 31, 0.3);
}

.mbr-feature-item--blue {
  background: rgba(0, 174, 255, 0.05);
}

.mbr-feature-item--orange {
  background: rgba(255, 147, 0, 0.3);
}

.mbr-feature-item--purple {
  background: rgba(188, 31, 224, 0.3);
}

.mbr-feature-item__icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .mbr-feature-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .flipper>*:nth-child(2) {
    order: -1;
  }
}

/* Space Tags/Chips */
.space-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.space-tag--event {
  background: var(--sunset);
}

.space-tag--office {
  background: var(--gourd);
}

.space-tag--meeting {
  background: var(--surf);
}

.space-tag--general {
  background: var(--surf);
}

.space-tag--featured {
  background: var(--cloud);
  color: var(--trench);
}

.space-tag--hackathons {
  background: var(--kiwi);
  color: var(--trench);
}

.space-tag--workshop {
  background: var(--trench);
}

.space-tag--conference {
  background: var(--surf);
}

.space-tag--creative {
  background: var(--gourd);
}

.space-tag--studio {
  background: var(--sunset);
}

/* Flat Card Variant for Spaces */
.card--flat {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--utility);
  transition: all 0.3s ease;
  color: var(--trench);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.booking--card {
  padding: 0;
  gap: 0;
  background: #f4f5f6;
  overflow: hidden;
}

.card--flat p,
.card--flat h3 {
  margin: 0;
}

.truncate-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Filter and Sort Bar */
.filter-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-lg);
  background: var(--cloud);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--utility);
  margin-bottom: var(--space-lg);
}

.filter-section {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.filter-label,
.sort-label {
  font-weight: 700;
  color: var(--trench);
  font-size: 1rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-tag {
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  opacity: 1;
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: 25px;
  font-weight: 600;
  border: 1px solid transparent;
}

.filter-tag:not(.active) {
  opacity: 0.7;
  background: var(--white) !important;
  color: var(--trench) !important;
  border: 1px solid var(--utility);
}

.filter-tag:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.sort-section {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.sort-select {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--utility);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--trench);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--surf);
  box-shadow: var(--shadow-md);
}

.sort-select:hover {
  border-color: var(--surf);
}

/* Space Items */
.space-item {
  transition: all 0.3s ease;
}

.space-item.hidden {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .filter-sort-bar {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
    align-items: stretch;
  }

  .filter-section,
  .sort-section {
    justify-content: left;
    flex-direction: column;
    align-items: start;
    gap: var(--space-xs);
  }

  .filter-tags {
    justify-content: left;
    gap: var(--space-xs);
  }

  .filter-tag {
    padding: 0.5rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

/* Placeholder for booking sections */
.booking-placeholder {
  background: var(--cloud);
  border: 2px dashed var(--surf);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  margin: var(--space-xl) 0;
}

.booking-placeholder h3 {
  color: var(--surf);
}

.booking-placeholder p {
  color: var(--trench);
  opacity: 0.7;
}

.paperform-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 0 var(--space-lg);
  margin: var(--space-xl) 0;
  min-height: 400px;
}

.paperform-container iframe {
  border-radius: var(--border-radius);
}

@media (max-width: 768px) {
  .booking--card, .paperform-container {
    background: var(--white);
    border: none;
    border-radius: 0px;
  }
  .paperform-container {
    margin: 0 calc(-1 * var(--space-md));
    padding: 0;
  }
}

/* Add to your main CSS file */
.breadcrumbs {
  margin: 0 auto;
  padding: var(--space-md);
  max-width: var(--max-width)
}

.breadcrumbs__list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.breadcrumbs__item {
  color: var(--trench);
}

.breadcrumbs__separator {
  margin: 0 0.5rem;
  color: #888;
}

.mobile-hide {
  display: block;
}

.mobile-show {
  display: none;
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }

  .mobile-show {
    display: block;
  }
}