/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette - Curated HSL Premium Palette */
  --teal-50: hsl(175, 100%, 97%);
  --teal-100: hsl(175, 84%, 90%);
  --teal-200: hsl(175, 76%, 79%);
  --teal-500: hsl(175, 77%, 45%);
  --teal-600: hsl(175, 84%, 38%);
  --teal-700: hsl(175, 80%, 28%);
  --teal-800: hsl(175, 75%, 21%);
  
  --yellow-50: hsl(48, 100%, 96%);
  --yellow-100: hsl(48, 100%, 88%);
  --yellow-400: hsl(45, 93%, 47%);
  --yellow-500: hsl(45, 93%, 38%);
  
  --slate-50: hsl(210, 40%, 98%);
  --slate-100: hsl(210, 40%, 96%);
  --slate-200: hsl(210, 30%, 90%);
  --slate-400: hsl(215, 16%, 65%);
  --slate-600: hsl(215, 16%, 47%);
  --slate-800: hsl(217, 33%, 17%);
  --slate-900: hsl(218, 44%, 11%);
  --slate-950: hsl(222, 47%, 7%);

  --white: #ffffff;
  --transparent: transparent;
  
  /* Accent shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-teal: 0 10px 15px -3px hsla(175, 84%, 38%, 0.15);

  /* Fonts */
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Header height */
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--slate-600);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-teal { color: var(--teal-600); }
.font-yellow { color: var(--yellow-500); }

.bg-teal-tint { background-color: var(--teal-50); }
.bg-yellow-tint { background-color: var(--yellow-50); }

.hidden { display: none !important; }

/* Grid systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--teal-600);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px hsla(175, 84%, 38%, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--slate-800);
  border: 2px solid var(--slate-200);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
  color: var(--slate-900);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--teal-600);
  border: 2px solid var(--teal-100);
}

.btn-outline-teal:hover {
  background-color: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.icon-inline {
  display: inline-block;
  vertical-align: middle;
}

.icon-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

#site-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.header-logo {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

#site-header.scrolled .header-logo {
  height: 44px;
}

/* Desktop Navigation */
.desktop-nav ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.975rem;
  color: var(--slate-800);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal-500);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--teal-600);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--teal-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 1002;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--slate-800);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background-color: var(--white);
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-logo {
  height: 44px;
}

.mobile-drawer-close {
  color: var(--slate-800);
}

.mobile-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-800);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-nav-link:hover {
  color: var(--teal-600);
}

.mobile-drawer-footer {
  margin-top: auto;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background-color: var(--slate-50);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.shape-1 {
  background-color: var(--teal-500);
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
}

.shape-2 {
  background-color: var(--yellow-400);
  width: 300px;
  height: 300px;
  bottom: 50px;
  left: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.badge {
  display: inline-block;
  background-color: var(--teal-50);
  color: var(--teal-700);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--teal-100);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-800);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background-color: var(--teal-500);
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 1;
}

.logo-display-card {
  position: relative;
  background-color: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  z-index: 2;
  transition: transform 0.3s ease;
  width: 80%;
}

.logo-display-card:hover {
  transform: scale(1.02);
}

.hero-logo-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   BENEFITS GRID
   ========================================================================== */
.benefits-container {
  margin-top: 80px;
  position: relative;
  z-index: 3;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text h3 {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION COMMON ELEMENTS
   ========================================================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-title-wrapper {
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title-wrapper h2 {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-800);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--white);
  border-top: 1px solid var(--slate-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: stretch;
}

.contact-quick-links-card,
.contact-form-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.contact-quick-links-card h3,
.contact-form-card h3 {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 12px;
}

.card-desc {
  color: var(--slate-600);
  font-size: 0.975rem;
  margin-bottom: 30px;
}

.quick-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 12px;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-100);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-action-btn:hover .action-icon {
  transform: scale(1.1);
}

.action-text {
  flex-grow: 1;
  text-align: left;
}

.channel-title {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.channel-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-600);
}

.action-arrow {
  color: var(--slate-400);
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-action-btn:hover .action-arrow {
  transform: translateX(4px);
  color: var(--slate-800);
}

/* Social channels brand colors */
.contact-action-btn.whatsapp .action-icon { background-color: #25d366; }
.contact-action-btn.whatsapp:hover { border-color: rgba(37, 211, 102, 0.3); background-color: hsla(142, 70%, 97%, 0.5); }

.contact-action-btn.instagram .action-icon { background-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); background-color: #e1306c; }
.contact-action-btn.instagram:hover { border-color: rgba(225, 48, 108, 0.3); background-color: hsla(340, 75%, 97%, 0.5); }

.contact-action-btn.facebook .action-icon { background-color: #1877f2; }
.contact-action-btn.facebook:hover { border-color: rgba(24, 119, 242, 0.3); background-color: hsla(214, 89%, 97%, 0.5); }

.contact-action-btn.email .action-icon { background-color: var(--teal-600); }
.contact-action-btn.email:hover { border-color: var(--teal-200); background-color: var(--teal-50); }

/* Form layout */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-800);
}

.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--slate-200);
  background-color: var(--slate-50);
  font-size: 0.95rem;
  color: var(--slate-800);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  border-color: var(--teal-500);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--teal-100);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Toast Notifications */
.form-notification-toast {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.925rem;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-notification-toast.success {
  background-color: hsl(142, 70%, 93%);
  color: hsl(142, 70%, 25%);
  border: 1px solid hsl(142, 70%, 84%);
}

.form-notification-toast.error {
  background-color: hsl(0, 84%, 96%);
  color: hsl(0, 84%, 30%);
  border: 1px solid hsl(0, 84%, 90%);
}

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

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */
.courses-section {
  background-color: var(--slate-50);
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--slate-200), transparent);
  margin: 60px 0;
  opacity: 0.8;
}

.course-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
}

.filter-btn.active {
  background-color: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
  box-shadow: var(--shadow-teal);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.course-image-wrapper {
  width: 100%;
  aspect-ratio: 350 / 180;
  overflow: hidden;
  background-color: var(--slate-100);
  position: relative;
}

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

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

.course-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-tag {
  align-self: flex-start;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.course-info h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
  margin-bottom: 12px;
}

.course-short-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--white);
}

.about-tabs-container {
  max-width: 900px;
  margin: 0 auto 70px auto;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background-color: var(--white);
  overflow: hidden;
}

.about-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}

.tab-btn {
  padding: 20px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-600);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--teal-600);
}

.tab-btn.active {
  color: var(--teal-600);
  background-color: var(--white);
  border-bottom-color: var(--teal-600);
}

.about-tabs-content {
  padding: 40px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.panel-text h3 {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 16px;
}

.panel-text p {
  color: var(--slate-600);
  margin-bottom: 16px;
}

.panel-text p:last-child {
  margin-bottom: 0;
}

.panel-text .large-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--slate-800);
  line-height: 1.6;
}

.panel-visual {
  display: flex;
  justify-content: center;
}

.panel-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Values Grid */
.about-values-section {
  margin-top: 60px;
}

.values-title {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-item {
  text-align: center;
  background-color: var(--slate-50);
  padding: 24px 16px;
  border-radius: 12px;
  border: 1px solid var(--slate-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
  border-color: var(--teal-100);
}

.value-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.value-item:hover .value-icon-box {
  transform: scale(1.1);
}

.value-item h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.825rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: var(--slate-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 840px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.star-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.star-fill {
  fill: var(--yellow-400);
}

.comment {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.student-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--slate-100);
  padding-top: 20px;
}

.student-info-row.border-top-none {
  border-top: none;
  padding-top: 0;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta {
  display: flex;
  flex-direction: column;
}

.meta .name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-800);
}

.meta .course {
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* Video Testimonial Styles */
.video-testimonial-card {
  padding: 0;
  overflow: hidden;
}

.video-preview-container {
  width: 100%;
  aspect-ratio: 350 / 200;
  position: relative;
  background-color: var(--slate-900);
}

.video-overlay-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.video-preview-container:hover .video-overlay-preview {
  background: rgba(15, 23, 42, 0.55);
}

.play-btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(13, 148, 136, 0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.play-btn-circle:hover {
  transform: scale(1.1);
  background-color: var(--teal-500);
}

.play-btn-circle svg {
  margin-left: 4px;
}

.video-duration {
  font-family: var(--font-headings);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: rgba(15, 23, 42, 0.7);
  padding: 4px 12px;
  border-radius: 50px;
}

.video-bg-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-testimonial-card .student-info-row {
  padding: 20px 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#site-footer {
  background-color: var(--teal-600);
  color: var(--teal-50);
  padding-top: 80px;
  border-top: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background-color: var(--white);
  color: var(--teal-600);
  transform: translateY(-2px);
}

/* Quick links footer list */
.links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-col a {
  font-size: 0.95rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.links-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Contact info list */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-details svg {
  flex-shrink: 0;
  color: var(--white);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
  font-size: 0.825rem;
  color: var(--teal-100);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
  background-color: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  padding-right: 12px;
}

.modal-close-btn {
  color: var(--slate-400);
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--slate-800);
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-meta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.modal-category-badge {
  background-color: var(--teal-50);
  color: var(--teal-700);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 4px;
}

.modal-duration {
  font-size: 0.85rem;
  color: var(--slate-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-long-desc {
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.modal-body h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 12px;
  border-left: 3px solid var(--teal-500);
  padding-left: 10px;
}

.modal-syllabus {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.modal-syllabus li {
  font-size: 0.9rem;
  color: var(--slate-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal-syllabus li::before {
  content: "•";
  color: var(--teal-500);
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1;
}

.modal-actions {
  margin-top: 10px;
}

/* Video specific modal styling */
.modal-video {
  max-width: 800px;
}

.video-iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.border-bottom-none {
  border-bottom: none;
}

.pad-top-none {
  padding-top: 0;
}

/* ==========================================================================
   SCROLL REVEAL / INTERSECTION OBSERVER ANIMATIONS
   ========================================================================== */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Smaller Screens */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .grid-4, .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .brand-col {
    grid-column: span 2;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav,
  .header-cta-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding-top: 20px;
  }
  
  .hero-content {
    max-width: 100%;
    order: 1;
  }
  
  .hero-visual {
    order: 0;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-content h1 {
    font-size: 2.35rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .benefits-container {
    margin-top: 40px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-quick-links-card,
  .contact-form-card {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .about-tabs-nav {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    border-bottom: 2px solid transparent;
    border-right: none;
    padding: 14px;
  }
  
  .tab-btn.active {
    border-bottom-color: var(--teal-600);
  }
  
  .tab-panel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .panel-visual {
    order: -1;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .brand-col {
    grid-column: span 1;
  }
  
  .section-title-wrapper h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

.hidden {
  display: none !important;
}

/* PDF Download Card in Modal */
.pdf-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pdf-download-card:hover {
  background-color: var(--white);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pdf-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: hsl(0, 84%, 96%);
}

.pdf-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pdf-card-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
}

.pdf-card-meta {
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.pdf-card-arrow {
  color: var(--slate-400);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
}

.pdf-download-card:hover .pdf-card-arrow {
  color: var(--teal-600);
  transform: translateY(2px);
}

/* Horizontal Affiliates Layout */
.affiliates-card-horizontal {
  display: flex;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.affiliates-info-side {
  flex: 1.2;
  padding: 24px;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.affiliates-info-side h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.affiliates-info-side p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.4;
  margin-bottom: 12px;
}

.affiliates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.affiliates-list li {
  font-size: 0.825rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.affiliates-list li::before {
  content: "✓";
  color: var(--teal-600);
  font-weight: bold;
}

.affiliates-logos-side {
  flex: 0.8;
  padding: 20px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.logo-space-box {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 16 / 9;
  border: 1.5px dashed var(--slate-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--slate-50);
  transition: all 0.3s ease;
}

.logo-space-box:hover {
  border-color: var(--teal-500);
  background-color: var(--teal-50);
}

.logo-box-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .affiliates-card-horizontal {
    flex-direction: column;
  }
  .affiliates-info-side {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }
  .affiliates-logos-side {
    flex-direction: row;
    width: 100%;
  }
}

/* New Affiliates Tab Layout */
.affiliates-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.affiliate-row {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.affiliate-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.affiliate-text {
  flex: 1;
}

.affiliate-text h4 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 12px;
  border-left: 4px solid var(--teal-500);
  padding-left: 12px;
}

.affiliate-text p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

.affiliate-logo-wrapper {
  flex-shrink: 0;
  width: 240px;
  height: 140px;
  max-width: 100%;
  background-color: var(--white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all 0.3s ease;
}

.affiliate-logo-wrapper.logo-placeholder {
  border: 2px dashed var(--slate-300);
  background-color: var(--slate-50);
}

.affiliate-logo-wrapper.logo-active {
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.affiliate-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.affiliate-logo-wrapper .placeholder-icon {
  margin-bottom: 6px;
  color: var(--teal-600);
}

.affiliate-logo-wrapper .placeholder-text {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .affiliate-row {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }

  .affiliate-text h4 {
    border-left: none;
    padding-left: 0;
  }
}

/* Footer Logos Row */
.footer-logos-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logos-row .footer-logo {
  margin-bottom: 0;
  border-radius: 6px;
}

.footer-logo-canaep {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
