/* Core layout - The Horizon of Growth theme with deep teal palette */
:root {
  /* Brand palette - Deep Teal & Modern */
  --primary: #0d7377;
  --primary-dark: #14535f;
  --primary-light: #32e0c4;
  --accent: #ff6b35;
  --accent-hover: #ff5722;
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-muted: #f8fffe;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --text-main: #1a1a2e;
  --text-soft: #16213e;
  --text-muted: #5a6c7d;
  --border-subtle: rgba(13, 115, 119, 0.1);
  --border-glass: rgba(255, 255, 255, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px rgba(13, 115, 119, 0.15);
  --shadow-subtle: 0 10px 40px rgba(13, 115, 119, 0.08);
  --shadow-glass: 0 8px 32px rgba(13, 115, 119, 0.12);
  --nav-height: 100px;
  --gradient-teal: linear-gradient(135deg, #0d7377 0%, #14535f 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff5722 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

* {
  box-sizing: border-box;
}

/* Smooth scrolling and transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffe 50%, #e8f5f5 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  min-height: 100vh;
  text-align: left;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

main {
  padding-top: var(--nav-height);
}

/* Header & Navigation - Glassmorphism minimalist design */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(13, 115, 119, 0.08);
  box-shadow: 0 2px 16px rgba(13, 115, 119, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(13, 115, 119, 0.08);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
}

.header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.brand-text {
  display: none;
}

.brand-name {
  display: none;
}

.brand-tagline {
  display: none;
}

.brand-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(13, 115, 119, 0.03));
  background: transparent;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px rgba(13, 115, 119, 0.06));
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-teal);
  box-shadow: 0 8px 24px rgba(13, 115, 119, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  padding-bottom: 4px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-teal);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 10;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background-color: #111827;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons - Modern with vibrant orange accent */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 115, 119, 0.25);
}

.btn-ghost {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border-color: var(--border-glass);
}

.btn-ghost:hover {
  background: rgba(13, 115, 119, 0.08);
  border-color: var(--primary);
}

.btn.full-width {
  width: 100%;
}

/* Hero Section - The Horizon of Growth */

.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.03) 0%, rgba(50, 224, 196, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(50, 224, 196, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 115, 119, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 0.8s ease-out;
  text-align: left;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content p {
  margin: 0 0 2rem;
  color: var(--text-soft);
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
  animation: slideInLeft 0.8s ease-out 0.2s backwards;
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hero-meta > div {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.6s ease-out backwards;
  text-align: center;
}

.hero-meta > div:nth-child(1) { animation-delay: 0.1s; }
.hero-meta > div:nth-child(2) { animation-delay: 0.2s; }
.hero-meta > div:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta > div:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-light);
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-align: center;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-3d-wrapper {
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-3d-wrapper:hover {
  box-shadow: 0 24px 70px rgba(13, 115, 119, 0.2);
  transform: translateY(-4px);
}

.hero-3d-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(50, 224, 196, 0.1) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-3d-wrapper:hover::before {
  opacity: 0.7;
}

.hero-image {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  display: block;
  object-fit: cover;
  object-position: center;
  animation: imageFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-3d-wrapper:hover .hero-image {
  transform: scale(1.02);
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.highlight-card {
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInScale 0.6s ease-out backwards;
}

.highlight-card:nth-child(1) { animation-delay: 0.2s; }
.highlight-card:nth-child(2) { animation-delay: 0.3s; }
.highlight-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.highlight-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-light);
}

.highlight-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
}

.highlight-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
  text-align: center;
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: transparent;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-grid-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
}

.section-text h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.section-text h3 {
  text-align: left;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section-text p {
  margin-top: 0;
  margin-bottom: 1.75rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.section-card {
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--border-glass);
  padding: 2rem 2.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
  border-color: var(--primary-light);
}

.section-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  text-align: left;
  font-weight: 700;
}

.page-hero {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.03) 0%, rgba(50, 224, 196, 0.05) 100%);
}

.page-hero-inner h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.page-hero-inner p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

/* Lists */

.check-list,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  text-align: left;
}

.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bullet-list li:hover {
  color: var(--primary);
  padding-left: 1.6rem;
}

.bullet-list li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: radial-gradient(circle at center, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #4f46e5;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pill-card {
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
}

.pill-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  text-align: center;
}

.pill-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: center;
}

/* Steps list */

.steps-card {
  border-radius: 22px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  position: relative;
  padding-left: 2.3rem;
  margin-bottom: 1rem;
}

.steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: radial-gradient(circle at top, #4f46e5, #22c55e);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.75);
}

.steps-list {
  counter-reset: step-counter;
}

.steps-list h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.steps-list p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.inline-link:hover {
  color: #c7d2fe;
}

.section-image {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-soft);
}

/* Carousel Header */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.carousel-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.carousel-controls {
  display: flex;
  gap: 0.75rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.3);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
}

.carousel-btn span {
  line-height: 1;
  margin-top: -4px;
}

/* Courses Carousel */
.courses-carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
  min-height: 650px;
  padding-bottom: 2rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  padding-right: 5rem;
  will-change: transform;
  width: fit-content;
  align-items: stretch;
}

/* Remove auto-scroll animation */

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background: var(--primary);
  opacity: 0.7;
}

/* Cards grid (courses) */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.course-card {
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 380px;
  max-width: 380px;
  height: auto;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-light);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: #e5e7eb;
  flex-shrink: 0;
  border: none;
  padding: 0;
  margin: 0;
}

.course-card-content {
  padding: 1.2rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.5rem;
  min-height: 0;
}

.course-card-content > * {
  flex-shrink: 0;
}

.course-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.click-hint {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 107, 53, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.course-card p {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.8rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.course-card .bullet-list {
  margin: 0 0 0.8rem;
  flex-grow: 1;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.course-card .bullet-list li {
  padding: 0.35rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-soft);
  text-align: left;
  line-height: 1.5;
  font-size: 0.9rem;
}

.course-card .bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.course-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.course-actions .btn {
  padding: 11px 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Forms */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  border-radius: 12px;
  border: 2px solid var(--border-subtle);
  background: #f9fafb;
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  outline: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

input::placeholder,
select:invalid {
  color: var(--text-muted);
  transition: opacity 0.3s ease;
}

input:focus::placeholder {
  opacity: 0.5;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 115, 119, 0.1);
  background: #ffffff;
  transform: translateY(-2px);
}

.form-note {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* Contact card */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.88rem;
  color: var(--text-main);
}

/* Footer */

.site-footer {
  background: #ffffff;
  color: var(--text-main);
  padding: 36px 0 14px;
  margin-top: 2.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-copy {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #4b5563;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-bottom {
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.brand-footer {
  margin-bottom: 0.7rem;
}

/* Utility */

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  background: var(--gradient-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta::before {
  content: "●";
  font-size: 0.7rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.floating-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 50px rgba(255, 107, 53, 0.5);
}


@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Course Modal Styles */
.course-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
}

.course-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.course-modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  width: min(900px, 90vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-muted);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.course-modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.course-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 2px solid var(--border-subtle);
}

.course-modal-header h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.75rem;
  font-weight: 700;
}

.course-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.course-modal-body h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
  font-weight: 600;
}

.course-modal-body h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.course-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.course-modal-body ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-soft);
  line-height: 1.6;
}

.course-modal-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.course-modal-body p {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  .course-modal-content {
    width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
  }
  
  .course-modal-header {
    padding: 1.5rem 1.5rem 0.75rem;
  }
  
  .course-modal-header h2 {
    font-size: 1.4rem;
    padding-right: 2rem;
  }
  
  .course-modal-body {
    padding: 1.5rem;
  }
  
  .course-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page content fade effect */
main {
  animation: pageEnter 0.6s ease-out;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.full-bleed {
  width: 100%;
}

/* Mobile sticky lead bar */

.lead-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
}

.lead-bar-inner {
  display: flex;
  gap: 8px;
}

.lead-bar-inner .btn {
  flex: 1 1 0;
  padding-block: 10px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .section-grid,
  .footer-inner,
  .pill-grid,
  .hero-meta,
  .hero-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    text-align: left;
  }

  .hero p {
    text-align: justify;
    text-justify: inter-word;
  }

  .hero-image {
    height: 250px;
  }

  .course-card {
    min-width: 340px;
    max-width: 340px;
    height: auto;
  }

  .course-card-image {
    height: 180px;
  }

  .section-image {
    height: 280px;
  }

  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-text h2 {
    text-align: left;
  }

  .section-text p {
    text-align: justify;
    text-justify: inter-word;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-340px * 7 - 1.5rem * 7));
    }
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 1rem;
  }

  .header-tagline {
    display: none;
  }

  .brand-logo {
    width: 120px;
    height: 120px;
  }

  .main-nav {
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 1rem) 2rem 2rem 2rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: none;
    border-right: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    -webkit-transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    left: 0 !important;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links a {
    color: #111827;
    display: block;
    padding: 1.2rem 0;
    width: 100%;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
  }

  .nav-cta-group {
    display: none;
  }

  .hero-inner {
    gap: 2.4rem;
  }

  .hero h1 {
    font-size: 2rem;
    text-align: left;
  }

  .hero p {
    text-align: justify;
    text-justify: inter-word;
  }

  .page-hero h1 {
    font-size: 2rem;
    text-align: left;
  }

  .page-hero p {
    text-align: justify;
    text-justify: inter-word;
  }

  .section,
  .page-hero {
    padding-inline: 0;
  }

  .section-card {
    padding: 1.25rem 1.1rem;
  }

  .section-text h2 {
    text-align: left;
  }

  .section-text p {
    text-align: justify;
    text-justify: inter-word;
  }

  .site-footer {
    padding-top: 2rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding-inline: 0;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    text-align: left;
  }

  .hero p {
    text-align: justify;
    text-justify: inter-word;
  }

  .page-hero h1 {
    font-size: 1.75rem;
    text-align: left;
  }

  .page-hero p {
    text-align: justify;
    text-justify: inter-word;
  }

  .hero-image {
    height: 200px;
  }

  .hero-meta > div {
    padding: 0.7rem 0.75rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .courses-carousel {
    min-height: 600px;
    padding-bottom: 2rem;
  }

  .carousel-track {
    padding-bottom: 2rem;
    padding-right: 3rem;
  }

  .course-card {
    min-width: 300px;
    max-width: 300px;
    height: auto;
    min-height: 550px;
  }

  .course-card-content {
    padding: 1rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .course-card-image {
    height: 160px;
  }

  .course-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .click-hint {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .course-card p {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
  }

  .course-card .bullet-list {
    margin: 0 0 0.5rem;
    flex-grow: 1;
  }

  .course-card .bullet-list li {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    padding-left: 1.8rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .course-card .bullet-list li::before {
    left: 0.2rem;
  }

  .card-meta {
    margin: 0.6rem 0 0;
    padding-top: 0.6rem;
    font-size: 0.75rem;
  }

  .course-actions {
    margin-top: auto;
    padding-top: 0.6rem;
  }

  .course-actions {
    margin-top: 0.75rem;
    flex-direction: column;
  }

  .course-actions .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-image {
    height: 250px;
  }

  .site-footer {
    margin-top: 1.8rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-header h2 {
    font-size: 1.4rem;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 7 - 1.5rem * 7));
    }
  }
}
