/* LYIS Website - Static CSS
   Converted from Tailwind CSS
*/

/* ===== CSS Variables ===== */
:root {
  /* ===== LYIS Educational Light Theme ===== */

  /* Base */
  --background: #ffffff;
  --foreground: #1f2937;

  /* Brand */
  --primary: /*#0D1164;*/ #274B6F;              /* Academic Blue */
  --primary-foreground: #ffffff;
  --secondary: #F25912;            /* Educational Orange */
  --secondary-foreground: #ffffff;

  /* Surfaces */
  --card: #f9fafb;
  --card-foreground: #1f2937;

  /* Muted */
  --muted: #eef2f7;
  --muted-foreground: #4b5563;

  /* Accent */
  --accent: #F25912;
  --accent-foreground: #ffffff;

  /* Borders & Inputs */
  --border: #e5e7eb;
  --input: #ffffff;
  --ring: rgba(13, 17, 100, 0.35);

  --radius: 0.75rem;
}


/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.primary-text {
  color: var(--primary);
}
.background-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Utilities ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(108, 62, 255, 0.9);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-glow {
  box-shadow: 0 0 40px rgba(108, 62, 255, 0.3), 0 0 80px rgba(108, 62, 255, 0.1);
}

.btn-glow:hover {
  transform: scale(1.05);
}

.btn-light {
  background-color: var(--accent);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
}

.btn-light-solid {
  background-color: var(--foreground);
  color: var(--primary);
  width: 100%;
  padding: 0.75rem 1.5rem;
}

.btn-light-solid:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.btn-text:hover {
  gap: 0.75rem;
}

.btn-text-sm {
  font-size: 0.875rem;
}

.btn-text-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-foreground);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.btn-text-light:hover {
  gap: 0.75rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.825rem 1.50rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--primary-foreground);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.3);
  gap: 0.75rem;
}

.btn-outline-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 10, 15, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-outline-small:hover {
  background: rgba(10, 10, 15, 0.2);
  gap: 0.75rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(42, 42, 61, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .nav-container {
    height: 5rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .logo-link {
    gap: 1rem;
  }
}

.logo-img {
  height: 2rem;
  width: auto;
}

@media (min-width: 1024px) {
  .logo-img {
    height: 2.5rem;
  }
}

.logo-divider {
  color: rgba(224, 224, 224, 0.4);
  font-size: 1.25rem;
  font-weight: 300;
}

@media (min-width: 1024px) {
  .logo-divider {
    font-size: 1.5rem;
  }
}

.logo-text {
  display: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

@media (min-width: 1024px) {
  .logo-text {
    font-size: 1rem;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.menu-toggle:hover {
  color: var(--primary);
}

.btn-light-solid-footer{
    background-color: var(--primary);
    color: var(--muted);
    width: 100%;
    padding: 0.75rem 1.5rem;
}
/* ===== Menu Overlay ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(48px);
}

.menu-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(-2rem);
  transition: transform 0.5s ease;
}

.menu-overlay.active .menu-content {
  transform: translateY(0);
}

.menu-close {
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.menu-close:hover {
  color: var(--primary);
}

.menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .menu-nav {
    gap: 3rem;
  }
}

.menu-link {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(1rem);
}

@media (min-width: 1024px) {
  .menu-link {
    font-size: 3.75rem;
  }
}

.menu-link:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.menu-overlay.active .menu-link {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .menu-link:nth-child(5) { transition-delay: 0.5s; }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.75),
    #ffffff
  );
}

.hero-overlay-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(108, 62, 255, 0.2), transparent, rgba(155, 81, 224, 0.1));
}

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

.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.conference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(108, 62, 255, 0.1);
  border: 1px solid rgba(108, 62, 255, 0.3);
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease forwards;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.conference-badge span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(108, 62, 255, 0.5);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-details {
    gap: 2rem;
  }
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.icon-primary {
  color: var(--primary);
}

.hero-form {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-form {
    flex-direction: row;
  }
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid rgba(42, 42, 61, 0.5);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .form-input {
    width: auto;
    flex: 1;
  }
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(108, 62, 255, 0.5);
}

.hero-form .btn {
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-form .btn {
    width: auto;
    padding: 0.75rem 2rem;
  }
}

.learn-more-link {
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.learn-more-link:hover {
  color: var(--foreground);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ===== Mission Section ===== */
.mission-section {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .mission-section {
    padding: 8rem 0;
  }
}

.mission-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), rgba(31, 31, 46, 0.2), var(--background));
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 10;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(108, 62, 255, 0.1);
  border: 1px solid rgba(108, 62, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid rgba(42, 42, 61, 0.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(108, 62, 255, 0.3);
  box-shadow: 0 0 40px rgba(108, 62, 255, 0.3), 0 0 80px rgba(108, 62, 255, 0.1);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  color: var(--primary-foreground);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.feature-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, rgba(108, 62, 255, 0.05), rgba(155, 81, 224, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover .feature-glow {
  opacity: 1;
}

/* ===== Professional Gatherings Section ===== */
.gatherings-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .gatherings-section {
    padding: 8rem 0;
  }
}

.bento-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid rgba(42, 42, 61, 0.5);
  transition: all 0.5s ease;
}

.bento-card:hover {
  border-color: rgba(108, 62, 255, 0.3);
}

.bento-featured {
  min-height: 400px;
}

@media (min-width: 1024px) {
  .bento-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
  }
}

.bento-small {
  min-height: 280px;
}

.bento-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

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

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), rgba(20, 20, 15, .5) 100%, transparent);
}

.bento-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .bento-featured .bento-content {
    padding: 2.5rem;
  }
}

.bento-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.featured-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(108, 62, 255, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--primary);
  font-size: 0.875rem;
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .bento-title {
    font-size: 2.25rem;
  }
}

.bento-title-sm {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .bento-title-sm {
    font-size: 1.5rem;
  }
}

.bento-description {
  color: var(--muted-foreground);
  max-width: 36rem;
}

@media (min-width: 1024px) {
  .bento-description {
    font-size: 1.125rem;
  }
}

.bento-description-sm {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-content .btn-text {
  margin-top: 1.5rem;
}

.bento-content .btn-text-sm {
  margin-top: 1rem;
}

/* ===== Upcoming Events Section ===== */
.upcoming-events-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .upcoming-events-section {
    padding: 8rem 0;
  }
}

.events-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.events-scroll::-webkit-scrollbar {
  display: none;
}

.event-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
}

.event-card-featured {
  width: 85vw;
  padding: 2rem;
  background: linear-gradient(to bottom right, var(--primary), rgba(108, 62, 255, 0.8), var(--accent));
  min-height: 280px;
}

@media (min-width: 768px) {
  .event-card-featured {
    width: 60vw;
  }
}

@media (min-width: 1024px) {
  .event-card-featured {
    width: 50vw;
  }
}

.event-card-small {
  width: 280px;
  padding: 1.5rem;
  background: rgba(10, 10, 15, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(42, 42, 61, 0.5);
  min-height: 280px;
}

@media (min-width: 768px) {
  .event-card-small {
    width: 320px;
  }
}

@media (min-width: 1024px) {
  .event-card-small {
    width: 350px;
  }
}

.event-card-small:hover {
  border-color: rgba(108, 62, 255, 0.5);
  background: rgba(10, 10, 15, 0.1);
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.event-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

@media (min-width: 768px) {
  .event-title {
    font-size: 1.875rem;
  }
}

.event-title-sm {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .event-title-sm {
    font-size: 1.25rem;
  }
}

.event-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.event-location-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.event-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  flex: 1;
}

.event-description-sm {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ===== Courses Section ===== */
.courses-section {
  padding: 5rem 0;
  background: var(--primary);
}

@media (min-width: 1024px) {
  .courses-section {
    padding: 8rem 0;
  }
}

.section-header-light {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-header-light {
    margin-bottom: 4rem;
  }
}

.section-label-light {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title-light {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title-light {
    font-size: 3rem;
  }
}

.section-description-light {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.courses-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.course-card {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.course-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .course-image {
    height: 280px;
  }
}

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

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

.course-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
}

.course-duration {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(8px);
  color: var(--secondary-foreground);
  font-size: 0.875rem;
  border-radius: 0.375rem;
}

.course-content {
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .course-content {
    padding: 2rem;
  }
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .course-title {
    font-size: 1.5rem;
  }
}

.course-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 8rem 0;
  }
}

.testimonials-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(108, 62, 255, 0.3);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease;
}

.testimonial-item {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 50%;
  }
}

.testimonial-card {
  width: 100%;
  background: var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.quote-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.testimonial-content {
  color: var(--card-foreground);
  text-align: center;
  line-height: 1.7;
}

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

.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--background);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  max-width: 16rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--foreground);
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(108, 62, 255, 0.1);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Membership Section ===== */
.membership-section {
  position: relative;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .membership-section {
    padding: 8rem 0;
  }
}

.membership-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39, 75, 111, 0.8);
}

.membership-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.membership-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .membership-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .membership-title {
    font-size: 3.75rem;
  }
}

.membership-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .membership-subtitle {
    font-size: 1.25rem;
  }
}

.membership-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .membership-description {
    font-size: 1.125rem;
  }
}

/* ===== Partners Section ===== */
.partners-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .partners-section {
    padding: 6rem 0;
  }
}

.partners-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.partners-section .container {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .partners-title {
    font-size: 2.25rem;
  }
}

.partners-description {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .partners-description {
    font-size: 1.125rem;
  }
}

.marquee-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
}

.partner-logo {
  flex-shrink: 0;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
}

@media (min-width: 768px) {
  .partner-logo {
    margin: 0 3rem;
    height: 6rem;
  }
}

.partner-logo img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .partner-logo img {
    max-width: 180px;
  }
}

.partners-more {
  text-align: center;
  color: var(--muted-foreground);
  margin-top: 3rem;
}

.partners-more strong {
  color: var(--foreground);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(to right, var(--primary), rgba(108, 62, 255, 0.9), var(--accent));
}

.footer-content {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 24rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  transition: background 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-pages {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading {
  font-weight: 600;
  color: var(--primary-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-foreground);
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.subscribe-text {
  color: rgba(255, 255, 255, 0.8);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  color: var(--primary-foreground);
  font-size: 1rem;
}

.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.subscribe-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-foreground);
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* ===== Responsive Utilities ===== */
@media (max-width: 767px) {
  .hero-form {
    width: 100%;
  }
  
  .form-input,
  .hero-form .btn {
    width: 100%;
  }
}

/* =====================================================
   LIGHT THEME OVERRIDES (SAFE FOR LAUNCH)
   ===================================================== */

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--border);
}

.menu-toggle,
.menu-close {
  color: var(--primary);
}

/* Menu Overlay */
.menu-overlay-bg {
  background: rgba(255, 255, 255, 0.97);
}

.menu-link {
  color: var(--primary);
}

.menu-link:hover {
  color: var(--secondary);
}

/* Hero */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85),
    #ffffff
  );
}

.hero-overlay-accent {
  background: linear-gradient(
    to bottom right,
    rgba(13, 17, 100, 0.08),
    transparent,
    rgba(242, 89, 18, 0.06)
  );
}

.hero-title {
  color: var(--primary);
  text-shadow: none;
}

/* Forms */
.form-input {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--ring);
}

/* Cards */
.feature-card,
.bento-card,
.event-card-small,
.course-card,
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
}

/* Remove dark hover glow */
.feature-card:hover,
.bento-card:hover {
  box-shadow: 0 10px 30px rgba(13, 17, 100, 0.12);
}

/* Featured gradients */
.event-card-featured {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary)
  );
}

/* Courses section */
.courses-section {
  background: var(--primary);
}

/* Text buttons */
.btn-text {
  color: var(--primary);
}

.btn-text:hover {
  color: var(--secondary);
}

/* Stars & icons */
.stars svg,
.icon-primary,
.quote-icon {
  color: var(--secondary);
}

/* ===== ADVANCED OVERLAY MENU ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.nav-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 100, 0.85);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.is-open .nav-backdrop {
  opacity: 1;
}

.nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.nav-overlay.is-open .nav-panel {
  transform: translateX(0);
}

.nav-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 1.5rem;
  color: #fff;
}

.nav-menu {
  flex: 1;
}

.nav-item {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.nav-overlay.is-open .nav-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-link {
  width: 100%;
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.submenu.is-open {
  max-height: 200px;
}

.submenu-link {
  display: block;
  padding: 0.75rem 2.5rem;
  color: rgba(255,255,255,0.75);
}
/* ICON SUPPORT */
.nav-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
  margin-right: 1rem;
}

.nav-link {
  align-items: center;
}

.submenu-link::before {
  content: '•';
  color: var(--secondary);
  margin-right: 0.75rem;
}
/* RESET LIST LOOK */
.nav-menu,
.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* NAV LINK LAYOUT */
.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.75rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  background: transparent;
}

/* ICON */
.nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* TEXT */
.nav-text {
  flex: 1;
  text-align: left;
}

/* ARROW */
.nav-arrow {
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.nav-link[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* SUBMENU */
.submenu {
  background: rgba(0, 0, 0, 0.18);
  padding-left: 0;
}

.submenu-link {
  padding: 0.75rem 1.75rem 0.75rem 4.5rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

/* NO-SUBMENU LINKS */
.nav-link.no-submenu .nav-arrow {
  display: none;
}
/* LOGO + TEXT INLINE FIX */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.nav-logo img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
