@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  --primary-blue: #0b1d3a;
  --primary-blue-light: #f0f4f8;
  --accent-rose: #ff4d6d;
  --accent-rose-glow: rgba(255, 77, 109, 0.15);
  --accent-blue-bright: #00d2ff;
  /* New bright blue for specific titles */
  --text-white: #ffffff;
  --text-dark: #1e293b;
  --text-gray: #475569;
  --bg-light: #ffffff;
  --bg-dark: #f8fafc;
  /* using off-white so backgrounds are light globally */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(11, 29, 58, 0.08);
  /* faint dark border */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  --glass-blur: 20px;
  --squircle-radius: 20px;
  /* Modern professional rounded shape */
  --transition-speed: 0.4s;
  --primary-blue-gradient: linear-gradient(135deg, #0b1d3a 0%, #1e3a5f 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container-fluid {
  width: 100%;
  padding: 0 5%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  /* Now an off-white */
  background-image:
    radial-gradient(circle at 2px 2px, rgba(11, 29, 58, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Static Network Pattern Overlay */
/* Grid pattern removed per user request */

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-blue);
}

h1 {
  font-size: 4rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.bright-blue {
  color: var(--accent-blue-bright) !important;
}

/* Organic / Irregular Shape Utilities (Replacing boxy cards) */
.organic-shape {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 4rem;
  /* Even larger padding */
  transition: all var(--transition-speed) cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.05);
  min-height: 300px;
  /* Increased from 250px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Service Section Specific: Solid Blue Organic Shapes */
#services .organic-shape {
  background: var(--primary-blue);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.2);
}

#services .organic-shape h3,
#services .organic-shape p,
#services .organic-shape i {
  color: #fff !important;
}

#services .organic-shape:hover {
  background: #0d254a;
}

.organic-shape-1 {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.organic-shape-2 {
  border-radius: 50% 50% 30% 70% / 70% 30% 70% 30%;
}

.organic-shape-3 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.organic-shape.active {
  background: var(--primary-blue) !important;
  color: #fff !important;
  border-color: var(--accent-rose);
  transform: translateY(-5px) scale(1.05);
}

.organic-shape.active i,
.organic-shape.active span {
  color: #fff !important;
}

.organic-shape-4 {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  /* Center content vertically */
  align-items: center !important;
}

.organic-shape-5 {
  border-radius: 70% 30% 40% 60% / 30% 60% 40% 70%;
}

.organic-shape:hover {
  transform: translateY(-5px) scale(1.02);
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  box-shadow: 0 20px 40px rgba(11, 29, 58, 0.1);
  border-color: var(--accent-rose);
}

/* Horizontal Scroll Container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  padding: 2rem 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  justify-content: center;
  /* Centering the items */
}

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

.scroll-item {
  flex: 0 0 calc(25% - 2rem);
  min-width: 280px;
  max-width: 350px;
  scroll-snap-align: center;
}

/* Side Theme Ornaments */
.side-pattern {
  position: absolute;
  width: 800px;
  /* Increased from 600px */
  height: 800px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%230b1d3a' stroke-width='1' fill='none'/%3E%3Cellipse cx='50' cy='50' rx='40' ry='15' stroke='%230b1d3a' stroke-width='1' fill='none' transform='rotate(45 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='40' ry='15' stroke='%230b1d3a' stroke-width='1' fill='none' transform='rotate(-45 50 50)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.side-pattern.left {
  left: -150px;
  top: 20%;
}

.side-pattern.right {
  right: -150px;
  bottom: 20%;
}

/* Global Glassmorphism Elements (No Boxy Cards) */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--squircle-radius);
  padding: 2.5rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.05);
  /* Premium light shadow */
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(11, 29, 58, 0.1), 0 0 20px var(--accent-rose-glow);
  border-color: rgba(11, 29, 58, 0.15);
}

.squircle {
  border-radius: 20% 20% 20% 20% / 20% 20% 20% 20%;
  overflow: hidden;
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-rose) 0%, #c9184a 100%);
  color: var(--text-white);
  box-shadow: 0 5px 15px var(--accent-rose-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px var(--accent-rose-glow), 0 0 15px var(--accent-rose);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--primary-blue);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(11, 29, 58, 0.05);
}

.btn-secondary:hover {
  background: rgba(11, 29, 58, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(11, 45, 90, 0.2), 0 0 15px rgba(11, 29, 58, 0.3);
}

.btn-student-login {
  background: transparent !important;
  border: none !important;
  color: var(--primary-blue) !important;
  box-shadow: none !important;
}

.btn-student-login:hover {
  background: rgba(11, 29, 58, 0.05) !important;
  box-shadow: 0 5px 15px rgba(11, 29, 58, 0.1) !important;
}

/* Background Gradients & Orbs */
.bg-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 20%, rgba(11, 29, 58, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 77, 109, 0.08) 0%, transparent 30%);
  z-index: -1;
  pointer-events: none;
}

/* CTA Top Bar */
.cta-top-bar {
  background: var(--primary-blue);
  color: #fff;
  padding: 8px 5%;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10001;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
}

.cta-top-bar a {
  color: var(--accent-rose);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--accent-rose);
  padding: 2px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.cta-top-bar a:hover {
  background: var(--accent-rose);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-rose-glow);
}

/* Header & Nav */
header {
  position: fixed;
  top: 36px;
  /* Height of CTA bar */
  width: 100%;
  padding: 1rem 5%;
  /* Reduced from 1.5rem */
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-speed) ease, padding var(--transition-speed) ease, top var(--transition-speed) ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  padding: 0.6rem 5%;
  /* Slimmer when scrolled */
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  top: 36px;
  /* Keep below CTA bar */
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  /* Reduced for better balance */
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

.logo span.rose {
  color: var(--accent-rose);
}

/* Navigation Dropdowns */
.nav-list {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  align-items: center;
}

.nav-list li {
  white-space: nowrap;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem 0;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.nav-list li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.85rem;
  /* Slimmer font */
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.nav-list li a:hover,
.nav-list li a.active,
.dropdown:hover .dropdown-link {
  color: var(--primary-blue);
  font-weight: 700;
}

.dropdown-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-link i {
  transform: rotate(180deg);
  color: var(--accent-rose);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid rgba(11, 29, 58, 0.1);
  min-width: 230px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.6rem 0;
  margin-top: 10px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a,
.dropdown-content .dropdown-item {
  color: #444;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.dropdown-content a i,
.dropdown-content .dropdown-item i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  color: var(--primary-blue);
  opacity: 0.7;
}

.dropdown-content a:hover,
.dropdown-content .dropdown-item:hover {
  background: rgba(11, 29, 58, 0.04);
  color: var(--primary-blue);
  border-left: 3px solid var(--accent-rose);
  padding-left: 1.7rem;
}

.dropdown-content a:hover i,
.dropdown-content .dropdown-item:hover i {
  color: var(--accent-rose);
  opacity: 1;
}

/* ─── Nested Submenu (for Explore dropdown) ────────────────── */
.has-submenu {
  position: relative;
}

.has-submenu>.sub-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.has-submenu:hover>.sub-arrow {
  transform: translateX(3px);
  opacity: 1;
  color: var(--accent-rose);
}

.dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #ffffff;
  border: 1px solid rgba(11, 29, 58, 0.1);
  min-width: 210px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1001;
  padding: 0.6rem 0;
  margin-left: 6px;
}

.has-submenu:hover>.dropdown-submenu {
  opacity: 1;
  visibility: visible;
}

.dropdown-submenu a {
  color: #444;
  padding: 0.7rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-submenu a i {
  color: var(--primary-blue);
  opacity: 0.6;
  width: 16px;
  font-size: 0.85rem;
}

.dropdown-submenu a:hover {
  background: rgba(11, 29, 58, 0.04);
  color: var(--primary-blue);
  border-left: 3px solid var(--accent-rose);
  padding-left: 1.6rem;
}

.dropdown-submenu a:hover i {
  color: var(--accent-rose);
  opacity: 1;
}

/* Mega Menu Styling - REFINED for compactness */
.mega-dropdown {
  position: relative;
  /* Centering relative to tab */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 900px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1001;
  padding: 2rem;
  margin-top: 12px;
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* Reduced gap */
}

.mega-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mega-col h3 i {
  font-size: 1.2rem;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-links a i {
  font-size: 1.1rem;
  color: var(--primary-blue);
  opacity: 0.6;
  width: 24px;
  text-align: center;
}

.mega-links a:hover {
  background: rgba(11, 29, 58, 0.05);
  color: var(--primary-blue);
  transform: translateX(5px);
}

.mega-links a:hover i {
  color: var(--accent-rose);
  opacity: 1;
}

.mega-col h3 i.blue {
  color: var(--accent-blue-bright);
}

.mega-col h3 i.rose {
  color: var(--accent-rose);
}

/* Mega Card - New Box Style for Explore Dropdown */
.mega-card {
  background: var(--primary-blue-light);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mega-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(11, 29, 58, 0.08);
  transform: translateY(-2px);
}

.mega-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-card-header i {
  font-size: 1rem;
  opacity: 0.9;
}

.mega-card-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.mega-card-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-card-links a i {
  font-size: 0.9rem;
  color: var(--primary-blue);
  opacity: 0.6;
  width: 18px;
  text-align: center;
}

.mega-card-links a:hover {
  background: rgba(11, 29, 58, 0.06);
  color: var(--primary-blue);
  padding-left: 1.1rem;
}

.mega-card-links a:hover i {
  color: var(--accent-rose);
  opacity: 1;
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.nav-actions .btn {
  padding: 0.4rem 0.9rem;
  /* Slimmer buttons */
  font-size: 0.85rem;
  /* Smaller text */
  border-radius: 30px;
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Specific Section Styles */
/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual {
  width: 600px;
  /* Huge size as requested */
  height: 600px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: -2px;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-blue);
  line-height: 1.3;
}

.hero h1 .blue {
  color: var(--primary-blue);
}

.hero h1 .rose {
  color: var(--accent-rose);
}

/* Squircle Video Section */
.video-section {
  padding: 2rem 0 8rem;
  text-align: center;
  position: relative;
}

/* Video Tabs & Container */
.video-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  background: var(--primary-blue-light);
  padding: 0.5rem;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid var(--glass-border);
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.video-tabs::-webkit-scrollbar {
  display: none;
}

.v-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-gray);
  font-size: 0.8rem;
  white-space: nowrap;
}

.tab-btn.active,
.v-tab.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(11, 29, 58, 0.4);
}

.video-container {
  max-width: 100%;
  width: 1400px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--squircle-radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(11, 29, 58, 0.15), 0 0 40px rgba(11, 29, 58, 0.05);
  border: 1px solid var(--glass-border);
  display: none;
  /* Controlled by JS */
}

.video-container.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accreditation & Verification */
.accreditation-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cert-checker {
  position: relative;
  text-align: center;
}

.cert-input-group {
  display: flex;
  margin-top: 2rem;
  background: var(--bg-dark);
  border-radius: 50px;
  padding: 0.5rem;
  border: 1px solid var(--glass-border);
}

/* Scientific Discovery Hub */
.discovery-content {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.discovery-content::-webkit-scrollbar {
  display: none;
}

/* Scientific Discovery Hub - Slider Refinement */
.discovery-grid {
  display: none !important;
  /* Force hide unless active */
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  justify-content: center;
  /* Center cards as requested */
}

.discovery-grid.active {
  display: flex !important;
}

.discovery-card {
  position: relative;
  height: 450px;
  /* Increased from 400px */
  flex: 0 0 550px;
  /* Increased from 450px */
  /* Fixed width to prevent vertical stacking and ensure horizontal scroll */
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;

  /* Global Scientific Ecosystem - Standardized Theme */
  #global-ecosystem {
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  /* Refined Vertical Zigzag Ecosystem */
  .ecosystem-flex-layout {
    display: flex;
    gap: 5rem;
    align-items: center;
    flex-direction: row-reverse;
    position: relative;
    z-index: 2;
  }

  .ecosystem-zigzag-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-right: 40px;
    z-index: 10;
  }

  /* Compact Zigzag Connector */
  .ecosystem-zigzag-nav::before {
    content: '';
    position: absolute;
    right: 62px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--accent-rose) 20%,
        var(--primary-blue) 80%,
        transparent 100%);
    opacity: 0.3;
    z-index: 1;
  }

  .eco-nav-item.small {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 5;
  }

  /* Zigzag Staggering Effect */
  .eco-nav-item.small:nth-child(odd) {
    transform: translateX(10px);
  }

  .eco-nav-item.small:nth-child(even) {
    transform: translateX(-10px);
  }

  .eco-nav-item.small.active {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.3) !important;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(11, 29, 58, 0.2);
  }

  .tooltip.label-right {
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--primary-blue);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .eco-nav-item.small:hover .tooltip.label-right {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  .ecosystem-panes-wrapper {
    transition: all 0.5s ease;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .ecosystem-main-content {
    flex: 1;
  }

  .ecosystem-header-minimal {
    margin-bottom: 2.5rem;
  }

  .section-title-sm {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
  }

  .section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
    max-width: 600px;
    line-height: 1.6;
  }

  .eco-pane {
    display: none;
    animation: paneSlideIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }

  .eco-pane.active {
    display: block;
  }

  @keyframes paneSlideIn {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .pane-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-rose);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
  }

  .pane-meta h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }

  .scientific-list-compact {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
  }

  .scientific-list-compact li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    font-size: 1.05rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .scientific-list-compact li:hover {
    transform: translateX(5px);
    color: var(--primary-blue);
  }

  .scientific-list-compact li::before {
    content: '🧬';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    opacity: 0.6;
  }

  .scientific-list-compact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .scientific-list-compact a:hover {
    color: var(--primary-blue);
  }

  .btn-mini {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    border-radius: 30px !important;
  }

  .scientific-list li:hover {
    transform: translateX(10px);
    color: var(--primary-blue);
  }

  /* DNA Animation Removed - Swapped for static theme */

  /* Responsive Fixes */
  @media (max-width: 992px) {
    .ecosystem-flex-layout {
      flex-direction: column !important;
      gap: 3rem !important;
    }

    .ecosystem-zigzag-nav {
      flex-direction: row !important;
      flex: none !important;
      justify-content: center !important;
      width: 100% !important;
      position: relative !important;
      top: 0 !important;
      gap: 1.5rem !important;
      margin-bottom: 2rem;
    }

    .eco-nav-item.small {
      transform: none !important;
    }

    .tooltip.label-right {
      right: auto !important;
      left: 50% !important;
      top: calc(100% + 15px) !important;
      transform: translateX(-50%) translateY(10px) !important;
    }

    .eco-nav-item.small:hover .tooltip.label-right {
      transform: translateX(-50%) translateY(0) !important;
    }
  }

  @media (max-width: 768px) {
    .ecosystem-header-minimal h2 {
      font-size: 2.5rem;
    }

    .ecosystem-panes-wrapper {
      padding: 2.5rem 1.5rem;
    }
  }

  /* Specialized Organic Shapes for Pathway */
  .organic-shape-1 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  .organic-shape-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  .organic-shape-3 {
    border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%;
  }

  .organic-shape-4 {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }

  .organic-shape-5 {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  .pathway-item:hover .organic-shape-1 {
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
  }

  .pathway-item:hover .organic-shape-2 {
    border-radius: 60% 40% 30% 70% / 60% 40% 60% 40%;
  }

  .pathway-item:hover .organic-shape-3 {
    border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
  }

  .pathway-item:hover .organic-shape-4 {
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
  }

  .pathway-item:hover .organic-shape-5 {
    border-radius: 30% 70% 30% 70% / 70% 70% 30% 30%;
  }

  /* DNA Helix Background Animation */
  .ecosystem-bg-decoration svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawDNA 10s linear infinite;
  }

  @keyframes drawDNA {
    to {
      stroke-dashoffset: 0;
    }
  }

  display: block;
  text-decoration: none;
}

@media (max-width: 992px) {
  .discovery-card {
    flex: 0 0 calc(50% - 0.75rem);
    /* 2 items on tablets */
  }
}

@media (max-width: 768px) {
  .discovery-card {
    flex: 0 0 100%;
    /* 1 item on mobile */
  }
}

.discovery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(var(--primary-blue-rgb), 0.3);
  border-color: var(--primary-blue);
}

.discovery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.discovery-card:hover::before {
  transform: scale(1.1);
}

.discovery-card .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: linear-gradient(to top, rgba(5, 10, 18, 0.92) 0%, rgba(5, 10, 18, 0.3) 60%, transparent 100%);
  transition: background 0.4s ease;
  z-index: 1;
}

.discovery-card .card-info {
  padding: 1.5rem;
  /* Always fully visible - no translateY hiding */
  transition: none;
  background: transparent;
  width: 100%;
}

.discovery-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.discovery-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  max-width: 100%;
  /* Always visible - no opacity: 0 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.discovery-card .btn-sm {
  align-self: flex-start;
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  background: var(--accent-rose);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  pointer-events: none;
  /* Clicking the card handles navigation */
}

/* Ecosystem grid card button - smaller size */
.ecosystem-card-btn {
  display: inline-block;
  padding: 0.5rem 1.4rem !important;
  font-size: 0.82rem !important;
  border-radius: 30px !important;
  width: auto !important;
  margin-top: 0.5rem;
}

.marquee-container {
  width: 100%;
  overflow-x: auto;
  position: relative;
  display: flex;
  /* Ensure horizontal flex for children */
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.marquee-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  /* Reduced Gap as requested (nearly touching) */
  padding: 2rem 0;
}

.marquee-card {
  flex: 0 0 450px;
  /* Enlarged card to prevent text overflow */
  margin-right: 0.5rem;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Apply As 2x2 Grid */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: fit-content;
  margin: 3rem auto;
  /* Center the grid */
}

@media (max-width: 600px) {
  .apply-grid {
    grid-template-columns: 1fr;
  }
}

.apply-grid .organic-shape {
  height: 100%;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 3rem;
  min-height: 250px;
}

.apply-grid .organic-shape i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-rose);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Sticky Note Styles */
.sticky-note {
  position: relative;
  width: 260px;
  background: var(--glass-bg);
  border-radius: 8px;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 15px;
}

.sticky-note::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 30% 30%, #ff4d6d, #c9184a);
  border-radius: 50%;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.sticky-note:nth-child(even) {
  transform: rotate(2deg);
}

.sticky-note:nth-child(odd) {
  transform: rotate(-2deg);
}

.sticky-note:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 10;
}


/* Premium Carousel Indicators */
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(var(--primary-blue-rgb), 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1.5px solid var(--glass-border);
  position: relative;
}

.carousel-dots .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.carousel-dots .dot:hover::after {
  border-color: rgba(var(--primary-blue-rgb), 0.3);
}

.carousel-dots .dot.active {
  width: 35px;
  border-radius: 10px;
  background: var(--primary-blue-gradient);
  box-shadow: 0 0 20px rgba(var(--primary-blue-rgb), 0.5);
  border-color: transparent;
}

/* Second dot color theme (Rose Accent mix) */
.carousel-dots .dot:nth-child(even).active {
  background: linear-gradient(135deg, var(--accent-rose), #ff8a8a);
  box-shadow: 0 0 20px rgba(234, 76, 137, 0.4);
}

.cert-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 1.5rem;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

/* Dynamic Mind Map Timeline */
.mind-map {
  position: relative;
  margin-top: 4rem;
}

.mind-map::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-rose), var(--primary-blue));
}

.map-step {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.step-indicator {
  width: 100px;
  height: 100px;
  /* Unified irregular shape */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: var(--glass-bg);
  border: 2px solid var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255, 77, 109, 0.2);
  color: var(--primary-blue);
}

.step-content {
  flex: 1;
  padding-top: 1rem;
}

/* Zig-Zag Services (No boxy cards) */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin-top: 4rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.service-row:nth-child(even) .service-content {
  order: 1;
}

.service-row:nth-child(even) .service-visual {
  order: 2;
}

.service-visual {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-rose));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  /* Fluid Organic Shape */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 40px rgba(255, 77, 109, 0.2);
}

.service-row:hover .service-visual {
  border-radius: 50% 50% 30% 70% / 70% 30% 70% 30%;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 77, 109, 0.15);
}

.mind-map-tabs {
  margin: 0 auto !important;
  max-width: fit-content !important;
}

.mind-map-organic {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mind-map-organic.active {
  display: grid;
  animation: fadeIn 0.5s ease;
}

.organic-shape {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  transition: all var(--transition-speed) cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 350px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.step-indicator {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 60px;
  height: 60px;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
  z-index: 10;
  border: 2px solid #fff;
}

.organic-shape p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-gray);
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: break-word;
}

.organic-shape h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.hub-links {
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  transition: all 0.3s ease;
  cursor: default;
}

.badge:hover {
  background: var(--primary-blue-light) !important;
  border-color: var(--accent-rose) !important;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.organic-shape-4 {
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

.service-content {
  text-align: left;
}

/* Floating Widgets / Fluid Grids */
.fluid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.widget {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 380px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11, 29, 58, 0.3);
  border-color: var(--accent-rose);
}

.widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 18, 0.95) 0%, rgba(5, 10, 18, 0.4) 50%, rgba(5, 10, 18, 0.1) 100%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.widget:hover::before {
  opacity: 0.9;
}

.widget-content {
  position: relative;
  z-index: 2;
  padding: 2.2rem;
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.widget-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(255, 77, 109, 0.3);
}

.widget-content h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.widget-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.widget:hover .widget-content {
  transform: translateY(0);
}

/* Split Voice & Pen */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  min-height: 60vh;
}

.split-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  border-radius: var(--squircle-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.split-panel:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

/* Forms Portal Tabbed UI */
.forms-portal {
  background: transparent;
  border-radius: var(--squircle-radius);
  padding: 4rem;
  border: none;
}

.form-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-gray);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

.form-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.form-content.active {
  display: block;
}

/* Simple Forms structure */
.modern-form {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.input-grp input,
.input-grp textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-grp input:focus,
.input-grp textarea:focus {
  outline: none;
  border-color: var(--accent-rose);
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.2);
}

/* Footer Styling */
footer {
  background: var(--primary-blue);
  color: #fff;
  padding: 5rem 5% 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col.brand {
  flex: 2;
  min-width: 300px;
}

.footer-col {
  flex: 1;
  min-width: 150px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-rose);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.socials {
  display: flex;
  gap: 1.5rem;
}

.socials a {
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: var(--accent-rose);
  transform: translateY(-3px);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Cursor (Lighter, Smoother) */
.custom-cursor {
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-rose);
  background: transparent;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  pointer-events: none;
  z-index: 9999;
}

.custom-cursor.glow {
  width: 35px;
  height: 35px;
  background: rgba(255, 77, 109, 0.05);
  border-color: var(--primary-blue);
}

/* Particles Hero Container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  /* Behind content but above background */
}

/* Responsive constraints */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .accreditation-wrapper,
  .service-row,
  .split-screen {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .service-row:nth-child(even) .service-content {
    order: 1;
  }

  .service-row:nth-child(even) .service-visual {
    order: 2;
  }
}

/* Mobile Navigation & Polish */
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-blue);
  cursor: pointer;
  z-index: 2000;
  position: absolute;
  right: 5%;
  top: 1.5rem;
  transition: top var(--transition-speed) ease;
}

header.scrolled .mobile-menu-btn {
  top: 1.2rem;
}

@media (max-width: 850px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    padding-top: 86px;
    /* CTA (36px) + Slim Header */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .nav-actions {
    position: fixed;
    bottom: -120px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: bottom 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  }

  .nav-actions.active {
    bottom: 0;
  }

  .nav-actions .btn {
    width: 100%;
  }

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

  .service-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-row:nth-child(even) .service-content {
    order: 2;
  }

  .service-row:nth-child(even) .service-visual {
    order: 1;
  }

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

  .hero {
    padding-top: 100px;
    /* Reduced from 120px */
  }

  .mind-map::before {
    left: 30px;
  }


  .map-step {
    gap: 1.5rem;
  }

  .step-indicator {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .glass-panel {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero .cta-group {
    flex-direction: column;
    gap: 1rem;
  }

  .video-container {
    border-radius: 20px;
  }

  header {
    padding: 1.2rem 5%;
  }

  .form-tabs {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
  }

  .impact-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* Custom Premium Cursor */
@media (pointer: fine) {

  body,
  a,
  button,
  .category-node,
  .hex-item,
  .tier,
  .lab-content,
  .widget,
  input,
  textarea {
    cursor: none !important;
  }

  .custom-cursor {
    width: 25px;
    height: 25px;
    border: 3px solid #ff0044;
    /* Brighter, more vibrant rose */
    background: rgba(255, 0, 68, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    mix-blend-mode: multiply;
  }

  .custom-cursor.glow {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 0, 68, 0.3);
    box-shadow: 0 0 40px rgba(255, 0, 68, 0.6);
    border-color: #ff0044;
  }
}