/* ==========================================================================
   DESIGN SYSTEM & CONSTANTS (International Research II)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-color: #0b1329;       /* Deep Navy Blue (Trust & Authority) */
  --primary-light: #1e293b;       /* Slate Grey/Blue */
  --secondary-color: #14b8a6;     /* Medical Teal (Health & Biotech) */
  --secondary-hover: #0d9488;
  --accent-color: #f43f5e;        /* Coral/Red (Action - from the Logo heart) */
  --accent-hover: #e11d48;
  --bg-pure: #ffffff;
  --bg-soft: #f8fafc;             /* Ice Gray */
  --bg-gradient: linear-gradient(135deg, #0b1329 0%, #1e1b4b 100%);
  
  /* Text Colors */
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-teal: #0d9488;
  
  /* Layout & Spacing */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-accent: 0 10px 20px -3px rgba(244, 63, 94, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASICS
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-pure);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid helper */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

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

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

.grid-2-small {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  text-align: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
  border-radius: var(--border-radius-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--bg-pure);
  box-shadow: var(--shadow-accent);
}

.btn-secondary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -3px rgba(244, 63, 94, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--bg-pure);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-pure);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Section Common Styles */
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.section-subtitle-main {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 48px;
}

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

/* ==========================================================================
   BILINGUAL (LANGUAGE) SWITCHING SYSTEM
   ========================================================================== */

/* By default, hide English elements when 'lang-es' is active */
body.lang-es [lang="en"] {
  display: none !important;
}

/* Hide Spanish elements when 'lang-en' is active */
body.lang-en [lang="es"] {
  display: none !important;
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */

.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 24px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

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

.top-bar-link i {
  color: var(--secondary-color);
  margin-right: 6px;
  font-size: 14px;
  transition: transform var(--transition-fast);
}

.top-bar-link:hover i {
  transform: scale(1.15);
}

/* Tooltip style for mobile only */
@media (max-width: 767px) {
  .top-bar-info {
    gap: 18px;
  }
  
  .top-bar-link .top-bar-text {
    display: none;
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
  }
  
  .top-bar-link .top-bar-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--primary-color);
  }
  
  /* Trigger class when icon is touched */
  .top-bar-link.show-tooltip .top-bar-text {
    display: block;
    animation: tooltipFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .top-bar-link i {
    margin-right: 0; /* Center icons on mobile */
    font-size: 16px;  /* Tap-friendly larger icon sizes on mobile */
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-fast);
  }
  
  .top-bar-link.show-tooltip i {
    background-color: var(--secondary-color);
    color: var(--primary-color);
  }
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.lang-btn {
  background-color: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #ffffff;
  padding: 6px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
  transform: scale(1.04);
}

.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 16px 0;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Nav Menu Desktop */
.nav-menu ul {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu ul {
    display: flex;
    gap: 32px;
  }
  
  .nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link:hover {
    color: var(--secondary-color);
  }
}

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

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu overlay styling (handled via JS classes) */
.main-header.menu-open .nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.main-header.menu-open .nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-header.menu-open .nav-link {
  font-size: 18px;
  display: block;
  padding: 8px 0;
}

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  .main-header.menu-open .nav-menu {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background-image: linear-gradient(to right, #0b1329 0%, #0b1329 45%, rgba(11, 19, 41, 0.75) 65%, rgba(11, 19, 41, 0.35) 100%), url('assets/hero_bg.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 80px 0 120px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-section {
    background-image: linear-gradient(to bottom, rgba(11, 19, 41, 0.95) 0%, rgba(11, 19, 41, 0.8) 60%, rgba(11, 19, 41, 0.95) 100%), url('assets/hero_bg.png');
    background-position: center center;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-accent {
  background-color: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.2);
  color: var(--accent-color);
}

.badge-primary {
  background-color: rgba(11, 19, 41, 0.1);
  border-color: rgba(11, 19, 41, 0.2);
  color: var(--primary-color);
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

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

.hero-title .highlight {
  color: var(--secondary-color);
  position: relative;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 40px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 20px;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

/* Hero Statistics Widget */
.hero-widget {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .hero-widget {
    grid-template-columns: repeat(3, 1fr);
  }
}

.widget-item {
  text-align: center;
  padding: 12px;
}

.widget-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 576px) {
  .widget-item:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.widget-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-color);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.widget-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
  background-color: var(--bg-soft);
  padding: 32px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.trust-bar-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.trust-item i {
  font-size: 28px;
  color: var(--secondary-color);
  background: rgba(20, 184, 166, 0.1);
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-text p {
  font-size: 14px;
  margin-top: 2px;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about-section {
  padding: 100px 0;
}

.about-visual {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-visual {
    height: 480px;
  }
}

.visual-card {
  position: absolute;
  padding: 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.main-card {
  width: 85%;
  height: 80%;
  left: 0;
  top: 0;
  background-image: linear-gradient(to bottom, rgba(11, 19, 41, 0.2) 0%, rgba(11, 19, 41, 0.5) 50%, rgba(11, 19, 41, 0.85) 100%), url('assets/staff.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding-bottom: 170px;
}

.about-visual-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 16px;
  background: white;
  border-radius: 50%;
  padding: 10px;
}

.accent-card {
  width: 55%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  bottom: 20px;
  right: 0;
  text-align: center;
}

.accent-num {
  font-size: 48px;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.accent-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Overrides for About Visual cards on mobile to prevent overlap with text */
@media (max-width: 767px) {
  .about-visual {
    height: 380px;
  }
  
  .main-card {
    width: 90%;
    height: 85%;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
    padding: 24px;
    padding-bottom: 130px;
    background-image: linear-gradient(to bottom, rgba(11, 19, 41, 0.1) 0%, rgba(11, 19, 41, 0.5) 45%, rgba(11, 19, 41, 0.9) 100%), url('assets/staff.png');
    background-position: center top;
  }
  
  .main-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .main-card p {
    font-size: 13px;
    max-width: 65%;
    line-height: 1.4;
  }
  
  .accent-card {
    width: 50%;
    bottom: 0;
    right: 0;
    padding: 16px 20px;
  }
  
  .accent-num {
    font-size: 32px;
    margin-bottom: 4px;
  }
  
  .accent-text {
    font-size: 11px;
  }
}

.about-para {
  font-size: 17px;
  margin-bottom: 24px;
}

.about-quote {
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  font-size: 16px;
  color: var(--text-dark);
}

.about-bullet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

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

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.bullet-item i {
  color: var(--secondary-color);
  font-size: 18px;
}

/* ==========================================================================
   DUAL PATHWAY SECTION (B2C & B2B)
   ========================================================================== */

.dual-path-section {
  background-color: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.path-card {
  background: var(--bg-pure);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  font-size: 32px;
  margin-bottom: 24px;
}

.path-patients .card-icon {
  background-color: rgba(244, 63, 94, 0.1);
  color: var(--accent-color);
}

.path-sponsors .card-icon {
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--secondary-color);
}

.path-card h3 {
  font-size: 24px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.card-lead {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-size: 16px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.card-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.card-list i {
  font-size: 18px;
  margin-top: 4px;
  flex-shrink: 0;
}

.path-patients i {
  color: var(--accent-color);
}

.path-sponsors i {
  color: var(--secondary-color);
}

.card-list strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
}

.card-list span {
  font-size: 14px;
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   ACTIVE CLINICAL STUDIES SECTION
   ========================================================================== */

.studies-section {
  padding: 100px 0;
}

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-soft);
  border-color: var(--primary-color);
  color: var(--text-dark);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-pure);
  border-color: var(--primary-color);
}

/* Study Card Styling */
.study-card {
  background-color: var(--bg-pure);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.3);
}

/* Filtering logic JS targets hide-class */
.study-card.hide {
  display: none !important;
}

.study-card-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.study-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.study-badge.metabolic {
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--text-teal);
}

.study-badge.cardiovascular {
  background-color: rgba(15, 23, 42, 0.1);
  color: var(--primary-color);
}

.study-badge.respiratory {
  background-color: rgba(244, 63, 94, 0.1);
  color: var(--accent-color);
}

.icon-category {
  font-size: 20px;
  color: var(--text-muted);
}

.study-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.study-title {
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.study-desc {
  font-size: 14px;
  margin-bottom: 24px;
}

.study-requirements {
  margin-bottom: 24px;
  flex-grow: 1;
}

.study-requirements h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.study-requirements ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.study-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.study-requirements i {
  color: var(--secondary-color);
  margin-top: 3px;
}

.study-compensation {
  background-color: var(--bg-soft);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.study-compensation i {
  font-size: 24px;
  color: var(--secondary-color);
}

.comp-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.comp-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
}

.study-card-footer {
  padding: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   HOW IT WORKS TIMELINE
   ========================================================================== */

.how-section {
  background-color: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  margin-top: 48px;
}

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

.timeline-item {
  background-color: var(--bg-pure);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(20, 184, 166, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 14px;
}

/* Arrow indicators between timeline steps (Desktop only) */
@media (min-width: 768px) {
  .timeline-item:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(20, 184, 166, 0.4);
    z-index: 2;
  }
}

/* ==========================================================================
   DUAL LEAD FORMS SECTION
   ========================================================================== */

.forms-section {
  position: relative;
  background-image: var(--bg-gradient);
  padding: 100px 0;
  overflow: hidden;
}

.forms-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(244, 63, 94, 0.12) 0%, transparent 60%);
}

.forms-section .container {
  position: relative;
  z-index: 3;
}

.form-wrapper {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 12px;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 15px;
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  font-family: inherit;
  font-size: 15px;
  background-color: var(--bg-pure);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

/* Custom Radio Group styling */
.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.radio-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 8px 0;
}

.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
  margin-top: 3px;
}

.form-check label {
  font-size: 13px;
}

/* ==========================================================================
   INTERACTIVE PRE-SCREENER MODAL (B2C Popup)
   ========================================================================== */

.screener-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.screener-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 19, 41, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2;
  background-color: var(--bg-pure);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.modal-progress-bar {
  background-color: var(--bg-soft);
  height: 6px;
  border-radius: 3px;
  width: 100%;
  margin-bottom: 32px;
  overflow: hidden;
}

.progress-fill {
  background-color: var(--secondary-color);
  height: 100%;
  width: 33%;
  transition: width var(--transition-fast);
}

/* Modal Form Step Toggling */
.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.step-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.option-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  background-color: var(--bg-soft);
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--border-radius-sm);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.option-btn:hover {
  background-color: rgba(20, 184, 166, 0.06);
  border-color: var(--secondary-color);
  transform: translateX(4px);
}

/* ==========================================================================
   CONTACT AND LOCATION SECTION
   ========================================================================== */

.contact-section {
  padding: 100px 0;
}

.contact-info-panel {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .contact-info-panel {
    padding-right: 48px;
  }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-soft);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-card .card-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--bg-pure);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card .card-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-card .card-details p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-card .card-details a:hover {
  color: var(--secondary-color);
}

.contact-card .card-details .sub-text {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.contact-map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 350px;
  min-height: 350px;
}

@media (min-width: 768px) {
  .contact-map {
    height: 100%;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
  border-top: 4px solid var(--secondary-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-about p {
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  padding: 4px;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
}

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

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 14px;
}

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

.footer-links h4,
.footer-disclaimer h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
}

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

.footer-disclaimer p {
  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  font-size: 13px;
  text-align: center;
}

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

.footer-policies a:hover {
  color: var(--secondary-color);
}

/* ==========================================================================
   FLOATING WHATSAPP COMPONENT
   ========================================================================== */

.whatsapp-floating {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
}

.wa-btn {
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  position: relative;
  transition: all var(--transition-normal);
}

.wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
}

/* Tooltip message */
.wa-tooltip {
  position: absolute;
  right: 80px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
}

.wa-btn:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  right: 72px;
}

/* Pulse Ring Animation */
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* WhatsApp Notification Badge */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-color);
  color: white;
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
  animation: badgeBounce 2s infinite;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver target)
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations on load */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
