body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
  }
  
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    z-index: 0;
    opacity: 0;
    animation: fadeInOverlay 1s ease forwards;
    animation-delay: 1.0s;
  }
  /* Overlay animation */
    @keyframes fadeInOverlay {
    to {
      opacity: 1;
    }
  }
  
  .hero-section {
    background: url('../assets/hero-bg.jpg') center center/cover no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 0;
    overflow: hidden; /* important to contain the ::before overlay */
  }
  .hero-section * {
    position: relative;
    z-index: 1;
  }
  .take-survey-section{
    padding: 100px 20px;
    text-align: center;
  }
  
  
 
  .future-experience-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
  }
  
  .feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .feature-card img {
    flex: 1 1 400px;
    max-width: 400px;      /* ✅ sets maximum width of image */
    width: 100%;           /* ✅ makes it responsive */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .feature-text {
    flex: 1 1 400px;
  }
  
  .feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #004d40;
  }
  
  .feature-text p {
    font-size: 1.1rem;
    color: #333;
  }
  
  /* Reverse layout for alternate cards */
  .feature-card.reverse {
    flex-direction: row-reverse;
  }
  
  /* Responsive layout for mobile */
  @media (max-width: 768px) {
    .feature-card {
      flex-direction: column;
      text-align: center;
    }
  
    .feature-card.reverse {
      flex-direction: column;
    }
  }
  
  
  
  .buttons a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #26a69a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }


  .buttons button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #26a69a;
    color: white;
    border: none;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .buttons button:hover {
    background: #00796b;
  }
  
  
  .future-cards, .steps, .pitch, .roadmap-cards, .testimonials, .partners, .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }
  
  .future-card, .step, .pitch-box, .roadmap-card, .testimonial, .stat {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .roadmap-card.phase-active {
    background: linear-gradient(135deg, #004d40, #26a69a);
    color: white;
  }
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  
  footer {
    background: #004d40;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }
  
  footer a {
    color: #80cbc4;
    margin: 0 10px;
    text-decoration: none;
  }
  h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004d40;
  }
  .buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* optional for spacing */
    margin-top: 20px;
  }
  .roadmap-horizontal {
    padding: 60px 20px;
    text-align: center;
    background: #fafafa;
  }
  
  .progress-line {
    height: 4px;
    background: #ccc;
    width: 100%;
    margin: 40px auto 20px auto;
    position: relative;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    background: #26a69a;
    width: 0%;
    transition: width 2s ease;
  }
  
  .phases {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: -20px;
    flex-wrap: wrap;
  }
  
  .phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18%;
    min-width: 180px;
    position: relative;
    margin-top: 20px;
  }
  
  .phase .circle {
    width: 40px;
    height: 40px;
    background: #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    z-index: 1;
  }
  
  .phase.active .circle {
    background: #26a69a;
  }
  
  .phase h4 {
    margin: 5px 0 10px;
    font-size: 1.1rem;
    color: #004d40;
  }
  
  .phase.active h4 {
    color: #26a69a;
  }
  
  .roadmap-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 10px;
    text-align: left;
  }
  
  .roadmap-item ul {
    list-style: disc inside;
    padding-left: 0;
    margin: 0;
  }
  
  .roadmap-item ul li {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #555;
  }
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
    .phases {
      flex-direction: column;
      align-items: center;
      margin-top: 20px;
    }
  
    .progress-line {
      display: none; /* hide line on mobile */
    }
  
    .phase {
      width: 100%;
      margin-bottom: 30px;
    }
  }

  /* Navigation */
  .main-nav {
    background: #004d40;
    color: white;
    padding: 10px 20px;
  }
  
  .main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
  }
  
  .nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
  }
  
  .nav-links a:hover {
    text-decoration: underline;
  }

  /* About */
  .about-story {
    padding: 60px 20px;
    background: #fafafa;
  }
  
  .about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
  }
  
  .about-story ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 20px;
    color: #555;
  }
  
  .about-story ul li {
    margin-bottom: 10px;
  }
/* Modal Style */
/* Modal Style */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000;
    padding-top: 100px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
  }
  
  .modal-content {
    background: white;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
      /* NEW: Make it max height and scrollable */
      max-height: 90vh;
      overflow-y: auto;
      box-sizing: border-box;
      padding-bottom: 100px;    
  }
  
  .close-modal {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-modal:hover,
  .close-modal:focus {
    color: black;
    text-decoration: none;
  }
  
  .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  
  .modal-content form input,
  .modal-content form textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .modal-content form button {
    padding: 10px;
    background: #26a69a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  .modal-content form button:hover {
    background: #00796b;
  }
  /* Mobile Responsive Fix */
@media (max-width: 480px) {
  .modal-content {
    width: 90%;
    padding: 16px;
  }

  .modal-content input,
  .modal-content textarea,
  .modal-content select {
    font-size: 16px;
  }

  .modal-content button {
    width: 100%;
    font-size: 16px;
  }
}
  .hidden {
    display: none;
  }
  /* Form */
  .survey-intro {
    padding: 60px 20px;
    background: #ffffff;
    text-align: center;
  }
  
  .survey-intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #004d40;
  }
  
  .survey-intro p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .survey-intro .button-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .survey-intro button {
    padding: 12px 24px;
    font-size: 1rem;
    background: #26a69a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .survey-intro button:hover {
    background: #00796b;
  }
.survey-intro {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
/* Survey Form Container */
.survey-section {
    background: #fff;
    padding: 60px 20px;
  }
  
  .survey-section form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Headings inside the form */
  .survey-section h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #004d40;
  }
  
  /* Form Fields */
  .survey-section input,
  .survey-section select,
  .survey-section textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #f9f9f9;
    box-sizing: border-box;
  }
  
  .survey-section textarea {
    resize: vertical;
  }
  
  /* Submit Button */
  .submit-btn {
    background: #004d40;
    color: white;
    padding: 14px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .submit-btn:hover {
    background: #00332d;
  }
  
.survey-intro.visible {
  opacity: 1;
  transform: translateY(0);
}
.join-hero {
    background: url('../assets/ophelia.jpg') center center/cover no-repeat;
  }
 /* Group Card Styling for Questions */
.form-card {
    background: #fefefe;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  }
  form label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #004d40;
    display: block;
    margin-bottom: 6px;
  }
  form select {
    font-size: 0.95rem; /* slightly smaller */
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f9f9f9;
  }
  form .form-card label + select,
  form .form-card label + input {
    margin-bottom: 20px;
  }
/* Fade-in animation */
@keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero-section h1,
  .hero-section p ,
  .hero-section {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
  }
  
  /* Delay for h1 and p */
  .hero-section h1 {
    animation-delay: 1s;
  }
  
  .hero-section p:nth-of-type(1) {
    animation-delay: 2s;
  }
  
  .hero-section p:nth-of-type(2) {
    animation-delay: 3s;
  }
  .hero-section .buttons:nth-of-type(1) {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 4s;
  }
  
  .hero-section .buttons:nth-of-type(2) {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 5s;
  }
        
  button {
    cursor: pointer;
  }
  

  .fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  .fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
  }
  
  .partner-card {
    background: white;
    padding: 20px;
    width: 200px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .partner-card:hover {
    transform: translateY(-5px);
  }
  
  .partner-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #004d40;
  }
  
  .partner-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
  }
  
  .partner-card img {
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }
  
  .contact-section {
    text-align: center;
    padding: 60px 20px;
  }
  
  .contact-section p {
    font-size: 1.1rem;
    color: #444;
    margin-top: 10px;
  }
  

  .contact-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    
  }
  
  .contact-form button {
    padding: 12px;
    background: #26a69a;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .contact-form button:hover {
    background: #00796b;
  }
  .share-buttons.smaller button {
  font-size: 0.9rem;
  padding: 8px 14px;
  margin: 5px;
}

.learn-more .cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  font-size: 1.1rem;
  background-color: #26a69a;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.learn-more .cta-btn:hover {
  background-color: #00796b;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
  body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

    /* show full paintings inside equal tiles */
/* keep equal tiles + crop edges nicely */
/* keep equal tiles + crop edges nicely */
.tile{
  background:#fff; border:1px solid #e6e6e6; border-radius:10px;
  aspect-ratio:4/3; overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.tile picture, .tile img{ width:100%; height:100%; }
.tile img{ object-fit:cover; }

/* Lightbox overlay */
.lightbox-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.75);
  display:none; align-items:center; justify-content:center; z-index:9999;
}
.lightbox-backdrop.open{ display:flex; }

/* Panel */
.lightbox{
  background:#fff; color:#333; border:1px solid #e6e6e6; border-radius:12px;
  width:min(1000px, 92vw);
  max-height:90vh; display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}

/* Header */
.lightbox-header{ display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; border-bottom:1px solid #eee; background:#fafafa; }
.lightbox-title{ font-weight:600; margin:0; font-size:1rem; color:#333; }
.lightbox-close{ background:transparent; border:0; font-size:22px; line-height:1; cursor:pointer; padding:6px 8px; }

/* Main image */
.lightbox-media{ position:relative; display:flex; align-items:center; justify-content:center;
  background:#111; }
.lightbox-media img{ max-width:100%; max-height:70vh; object-fit:contain; display:block; }

/* Nav buttons */
.nav-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.9); border:1px solid #e6e6e6; color:#333;
  width:40px; height:40px; border-radius:999px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.nav-btn:hover{ background:#fff; }
.nav-prev{ left:10px; } .nav-next{ right:10px; }

/* Thumbnails */
.lightbox-thumbs{ display:flex; gap:8px; overflow-x:auto; padding:10px; background:#fafafa; border-top:1px solid #eee; }
.lightbox-thumbs button{
  background:#fff; border:1px solid #e6e6e6; padding:0; border-radius:6px; cursor:pointer;
  width:90px; height:68px; overflow:hidden; flex:0 0 auto;
}
.lightbox-thumbs img{ width:100%; height:100%; object-fit:cover; display:block; }
.lightbox-thumbs button[aria-current="true"]{ outline:2px solid #26a69a; outline-offset:1px; }

/* --- Ensure gallery captions sit BELOW the image on artist pages --- */
#gallery .gallery .tile,
#gallery .gallery figure {
  display: flex !important;
  flex-direction: column !important;   /* stack image over caption */
}

#gallery .gallery img {
  display: block;
  width: 100%;
  /* keep your chosen thumbnail height OR let images size naturally: */
  /* height: 210px; object-fit: cover; */  /* (keep if you want uniform tiles) */
}

#gallery .gallery figcaption {
  display: block;
  float: none !important;              /* defeat any float from global CSS */
  text-align: left !important;
  margin: 0;
  padding: 10px 12px;                  /* matches your current look */
}

/* Featured Artists strip */
.artists-header{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;
}
.artists-nav{ display:flex; gap:8px; }
.artists-btn{
  appearance:none; border:1px solid #e6e6e6; background:#fff; color:#222;
  border-radius:999px; width:36px; height:36px; line-height:34px; text-align:center;
  cursor:pointer; font-size:20px;
}
.artists-btn:hover{ background:#f5f5f5; }

.artists-scroller{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap:16px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.artists-scroller::-webkit-scrollbar { height: 8px; }
.artists-scroller::-webkit-scrollbar-thumb { background:#ddd; border-radius:8px; }

.artist-card{
  scroll-snap-align: start;
  background:#fff; border:1px solid #eee; border-radius:14px;
  overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,.06);
  display:flex; flex-direction:column;
}
.artist-cover img{
  display:block; width:100%; height:180px; object-fit:cover ;object-position: top center;
}
.artist-body{ padding:12px 12px 14px 12px; display:flex; flex-direction:column; gap:6px; }
.artist-name{ margin:0; font-size:1.05rem; }
.artist-name a{ color:inherit; text-decoration:none; }
.artist-name a:hover{ text-decoration:underline; }
.artist-blurb{ color:#666; font-size:.92rem; line-height:1.35; margin:0; }
.artist-link{ margin-top:4px; font-size:.92rem; color:#0d9488; text-decoration:none; }
.artist-link:hover{ text-decoration:underline; }

/* Larger cards on big screens */
@media (min-width: 1024px){
  .artists-scroller{ grid-auto-columns: 320px; }
 
}
/* Justified gallery: constant height, variable width */
.gallery.justified {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

/* Kill the old fixed-aspect tile behavior for this gallery */
.gallery.justified .tile {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;   /* image on top, caption below (if any) */
  /* remove any fixed aspect-ratio from earlier rules */
  aspect-ratio: auto !important;
}

/* Image scales to a fixed height; width follows naturally */
.gallery.justified .tile picture,
.gallery.justified .tile img {
  display: block;
  height: 210px;     /* <- constant row height */
  width: auto;       /* <- variable width; preserves aspect */
  max-width: none;   /* ensure no unwanted shrinking */
  object-fit: contain;     /* no cropping; whole image visible */
  background: #fafafa;     /* subtle backdrop for odd aspect ratios */
}

/* Optional: caption stays below image */
.gallery.justified .tile figcaption {
  padding: 8px 10px;
  font-size: 0.92rem;
  color: #555;
}

/* Mobile: slightly shorter row height so more fit on screen */
@media (max-width: 640px) {
  .gallery.justified .tile img { height: 170px; }
}



  /* no changes needed for .phases, .phase, etc */
      
    