:root {
  --banner-size: 64px;
  --primary: hsl(185, 100%, 31%);
  --secondary: hsl(322, 54%, 47%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%;)
  --body-color: hsl(210, 50%, 98%);
  --border-radius: 0.5rem;
  
  /* Border Radius Scale */
  --radius-xs: 0.125rem; /* 2px */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.375rem; /* 6px */
  --radius-lg: 0.5rem; /* 8px */
  --radius-xl: 0.75rem; /* 12px */
  --radius-2xl: 1rem; /* 16px */

  /* Fluid Typography Scale using clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 3rem);
  --text-5xl: clamp(3rem, 2.4rem + 3vw, 4rem);

  /* Fluid Spacing Scale */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --space-xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --space-2xl: clamp(3rem, 2.4rem + 3vw, 4.5rem);
  --space-3xl: clamp(4rem, 3.2rem + 4vw, 6rem);

  /* Fluid Line Heights */
  --line-height-tight: clamp(1.1, 1.05 + 0.25vw, 1.2);
  --line-height-normal: clamp(1.3, 1.2 + 0.5vw, 1.6);
  --line-height-relaxed: clamp(1.5, 1.4 + 0.5vw, 1.8);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: url("../imgs/mandala-8.jpg") center bottom fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
}

.sessions-background {
  background-color: rgba(0, 145, 158, 0.4);
  padding-block-end: var(--space-md);
}

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

a:not(.nav-link):not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

a:not(.nav-link):not(.btn):hover::after {
  width: 0;
}

h1 {
  font-size: var(--text-5xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-lg);
  color: var(--white);
  font-family: Elza-Text, ui-sans-serif, system-ui;
  text-align: center;
}

h2 {
  font-size: var(--text-3xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-lg);
  color: var(--white);
  font-family: Elza-Text, ui-sans-serif, system-ui;
  text-align: center;
}

h3 {
  font-size: var(--text-2xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

h4 {
  font-size: var(--text-xl);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

h5 {
  font-size: var(--text-lg);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

h6 {
  font-size: var(--text-base);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

.container-fluid {
  padding: var(--space-md);
}

.alignfull {
  max-width: none;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.py-8 {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.py-4 {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.pb-4 {
  padding-bottom: var(--space-md);
}

.pb-8 {
  padding-bottom: var(--space-xl);
}
.pt-8 {
  padding-top: var(--space-xl);
}

.px-4 {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}


	
/* Border Start Radius Utilities */
.b-s-xs {
  border-start-start-radius: var(--radius-xs); 
  border-start-end-radius: var(--radius-xs); 
}

.b-s-sm {
  border-start-start-radius: var(--radius-sm); 
  border-start-end-radius: var(--radius-sm); 
}

.b-s-md {
  border-start-start-radius: var(--radius-md); 
  border-start-end-radius: var(--radius-md); 
}

.b-s-lg {
  border-start-start-radius: var(--radius-lg); 
  border-start-end-radius: var(--radius-lg); 
}

.b-s-xl {
  border-start-start-radius: var(--radius-xl); 
  border-start-end-radius: var(--radius-xl); 
}

.b-s-2xl {
  border-start-start-radius: var(--radius-2xl); 
  border-start-end-radius: var(--radius-2xl); 
}

/* Border End Radius Utilities */
.b-e-xs {
  border-end-start-radius: var(--radius-xs);
  border-end-end-radius: var(--radius-xs); 
}

.b-e-sm {
  border-end-start-radius: var(--radius-sm); 
  border-end-end-radius: var(--radius-sm); 
}

.b-e-md {
  border-end-start-radius: var(--radius-md); 
  border-end-end-radius: var(--radius-md); 
}

.b-e-lg {
  border-end-start-radius: var(--radius-lg); 
  border-end-end-radius: var(--radius-lg);
}

.b-e-xl {
  border-end-start-radius: var(--radius-xl); 
  border-end-end-radius: var(--radius-xl); 
}

.b-e-2xl {
  border-end-start-radius: var(--radius-2xl); 
  border-end-end-radius: var(--radius-2xl); 
}

.bg-primary {
  background-color: rgba(0, 145, 158, 0.4);
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.absolute {
  position: absolute;
}

.bottom-0 {
  bottom: 0px;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4/3;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.gap-4 {
  gap: var(--space-md);
}

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

.grid {
  display: grid;
}

.session-grid {
  max-width: clamp(600px, 60vw + 200px, 780px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 20vw + 50px, 250px), 1fr));
  gap: var(--space-md);
  margin: var(--space-md);
}

@media screen and (min-width: 802px) {

.session-grid {
    margin: auto
}
  }

.highlight-text {
  margin: var(--space-sm);
  border-radius: 9999px;
  background-color: rgba(185, 55, 137, 0.8);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  --tw-text-opacity: 1;
  color: rgb(255 255 255/var(--tw-text-opacity));
  font-size: var(--text-sm);
}

.article-quote {
  font-size: var(--text-xl);
  line-height: var(--line-height-relaxed);
  font-style: italic;
  text-align: center;
  color: var(--secondary);
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  /* background: rgba(185, 55, 137, 0.05);  */
  position: relative;
}

/* .article-quote::before {
  content: '"';
  font-size: var(--text-4xl);
  color: var(--secondary);
  position: absolute;
  top: var(--space-sm);
  left: var(--space-md);
  opacity: 0.3;
} */

/* COLOURS */

.bg-white {
  background-color: var(--white);
}
.bg-white a {
  color: var(--body-color);
}
.bg-white a:hover {
  color: var(--body-color);
}

/* FLUID TYPOGRAPHY */
p {
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

/* LAYOUT with Fluid Spacing */
section {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.container {
  max-width: clamp(30rem, 50vw + 10rem, 50rem);
}

.masthead {
  position: absolute;
  top: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(250px, 30vh + 50px, 350px);
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .masthead {
    background-position: center -50px;
    min-height: clamp(300px, 40vh, 450px);
  }
}
.masthead img {
  display: flex;
  width: 100%;
  max-width: clamp(300px, 40vw + 100px, 500px);
  margin: auto;
}

.branding-packer {
  height: clamp(180px, 20vh + 40px, 240px);
}

.branding {
  z-index: 100;
  position: sticky;
  top: -1px;
  /* set to -1px so that intersection observer can trigger */
  display: flex;
  justify-content: flex-start;
  text-align: left;
  background-color: rgba(255, 255, 255, 0);
  height: clamp(56px, 6vh + 10px, 80px);
  width: 100%;
  transition: background 0.1s linear;
}
.branding .row {
  width: 100%;
  margin: 0;
}
.branding .col {
  padding: 0;
}
.branding .social-wrapper {
  align-items: flex-end;
  padding-block-end: var(--space-sm);
}
.branding .nav-link {
  padding: unset;
}
.branding.isSticky {
  height: var(--banner-size);
}
.branding.isSticky .social-wrapper svg {
  height: clamp(32px, 3vw + 8px, 40px);
}

#polly-yoga .base-white {
  fill: var(--white);
  stroke: var(--primary);
}
#polly-yoga .base-primary {
  fill: var(--primary);
  stroke: var(--white);
}
#polly-yoga .inner-y {
  fill: var(--primary);
}
#polly-yoga:hover {
  cursor: pointer;
}
#polly-yoga:hover .base-white {
  fill: var(--white);
  stroke: var(--secondary);
}
#polly-yoga:hover .base-primary {
  fill: var(--secondary);
  stroke: var(--white);
}
#polly-yoga:hover .inner-y {
  fill: var(--secondary);
}

/* NAVBAR with Fluid Sizing */
.navbar {
  height: max-content;
  justify-content: center;
  top: calc(var(--banner-size) - 1px);
  padding: 0;
}
.navbar a {
  text-decoration: none;
}
.navbar img,
.navbar svg {
  height: clamp(35px, 4vw + 5px, 45px);
}
.navbar .navbar-brand {
  padding: 0;
}
.navbar .row {
  width: 100%;
  align-items: center;
}

.navbar-nav {
  flex-direction: row;
  margin: auto;
  justify-content: center;
}
.navbar-nav .nav-link {
  padding: var(--space-sm);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  font-size: var(--text-base);
}
.navbar-nav .nav-link:hover {
  color: var(--white);
  background: var(--secondary);
}
.navbar-nav li a {
  width: 100%;
  height: 100%;
}

/* JUMBOTRON */
.jumbotron p {
  margin-bottom: 0;
}

.col.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.col.nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.col.nav li {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FOOTER with Fluid Spacing */
.footer {
  background: var(--white);
  color: var(--primary);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
.footer .links {
  justify-content: space-between;
}
.footer .links ul li {
  list-style: none;
  display: inline;
  white-space: nowrap;
}
.footer .links ul li a {
  text-decoration: none;
  color: var(--primary);
  font-size: var(--text-base);
}
.footer .links ul li a:hover {
  color: var(--secondary);
}

/*
 GOOGLE FORM 
*/
.google-form {
  margin: auto;
  width: 100%;
  height: 100%;
  min-height: clamp(1000px, 100vh, 1500px);
}

.social-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.social ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  padding: 0;
  list-style: none;
}
.social li {
  display: flex;
  margin-left: var(--space-sm);
}
.social svg {
  height: clamp(32px, 3vw + 8px, 40px);
  fill: var(--primary);
  align-self: flex-end;
  transition: fill 0.2s linear;
}
.social svg:hover {
  fill: var(--secondary);
}

.copyright {
  padding: var(--space-md) 0 var(--space-xl);
  background: var(--white);
}

div.mcWRN.RH5hzf {
  border: 0 !important;
  box-shadow: none !important;
}

.card {
  color: hsl(185, 100%, 31%);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.125);
  height: -moz-min-content;
  height: min-content;
}

.card-header-image img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.gap-1 {
  gap: var(--space-md);
}

.sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 25vw + 50px, 300px), 1fr));
}

.session {
  position: relative;
  display: flex;
}

.flex {
  display: flex;
}

.p-2 {
  padding: var(--space-sm);
}

.bg-white\/70 {
  background-color: rgba(255, 255, 255, 0.7);
}

.justify-between {
  justify-content: space-between;
}

.items-start {
  align-items: flex-start;
}

.flex-row {
  flex-direction: row;
}

.h-20 {
  height: clamp(4rem, 4vw + 1rem, 6rem);
}



.flex {
  display: flex;
}

.relative {
  position: relative;
}

.btn.cta {
  border-style: none;
  background-color: rgb(0, 145, 158);
  width: fit-content;
  border-radius: 9999px;
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  font-size: var(--text-base);
  display: block;
  margin: auto;
  color: rgb(255, 255, 255);
  text-decoration-line: none;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}

.btn.cta:hover {
  cursor: pointer;
  background-color: var(--secondary);
}

.card-body {
  padding: var(--space-md);
  gap: var(--space-sm);
  display: flex;
  flex-direction: column;
}

.ac .ac-trigger {
  text-align: left;
  width: 100%;
  display: block;
  margin-bottom: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background-color: transparent;
  transition: color 0.25s ease;
  position: relative;
  transition: margin-bottom 0.5s;
  text-transform: uppercase;
  font-size: var(--text-sm);
}

.ac .ac-trigger::after {
  content: "+";
  text-align: center;
  width: clamp(12px, 1.5vw + 3px, 15px);
  transform: translate(0, -50%);
  position: absolute;
  right: 0px;
  top: 50%;
  font-size: var(--text-base);
}

.ac-panel {
  height: 0;
  overflow: hidden;
  gap: var(--space-md);
}

.title {
  font-weight: 700;
  font-size: var(--text-sm);
}

.address, address {
  font-style: normal;
  font-size: var(--text-base);
}

.section {
  margin-bottom: 0;
  margin: auto;
  max-width: clamp(40ch, 50ch + 10vw, 60ch);
  line-height: var(--line-height-relaxed);
  padding: var(--space-md);
  background-color: hsla(0, 0%, 100%, 0.6);
}

/* &:first-of-type{
    padding-block-start: 2rem;
  } */

.section h2{
  text-align: left;
  color: var(--black);
  font-size: var(--text-2xl);
}
/* .bg-primary{
  margin-block-start: 2rem;
  h2{
    margin-block-start: 0;
  }
  .section{
    padding-block-end: 1rem;;
  }
} */

.form-block {
  display: grid;
}

dialog {
  border: none;
  border-radius: clamp(8px, 1vw + 2px, 10px);
  display: flex;
  flex-direction: column;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

dialog form {
  display: grid;
  gap: var(--space-sm);
}

dialog input {
  width: 100%;
  font-size: var(--text-base);
  padding: var(--space-sm);
}

.close {
  align-self: flex-end;
  border-radius: clamp(3px, 0.5vw + 1px, 5px);
  border: none;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
}

.close:hover {
  cursor: pointer;
}

/* Additional Fluid Responsive Improvements */

/* Improved text readability on smaller screens */
@media (max-width: 480px) {
  .article-quote {
    padding: var(--space-md);
    margin: var(--space-lg) 0;
  }
  
  .session-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced spacing for larger screens */
@media (min-width: 1200px) {
  .container {
    max-width: 60rem;
  }
  
  .session-grid {
    max-width: 900px;
  }
}

/* Fluid container widths */
.container-fluid {
  padding-left: clamp(1rem, 2vw + 0.5rem, 3rem);
  padding-right: clamp(1rem, 2vw + 0.5rem, 3rem);
}

/* Responsive image sizing */
.card-header-image img,
.masthead img {
  object-fit: cover;
}

/* Fluid social icon sizing */
.social svg {
  transition: all 0.3s ease;
}

/* Better mobile typography */
@media (max-width: 768px) {
  .section {
    padding: var(--space-sm);
  }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1600px) {
  .session-grid {
    max-width: 1400px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

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

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

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