* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  color: #2d3748;
  overflow-x: hidden;
}

/* Gradient Background */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

/* Floating Elements */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite linear;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 80%;
  animation-delay: -5s;
}
.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}
.shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 70%;
  animation-delay: -15s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0px) rotate(360deg);
    opacity: 0.7;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  padding: 15px 0;
  position: relative;
  z-index: 10;
  margin-bottom: -20px;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-img {
  height: 120px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo:hover {
  transform: translateY(-2px);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Hero Section */
.hero {
  padding: 40px 0 120px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

.hero .subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 1s ease-out 0.2s both;
}

.cta-button {
  display: inline-block;
  padding: 18px 36px;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: slideInUp 1s ease-out 0.4s both;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

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

/* Main Content */
.content {
  background: white;
  position: relative;
  z-index: 3;
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.level-card {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: auto;
  cursor: default;
}

.level-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #0abde3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.level-card:hover::before {
  transform: scaleX(1);
}

.level-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.level-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.level-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2d3748;
}

/* About Section Text */
.about-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.benefit-item {
  display: block;
  padding: 30px 40px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
  margin-bottom: 32px;
  text-align: center;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/* Benefits Section */
.benefits-intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  font-style: italic;
}

/* About Facilitator */
.facilitator {
  background:
    linear-gradient(
      135deg,
      rgba(102, 126, 234),
      rgba(118, 75, 162)
    ),
    url("images/han1.png") no-repeat center bottom;
  background-size: cover;
  background-blend-mode: multiply;
  color: whitesmoke;
  border-radius: 30px;
  padding: 60px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.facilitator .overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 73, 73, 0.45); 
  z-index: 1;
  border-radius: 30px;
}

.facilitator-content {
  position: relative;
  z-index: 2;
}

.facilitator-text-block {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}

.facilitator h3 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.facilitator h4 {
  text-align: center;
  margin-bottom: 40px;
}

.facilitator-text {
  font-size: 18px;
  line-height: 1.8;
}

.facilitator-text p {
  margin-bottom: 24px;
}

/* Improv Section */
.improv-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.principle-card {
  background: white;
  border: 3px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.principle-card:hover {
  border-color: #667eea;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.principle-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.principle-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2d3748;
}

/* Improv Section */
.improv-intro {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.improv-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  text-align: left;
}

.improv-comparison h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

.improv-comparison h4.no {
  color: #e53e3e;
}

.improv-comparison h4.yes {
  color: #38a169;
}

.improv-principles-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.improv-philosophy {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 60px auto 0;
}

.improv-philosophy h4 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Registration Button */
.registration-button {
  font-size: 20px;
  padding: 20px 40px;
}

/* Who Can Join Section Styles */
.section-subtext {
  text-align: center;
  font-size: 20px;
  color: #4a5568;
  margin-bottom: 28px;
  font-weight: 500;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 0 auto;
}

.requirements-extra {
  max-width: 1000px;
  margin: 36px auto 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.requirement-item {
  background: linear-gradient(135deg, #48dbfb, #0abde3);
  color: white;
  padding: 32px 20px;
  border-radius: 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(72, 219, 251, 0.10);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.requirement-item:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 32px rgba(72, 219, 251, 0.18);
}

/* 2 rows: 3 on first, 2 on second */
.requirement-item:nth-child(4),
.requirement-item:nth-child(5) {
  grid-column: span 1;
}
.requirement-item:nth-child(4) {
  grid-column-start: 1;
}
.requirement-item:nth-child(5) {
  grid-column-start: 2;
}

@media (max-width: 900px) {
  .requirements {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .requirement-item:nth-child(4),
  .requirement-item:nth-child(5) {
    grid-column-start: auto;
  }
}

@media (max-width: 600px) {
  .requirements {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }
  .requirements-extra {
    padding: 0;
    font-size: 16px;
  }
  .section-subtext {
    font-size: 17px;
    max-width: 100%;
  }
}

/* Final CTA */
.final-cta {
  background: #1a202c;
  color: white;
  text-align: center;
  padding: 80px 60px;
  border-radius: 30px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.final-cta h3 {
  font-size: 48px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.final-cta h4 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 107, 107, 0.2);
}

.final-cta p {
  font-size: 24px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  .facilitator,
  .final-cta {
    padding: 40px 30px;
  }

  .levels,
  .benefits,
  .improv-principles,
  .requirements {
    grid-template-columns: 1fr;
  }

  header {
    padding: 12px 0;
    margin-bottom: -15px;
  }

  .logo-img {
    height: 50px;
  }

  .hero {
    padding: 30px 0 100px;
  }

  .facilitator-text-block {
    max-width: 100%;
  }

  .facilitator {
    padding: 40px 30px;
    background-position: center 20%;
  }

  .facilitator-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .facilitator-text p {
    margin-bottom: 20px;
  }

  .final-cta h4 {
    font-size: 24px;
  }
}

/* Interactive Elements */
.interactive-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.interactive-text:hover {
  color: #667eea;
  transition: color 0.3s ease;
}

/* Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa;
  padding: 40px 0;
  border-top: 1px solid #e9ecef;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 16px;
  color: #6c757d;
}

.footer-separator {
  color: #6c757d;
  font-size: 16px;
}

.footer-contact {
  font-size: 16px;
  color: #495057;
}

.footer-contact a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 0;
  }
  
  .footer-info {
    gap: 8px;
  }
}

/* Testimonials Section */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: rgba(102, 126, 234, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: #2d3748;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
}

@media (max-width: 768px) {
  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-text {
    font-size: 16px;
  }
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.event-detail-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.event-icon {
  font-size: 24px;
}

.event-text {
  font-size: 18px;
  color: white;
}

@media (max-width: 768px) {
  .event-details {
    gap: 10px;
  }

  .event-detail-item {
    padding: 12px 15px;
  }

  .event-icon {
    font-size: 20px;
  }

  .event-text {
    font-size: 16px;
  }
}

/* Remove flip card effect styles */
.flip-card,
.flip-card-inner,
.flip-card-front,
.flip-card-back {
  all: unset;
}

.level-card {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: auto;
  cursor: default;
}

/* Responsive fix for flip cards */
@media (max-width: 768px) {
  .flip-card-inner {
    min-height: 180px;
  }
}

.testimonials-table {
  column-count: 2;
  column-gap: 38px;
  max-width: 1000px;
  margin: 0 auto 0 auto;
  padding: 0 0 24px 0;
}

.testimonial-group {
  break-inside: avoid;
  margin-bottom: 32px;
  background: none;
  border: none;
  box-shadow: none;
}

.testimonials-table p {
  margin-bottom: 0;
}

.testimonials-table p {
  break-inside: avoid;
  margin-bottom: 32px;
  font-size: 21px;
  line-height: 1.6;
  color: #22223b;
  font-weight: 400;
  background: none;
  border: none;
  box-shadow: none;
}

.highlight {
  background: #c6f1fa;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 4px;
  color: #22223b;
}

.testimonial-author {
  display: block;
  color: #7b8794;
  font-size: 16px;
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .testimonials-table {
    column-count: 1;
    column-gap: 0;
  }
  .testimonials-table p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .testimonials-table {
    column-count: 1;
    column-gap: 0;
  }
  .testimonials-table p {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .testimonial-author {
    font-size: 14px;
  }
}
