/* Clean, Professional Enterprise Healthcare Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  /* Rivora - Premium Corporate Theme */
  --primary-color: #0B2E4F; /* Dark Navy (Matched to logo) */
  --secondary-color: #17C68F; /* Leaf Green (from logo) */
  --accent-color: #0EA5C4; /* Metallic Gold (from logo) */
  
  --text-dark: #0B2E4F; /* Deep Navy for crisp text */
  --text-light: #5C7183; /* Slate 600 - subtle text */
  --text-muted: #5C7183; /* Slate 500 */
  
  --bg-light: rgba(255, 255, 255, 0.5); /* Semi-transparent to show global BG */
  --bg-alt: rgba(244, 248, 250, 0.5); /* Semi-transparent alt sections */
  --bg-card: rgba(255, 255, 255, 0.95); /* Light glass panel bg */
  
  --white: #ffffff; /* Actual white */
  --panel-bg: rgba(11, 46, 79, 0.98); /* Dark Navy glass for nav/dropdowns */
  --border-color: rgba(15, 23, 42, 0.08); /* Very subtle dark borders */

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 110px;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* Global Attractive Background */
body {
  background-color: #f4f8fa; /* Soft slate/mint base */
  background-image: url('../assets/images/bg_waves_abstract.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Floating animated elements for extra attractiveness */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  animation: floatOrb 25s infinite ease-in-out alternate;
}

body::before {
  background: radial-gradient(circle, rgba(14, 165, 196, 0.12) 0%, transparent 70%);
  top: -15vw;
  left: -10vw;
}

body::after {
  background: radial-gradient(circle, rgba(23, 198, 143, 0.12) 0%, transparent 70%);
  bottom: -15vw;
  right: -10vw;
  animation-delay: -12.5s;
  animation-direction: alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 10vh) scale(1.15); }
  100% { transform: translate(-5vw, -8vh) scale(0.9); }
}

/* Dynamic Mesh Gradient Background - Aurora Effect */
.mesh-bg {
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 17, 34, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 158, 74, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(6, 17, 34, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
h2 { font-size: 2.5rem; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-dark); }
p { margin-bottom: 1.2rem; color: var(--text-light); font-size: 1.1rem; }

/* Elegant text accents (No neon gradients) */
.text-gradient {
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px; /* Corporate square-ish edges instead of pill-shaped */
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Header - Glassmorphic */
/* Header - Modern Clean Light Style */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(240, 242, 245, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  height: 75px;
  background: #f0f2f5;
  box-shadow: 0 6px 25px rgba(11, 27, 61, 0.08);
  border-bottom-color: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 240px;
  height: 85px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background-color: transparent;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 50%, transparent 100%);
  transition: all 0.35s ease;
}

.header.scrolled .logo-wrapper {
  width: 170px;
  height: 60px;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  transition: all 0.35s ease;
}

.header.scrolled .header-logo-img {
  height: 44px;
}

.header-logo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(1.05);
  /* Removed transition: all to prevent stuttering/rendering issues */
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #0b1b3d;
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.9;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color);
  opacity: 1;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Header Right CTA Button */
.header-cta-wrapper {
  margin-left: 10px;
}

.btn-header-cta {
  background: #081634;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.78rem;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(8, 22, 52, 0.15);
  border: 1px solid #081634;
}

.btn-header-cta:hover {
  background: #112858;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 22, 52, 0.25);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: #0b1b3d;
  cursor: pointer;
  padding: 8px;
}

/* Dropdown Menu Style */
.dropdown { position: relative; padding: 10px 0; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 3px solid var(--accent-color);
  min-width: 240px;
  border-radius: 0 0 12px 12px;
  padding: 10px 0;
  box-shadow: 0 15px 35px rgba(11, 27, 61, 0.08);
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeUp 0.2s ease forwards;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #0b1b3d;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: #F4F8FA;
  color: var(--accent-color);
  padding-left: 24px;
}

.dropdown-header {
  padding: 12px 24px 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(11, 27, 61, 0.7);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  margin-top: var(--header-height);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alt); /* Light gray backup */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Make the background image very subtle */
  z-index: 0;
}

/* Optional gradient overlay to ensure text readability */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-content h1 {
  color: var(--primary-color);
}

.hero-content p {
  color: var(--text-dark);
}

.hero-actions { display: flex; gap: 15px; margin-top: 35px; }

/* In the hero, we need to override the btn-outline color if it was white in the dark theme */
.hero-content .btn-outline {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.hero-content .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.text-center {
  text-align: center;
}

/* Glass Container Card (For Section Wrapping over Wave Background) */
.glass-container-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(11, 46, 79, 0.05);
  border: 1px solid rgba(255,255,255,0.4);
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .glass-container-card {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .glass-container-card {
    padding: 20px;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Reveal Animations (Subtle for corporate) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section { padding: 90px 0; }
.section-bg-alt { background-color: var(--bg-alt); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-header { text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Grid Cards - Clean white cards with soft shadow */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: rgba(13, 148, 136, 0.1); /* Very light teal background for icon */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image img {
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

/* Sidebar */
.sidebar-widget {
  background: var(--bg-alt);
  padding: 30px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.sidebar-widget h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Footer - Classic Corporate Dark Blue */
.footer {
  background: #010713;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }
.footer .logo { color: var(--white); }
.footer-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 75px;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 50%, transparent 100%);
}
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom { padding-top: 30px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.copyright-text { color: rgba(255, 255, 255, 0.5); font-size: 0.95rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; transition: var(--transition); }
.social-links a:hover { color: var(--white); transform: translateY(-2px); }
.scroll-top { color: var(--primary-color); font-size: 1.5rem; transition: var(--transition); }

/* Forms */
input[type="text"], input[type="email"] {
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
}
input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .split-section { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Feature Sections */
.feature-section {
  padding: 100px 0;
  background-color: transparent;
}
.feature-section.alt-bg {
  background-color: var(--bg-alt);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}
.feature-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-dark);
}
.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--secondary-color);
}

/* Animations */
.reveal, .reveal-fade-up, .reveal-slide-left, .reveal-slide-right, .reveal-scale-up {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal, .reveal-fade-up {
  transform: translateY(40px);
}

.reveal-slide-left {
  transform: translateX(-40px);
}

.reveal-slide-right {
  transform: translateX(40px);
}

.reveal-scale-up {
  transform: scale(0.95) translateY(20px);
}

.reveal.active, 
.reveal-fade-up.active, 
.reveal-slide-left.active, 
.reveal-slide-right.active, 
.reveal-scale-up.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered Delays for Waterfall Effects */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Legacy Fallbacks */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right.active, .slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: 150px 0 100px;
  background: var(--primary-color);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 8, 19, 0.95) 0%, rgba(11, 46, 79, 0.85) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}
.cta-title {
  font-size: 42px;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

/* Clean Hero Section (Why Rivora) */
.clean-hero {
  background-color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.clean-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.clean-hero-content {
  padding-right: 0;
}
.clean-hero-content .subheading {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 25px;
}
.clean-hero-content .main-heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 40px;
}
.clean-hero-content .main-heading span {
  color: var(--secondary-color);
}
.abstract-graphic {
  width: 100%;
  height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,200 L400,0 M0,200 L400,400' stroke='rgba(0,0,0,0.1)' stroke-width='1' fill='none'/%3E%3Ccircle cx='400' cy='200' r='200' stroke='rgba(0,0,0,0.1)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-grid.reverse .feature-content {
    order: 1;
  }
  .feature-grid.reverse .feature-media {
    order: 2;
  }
  .page-hero-title {
    font-size: 40px;
  }
  .feature-content .btn {
    display: flex;
    width: max-content;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .cta-section {
    padding: 70px 0;
  }
  .cta-title {
    font-size: 32px;
  }
  .clean-hero-grid {
    grid-template-columns: 1fr;
  }
  .abstract-graphic {
    height: 300px;
    background-position: center;
  }
}

@media (max-width: 576px) {
  .cta-section {
    padding: 50px 0;
    text-align: left;
  }
  .cta-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .feature-title {
    font-size: 32px;
  }
  .page-hero-title {
    font-size: 36px;
  }
  .clean-hero-content .main-heading {
    font-size: 32px;
  }
  
  /* Footer Mobile Accordion Layout */
  .footer {
    padding: 20px 0 20px;
  }
  .footer-grid {
    display: flex;
    flex-direction: column;
  }
  .footer-col {
    margin-bottom: 0;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-col:first-child {
    order: -1;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 25px;
    margin-top: 10px;
    margin-bottom: 0;
  }
  .footer-col h4 {
    margin: 0;
    padding: 15px 0 10px 0;
    position: relative;
    cursor: default;
  }
  .footer-col h4::before {
    display: none;
  }
  .footer-links {
    display: block !important;
    padding-bottom: 15px;
    padding-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: left;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
  }
  .footer-actions {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 20px;
  }
  .social-links {
    justify-content: flex-start;
  }
  .scroll-top {
    position: absolute;
    right: 0;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .copyright-text {
    width: calc(100% - 60px);
    font-size: 11px;
    line-height: 1.5;
  }
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--panel-bg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 25px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
  padding-left: 30px;
}

/* Sub-dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -15px;
}

.dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 24px;
  color: #0b1b3d;
  cursor: pointer;
}

@media (max-width: 576px) {
  .header .logo-wrapper {
    width: 160px;
    height: 55px;
    margin-left: -15px;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .header .logo-wrapper {
    width: 180px;
    height: 65px;
    margin-left: -10px;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.12);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    max-height: 0;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .nav-menu.active {
    max-height: 550px;
    padding: 20px;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 14px 0;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    color: #0b1b3d;
  }

  .header-cta-wrapper {
    margin: 10px 0 0;
    width: 100%;
    text-align: center;
  }

  .btn-header-cta {
    width: 100%;
    text-align: center;
  }

  .nav-menu li:last-child .nav-link {
    border-bottom: none;
  }

  .nav-menu .nav-link::after {
    display: none;
  }
  
  .dropdown:hover > .dropdown-menu,
  .dropdown-submenu:hover > .dropdown-menu,
  .dropdown-menu, 
  .dropdown-submenu .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    display: none !important;
    padding-left: 15px !important;
    margin-top: 10px !important;
    background: transparent !important;
    border: none !important;
    animation: none !important;
  }
  
  .dropdown.active > .dropdown-menu,
  .dropdown-submenu.active > .dropdown-menu {
    display: flex !important;
  }
  
  .dropdown-menu a {
    color: #0b1b3d !important;
    text-align: center;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
  }
  
  .dropdown-menu li:last-child a {
    border-bottom: none;
  }
  
  .dropdown-menu a:hover {
    padding-left: 0 !important;
    background: rgba(15, 23, 42, 0.02) !important;
  }
  
  .dropdown.active > a i {
    transform: rotate(180deg);
  }
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 992px) {
  .nav-menu {
    z-index: 999;
  }
  .mobile-toggle {
    z-index: 1000;
    position: relative;
  }
}

/* Fix Header Spacing */
.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* Spacing Fixes & Hamburger Fix */
@media (max-width: 992px) {
  .clean-hero {
    padding: 120px 0 40px;
  }
  .clean-hero-grid {
    gap: 30px;
  }
  .abstract-graphic {
    height: 200px !important;
  }
  .feature-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .clean-hero {
    padding: 120px 0 20px;
  }
  .clean-hero-grid {
    gap: 20px;
  }
  .abstract-graphic {
    height: 150px !important;
  }
  .feature-section {
    padding: 40px 0;
  }
  .clean-hero-content .main-heading {
    margin-bottom: 25px;
  }
}

/* Footer Main Layout */
.footer {
  background-color: #020813;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 25px;
}
.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links li a:hover {
  color: var(--accent-color);
}

/* Footer Bottom Layout */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}
.footer-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}
.scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}
.scroll-top:hover {
  background: var(--secondary-color);
}
.copyright-text {
  color: #5C7183;
  font-size: 14px;
}


.cta-banner h2 { position: relative; }
.cta-banner h2::after { content: ''; display: block; width: 60px; height: 5px; background-color: var(--secondary-color); border-radius: 5px; margin: 25px auto 0; box-shadow: 0 4px 10px rgba(59, 158, 74, 0.3); }


/* Global CTA Banner Styles */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, #020813, var(--primary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.btn-glow {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.4);
}

/* Custom Cursor */
body {
    cursor: none; /* Hide default cursor */
}

a, button, input, textarea, select {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #ECAEA9; /* The pinkish color from screenshot */
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, width, height;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

/* Hide on mobile devices or touch screens */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
    body, a, button, input, textarea, select {
        cursor: auto;
    }
}

/* Premium Global Enhancements */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-color);
    color: white;
}
::-moz-selection {
    background: var(--accent-color);
    color: white;
}

/* Subtle link magnetic/lift effect globally */
.btn-glow, .btn-outline {
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow:hover, .btn-outline:hover {
    transform: translateY(-4px);
}

/* Page Loader */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    position: relative;
    animation: loader-pulse 2s ease-in-out infinite alternate;
}

.loader-spinner::before,
.loader-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
}

.loader-spinner::before {
    border-top-color: var(--accent-color);
    border-right-color: var(--accent-color);
    animation: loader-spin-fast 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 15px rgba(14, 165, 196, 0.5);
}

.loader-spinner::after {
    border-bottom-color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: loader-spin-reverse 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 15px rgba(23, 198, 143, 0.5);
}

@keyframes loader-spin-fast {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loader-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes loader-pulse {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.15); }
}

.vertical-text-bg { position: absolute; left: -40px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-size: 6rem; font-weight: 900; color: rgba(0,0,0,0.03); white-space: nowrap; pointer-events: none; z-index: 0; }
