/* ============================================================
   HINDVA HEALTHCARE PVT. LTD. — Main Stylesheet
   Premium Futuristic Pharmaceutical Design System
   ============================================================ */

/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  --primary-dark: #ffffff;
  --primary-deep: #f0f4f8;
  --primary-blue: #0d47a1;
  --mid-blue: #1565c0;
  --cyan: #0099cc;
  --neon-green: #00bf58;
  --white: #1a1a2e;
  --light-gray: #555555;
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-bg-hover: rgba(0, 0, 0, 0.06);
  --gradient-cyan-green: linear-gradient(135deg, #0d47a1, #00bf58);
  --gradient-blue-cyan: linear-gradient(135deg, #0d47a1, #0099cc);
  --shadow-glow-cyan: 0 4px 25px rgba(0, 153, 204, 0.15);
  --shadow-glow-green: 0 4px 25px rgba(0, 191, 88, 0.15);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: #ffffff;
  color: #1a1a2e;
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(13, 71, 161, 0.2);
  color: #1a1a2e;
}

::-moz-selection {
  background: rgba(13, 71, 161, 0.2);
  color: #1a1a2e;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
  background: #0d47a1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #0d47a1 #f0f4f8;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ------------------------------------------------------------
   SCROLL PROGRESS BAR
   ------------------------------------------------------------ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-cyan-green);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ------------------------------------------------------------
   CURSOR GLOW
   ------------------------------------------------------------ */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ------------------------------------------------------------
   LOADING SCREEN
   ------------------------------------------------------------ */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.medical-loader {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.medical-loader .loader-custom-icon {
  position: relative;
  width: 50px;
  height: 50px;
  object-fit: cover;
  animation: heartbeat 1.5s ease-in-out infinite;
  z-index: 2;
  border-radius: 50%;
}

.medical-loader .glow-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(0, 229, 255, 0.1);
  border-top-color: var(--cyan);
  border-right-color: var(--neon-green);
  animation: spinCircle 1s linear infinite;
  z-index: 1;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
}

@keyframes spinCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--gradient-cyan-green);
  border-radius: 10px;
  animation: loaderBar 1.2s ease-in-out infinite;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--light-gray);
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------ */
#navbar {
  position: fixed;
  width: 100%;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #555555;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyan-green);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: #1a1a2e;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #0d47a1;
}

.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1a1a2e;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ------------------------------------------------------------
   SECTION COMMON
   ------------------------------------------------------------ */
.section {
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient-cyan-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--light-gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-title .title-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-cyan-green);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Section heading icons */
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d47a1, #00e5ff);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 22px;
  margin-right: 14px;
  vertical-align: middle;
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3), 0 0 15px rgba(0, 229, 255, 0.15);
  position: relative;
  top: -3px;
  transition: all 0.4s ease;
}

.section-title h2:hover .section-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(13, 71, 161, 0.4), 0 0 25px rgba(0, 229, 255, 0.25);
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient-cyan-green);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 25px rgba(13, 71, 161, 0.3);
  font-family: var(--font-body);
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(13, 71, 161, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: none;
}

.btn-primary:hover::before {
  animation: shimmer 0.6s ease forwards;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 1);
  color: #0d47a1;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #0d47a1;
  border-color: #0d47a1;
  color: #ffffff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
}

/* ------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: url('../../images/hero-bg.png') center center / cover no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.0) 50%,
    rgba(255, 255, 255, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #1a1a2e;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(255, 255, 255, 0.9);
}

.hero-content h1 .highlight {
  color: #0d47a1; /* Solid primary color instead of transparent 'watery' look */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.hero-content p {
  font-size: 19px;
  color: #0a1628;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Stats — Premium Floating Cards */
.hero-stats-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hide dividers in new design */
.stat-divider {
  display: none;
}

.stat-item {
  text-align: center;
  padding: 30px 40px;
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 160px;
  overflow: hidden;
}

/* Subtle colored top accent bar */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d47a1, #00e5ff);
  border-radius: 20px 20px 0 0;
}

.stat-item:nth-child(2)::before {
  background: linear-gradient(90deg, #00897b, #00e676);
}

.stat-item:nth-child(5)::before {
  background: linear-gradient(90deg, #e65100, #ff9800);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(13, 71, 161, 0.18);
}

/* Stat Icon */
.stat-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.35);
  transition: all 0.4s ease;
}

.stat-item:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, #00796b, #00897b);
  box-shadow: 0 8px 25px rgba(0, 121, 107, 0.35);
}

.stat-item:nth-child(5) .stat-icon {
  background: linear-gradient(135deg, #e65100, #f57c00);
  box-shadow: 0 8px 25px rgba(230, 81, 0, 0.35);
}

.stat-item:hover .stat-icon {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(13, 71, 161, 0.45);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: #888;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.04) 0%, transparent 70%);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  padding-right: 20px;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 20px;
  color: #1a1a2e;
  font-weight: 700;
}

.about-content p {
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 15px;
}

/* Welcome Badge */
.welcome-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.welcome-badge .welcome-line {
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, #0d47a1, #00e5ff);
  border-radius: 2px;
  flex-shrink: 0;
}

.welcome-badge h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0d47a1;
  text-transform: uppercase;
  margin: 0;
}

.about-timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid rgba(0, 229, 255, 0.3);
  margin-top: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0d47a1;
  position: absolute;
  left: -37px;
  top: 5px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.timeline-item h4 {
  color: var(--cyan);
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.timeline-item p {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-image {
  position: relative;
}

.about-image-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-align: center;
}

.about-image-card .company-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.about-image-card .company-icon img,
.about-image-card .company-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.founder-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.founder-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.founder-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.founder-card .founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid rgba(13, 71, 161, 0.2);
  transition: all 0.4s ease;
}

.founder-card:hover .founder-photo {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 153, 204, 0.3);
  transform: scale(1.05);
}

.founder-card .founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Keep legacy icon support */
.founder-card .founder-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cyan-green);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
}

.founder-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #1a1a2e;
  font-weight: 700;
  font-family: var(--font-heading);
}

.founder-card p {
  font-size: 13px;
  color: var(--cyan);
  line-height: 1.5;
  font-weight: 500;
}

/* ------------------------------------------------------------
   MISSION & VISION SECTION — Premium Redesign
   ------------------------------------------------------------ */
#mission-vision {
  position: relative;
  overflow: hidden;
}

#mission-vision::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

#mission-vision::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 88, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.mv-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mv-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.15), rgba(0, 191, 88, 0.12), rgba(13, 71, 161, 0.15));
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mv-card:hover::before {
  opacity: 1;
}

.mv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 71, 161, 0.08);
  box-shadow: 0 12px 35px rgba(13, 71, 161, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Card Image Area */
.mv-card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.03), rgba(0, 191, 88, 0.03));
}

.mv-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, #ffffff, transparent);
  z-index: 1;
  pointer-events: none;
}

.mv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.9);
}

.mv-card:hover .mv-card-img img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

/* Card Body */
.mv-card-body {
  padding: 20px 20px 22px;
  position: relative;
  z-index: 1;
}

/* Floating Icon Badge */
.mv-card .mv-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -38px;
  margin-bottom: 14px;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 71, 161, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mv-card:hover .mv-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 22px rgba(13, 71, 161, 0.18), 0 3px 8px rgba(0, 0, 0, 0.06);
}

/* Individual card icon colors */
#card-mission .mv-icon {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
}
#card-vision .mv-icon {
  background: linear-gradient(135deg, #00897b, #26a69a);
}
#card-values .mv-icon {
  background: linear-gradient(135deg, #6a1b9a, #ab47bc);
}
#card-focus .mv-icon {
  background: linear-gradient(135deg, #e65100, #ff8a65);
}

#card-mission:hover .mv-icon { background: linear-gradient(135deg, #1976d2, #42a5f5); }
#card-vision:hover .mv-icon { background: linear-gradient(135deg, #26a69a, #4db6ac); }
#card-values:hover .mv-icon { background: linear-gradient(135deg, #ab47bc, #ce93d8); }
#card-focus:hover .mv-icon { background: linear-gradient(135deg, #ff8a65, #ffab91); }

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
  color: #1a1a2e;
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.mv-card p {
  color: #555;
  line-height: 1.6;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.mv-card p strong {
  color: #1a1a2e;
  font-weight: 600;
}

/* Animated bottom glow line */
.mv-card .glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(13, 71, 161, 0.2), rgba(0, 191, 88, 0.15), rgba(13, 71, 161, 0.2));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: glowLineMove 2s linear infinite;
}

@keyframes glowLineMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mv-card:hover .glow-line {
  opacity: 1;
}

/* Remove old background image styles - now using <img> tags */
#card-mission,
#card-vision,
#card-values,
#card-focus {
  background-image: none;
}

/* ------------------------------------------------------------
   PRODUCTS SECTION
   ------------------------------------------------------------ */
/* --- Product Ad Slider --- */
.product-ad-slider {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.ad-slider-container {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
}

.ad-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.ad-slide-content {
  flex: 0 0 50%;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.ad-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.ad-slide-content h3 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.ad-slide-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ad-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 25px;
  padding: 12px 28px;
  background: #ffffff;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: #f0f0f0;
}

.ad-decoration-dots {
  position: absolute;
  bottom: 30px;
  left: 50px;
  display: flex;
  gap: 8px;
}
.ad-decoration-dots span {
  display: block;
  width: 12px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.ad-slide-image {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}

.ad-slide-image img {
  max-width: 90%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s ease;
}

.ad-slide:hover .ad-slide-image img {
  transform: scale(1.05);
}

.ad-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.ad-dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ad-dot.active {
  background: #0d47a1;
  width: 24px;
  border-radius: 10px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(13, 71, 161, 0.3);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-cyan-green);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-inner {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.product-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(0, 229, 255, 0.05),
      rgba(0, 255, 136, 0.05));
  position: relative;
}

.product-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-image .product-placeholder {
  width: 120px;
  height: 120px;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-image .product-placeholder {
  opacity: 1;
}

.product-info {
  padding: 30px;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a1a2e;
  font-weight: 700;
}

.product-info .product-category {
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 600;
  display: block;
}

.product-info p {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-info .product-benefits {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.product-info .product-benefits li {
  color: var(--light-gray);
  font-size: 13px;
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.product-info .product-benefits li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 11px;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.product-btn:hover {
  gap: 12px;
  color: var(--neon-green);
}

.product-btn svg,
.product-btn i {
  transition: transform 0.3s ease;
}

.product-btn:hover svg,
.product-btn:hover i {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   PRODUCT MODAL
   ------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #0d47a1;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #1a1a2e;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  background: var(--glass-bg);
  color: var(--cyan);
  transform: rotate(90deg);
}

/* ------------------------------------------------------------
   GLOBAL PRESENCE
   ------------------------------------------------------------ */
.global-content {
  max-width: 1200px;
  margin: 0 auto;
}

.world-map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px;
  aspect-ratio: 2 / 1;
  background: url('../map/world-map.svg') center center no-repeat;
  background-size: contain;
}

#world-map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.map-dot {
  fill: var(--cyan);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-dot:hover {
  fill: var(--neon-green);
  filter: drop-shadow(0 0 10px var(--cyan));
}

.map-tooltip {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: #1a1a2e;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-tooltip.visible {
  opacity: 1;
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.global-stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 20px 15px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.global-stat-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-cyan);
}

.global-stat-card .stat-icon {
  font-size: 30px;
  color: var(--cyan);
  margin-bottom: 15px;
  display: block;
}

.global-stat-card .counter {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-cyan-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  display: inline;
}

.global-stat-card .stat-suffix {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-cyan-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  display: inline;
}

.global-stat-card p {
  color: var(--light-gray);
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.4;
}

/* ------------------------------------------------------------
   CERTIFICATIONS
   ------------------------------------------------------------ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.cert-card:hover {
  border-color: var(--cyan);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-cyan);
}

.cert-card .cert-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card .cert-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.cert-card:hover .cert-logo {
  transform: scale(1.1);
}

/* Fallback icon inside cert-logo when image is missing */
.cert-logo .cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
  color: var(--cyan);
  transition: all 0.3s ease;
}

.cert-card:hover .cert-logo .cert-icon {
  background: var(--gradient-cyan-green);
  color: #ffffff;
}

/* Keep legacy .cert-icon support */
.cert-card .cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--cyan);
  transition: all 0.3s ease;
}

.cert-card:hover .cert-icon {
  background: var(--gradient-cyan-green);
  color: #ffffff;
}

.cert-card h4 {
  font-size: 15px;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-weight: 600;
}

.cert-card p {
  font-size: 12px;
  color: var(--light-gray);
  line-height: 1.5;
}


/* ------------------------------------------------------------
   WHY CHOOSE US
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-cyan-green);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(13, 71, 161, 0.2);
}

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 28px;
  color: var(--cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-cyan-green);
  color: #ffffff;
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a1a2e;
  font-weight: 700;
}

.feature-card p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), var(--shadow-glow-cyan);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group:last-of-type {
  margin-bottom: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group:last-of-type textarea {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: #1a1a2e;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(85, 85, 85, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  background: rgba(0, 0, 0, 0.06);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-cyan-green);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 25px rgba(13, 71, 161, 0.3);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(13, 71, 161, 0.4);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
}

.submit-btn:hover::before {
  animation: shimmer 0.6s ease forwards;
}

/* Select Dropdown Custom Styling */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230099cc' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
  cursor: pointer;
}

/* Elegant Placeholder Color Styling for Select when Invalid (e.g. placeholder is selected) */
.form-group select:invalid {
  color: rgba(85, 85, 85, 0.5);
}

.form-group select:valid {
  color: #1a1a2e;
}

.form-group select option {
  background: #ffffff;
  color: #1a1a2e;
  padding: 12px;
  font-size: 14px;
}

.form-group select option:disabled {
  color: rgba(85, 85, 85, 0.4);
}

/* Inline Form Feedback Messages */
.form-feedback {
  display: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  animation: feedbackSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-feedback.show {
  display: flex;
}

.form-feedback.success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(0, 191, 88, 0.06));
  border: 1px solid rgba(76, 175, 80, 0.25);
  color: #2e7d32;
}

.form-feedback.error {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.08), rgba(229, 57, 53, 0.06));
  border: 1px solid rgba(244, 67, 54, 0.25);
  color: #c62828;
}

.form-feedback i {
  font-size: 18px;
  flex-shrink: 0;
}

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

/* Submit Button States */
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.submit-btn.loading .btn-text {
  opacity: 0.8;
}

.submit-btn.loading .btn-icon {
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: inline-block !important;
}

/* Validation Error State */
.form-group input.input-error,
.form-group textarea.input-error,
.form-group select.input-error {
  border-color: #e53935;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.12);
}

.form-group .field-error {
  color: #e53935;
  font-size: 12px;
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), var(--shadow-glow-cyan);
}

.contact-info-card .info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--cyan);
  font-size: 20px;
}

.contact-info-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 600;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--neon-green);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
#footer {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03) 0%, rgba(13, 71, 161, 0.04) 100%), rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  position: relative;
  overflow: hidden;
}

/* Animated glowing blobs in footer matching logo colors */
#footer::before,
#footer::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.15;
  animation: floatFooterBlobs 10s ease-in-out infinite alternate;
}

#footer::before {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

#footer::after {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes floatFooterBlobs {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.9); }
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 5%;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  height: 65px;
  margin-bottom: 25px;
  width: auto;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03) 0%, rgba(13, 71, 161, 0.04) 100%), rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.footer-brand p {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-size: 18px;
}

.social-links a:hover {
  background: var(--gradient-cyan-green);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.25);
}

.footer-links h4 {
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40%;
  height: 2px;
  background: var(--gradient-cyan-green);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 400;
}

.footer-links ul li a:hover {
  color: var(--cyan);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding: 25px 5%;
  border-top: 1px solid var(--glass-border);
  color: var(--light-gray);
  font-size: 14px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.5);
}

.footer-bottom span {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-bottom a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--neon-green);
}

/* ------------------------------------------------------------
   RESPONSIVE DESIGN — 1024px
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    padding-right: 0;
  }
}

/* ------------------------------------------------------------
   RESPONSIVE DESIGN — 768px
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #f0f4f8;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--glass-border);
    padding: 0;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-stats {
    gap: 30px;
  }

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

  .mv-card-img {
    height: 180px;
  }

  .mv-card-body {
    padding: 24px 22px 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .global-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section {
    padding: 50px 5%;
  }

  .stat-number {
    font-size: 36px;
  }

  .mv-card {
    padding: 35px 25px;
  }

  .modal-content {
    padding: 30px 25px;
    width: 95%;
  }

  #cursor-glow {
    display: none;
  }
}

/* ------------------------------------------------------------
   RESPONSIVE DESIGN — 480px
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .global-stats {
    grid-template-columns: 1fr;
  }

  .founder-cards {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .nav-links {
    width: 85%;
  }

  .contact-form {
    padding: 25px;
  }

  .product-info {
    padding: 20px;
  }

  .global-stat-card .counter {
    font-size: 34px;
  }

  .global-stat-card .stat-suffix {
    font-size: 34px;
  }
}

/* ============================================================
   HINDVA HEALTHCARE PVT. LTD. — Animations & Special Effects
   Keyframes, Floating Blobs, AOS Overrides, 3D Tilt, Particles
   ============================================================ */

/* ------------------------------------------------------------
   KEYFRAME ANIMATIONS
   ------------------------------------------------------------ */

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

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

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  }
}

@keyframes dotPulse {

  0%,
  100% {
    r: 3;
    opacity: 1;
  }

  50% {
    r: 6;
    opacity: 0.5;
  }
}

@keyframes loaderBar {
  0% {
    left: -40%;
  }

  100% {
    left: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes blobMove {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -50px) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  75% {
    transform: translate(40px, 10px) scale(1.05);
  }
}

/* Additional Keyframes for Enhanced Effects */

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes particleDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--drift-x, 100px), var(--drift-y, -200px)) rotate(360deg);
    opacity: 0;
  }
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }

  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 1;
  }

  50% {
    transform: translateY(-15px) translateX(-15px);
    opacity: 0.8;
  }

  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.4;
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(0, 229, 255, 0.1);
  }

  50% {
    border-color: rgba(13, 71, 161, 0.3);
  }
}

@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  }

  50% {
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.2);
  }
}

/* ------------------------------------------------------------
   FLOATING BLOBS
   ------------------------------------------------------------ */
.floating-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.floating-blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
  top: 10%;
  left: -10%;
  animation: blobMove 18s ease-in-out infinite;
}

.floating-blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.05) 0%, transparent 70%);
  top: 60%;
  right: -8%;
  animation: blobMove 22s ease-in-out infinite reverse;
}

.floating-blob--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
  bottom: 5%;
  left: 30%;
  animation: blobMove 20s ease-in-out infinite;
  animation-delay: -5s;
}

.floating-blob--4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.035) 0%, transparent 70%);
  top: 30%;
  right: 20%;
  animation: blobMove 25s ease-in-out infinite;
  animation-delay: -10s;
}

.floating-blob--5 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.04) 0%, transparent 70%);
  top: 5%;
  right: 5%;
  animation: blobMove 16s ease-in-out infinite reverse;
  animation-delay: -3s;
}

.floating-blob--6 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.04) 0%, transparent 70%);
  bottom: 15%;
  left: -5%;
  animation: blobMove 24s ease-in-out infinite;
  animation-delay: -8s;
}

/* ------------------------------------------------------------
   AOS (Animate On Scroll) OVERRIDE STYLES
   ------------------------------------------------------------ */

/* Override default AOS duration */
[data-aos] {
  transition-duration: 0.5s;
}

/* Override AOS easing for smoother feel */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom AOS fade-up */
[data-aos="fade-up"] {
  transform: translateY(40px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* Custom AOS fade-down */
[data-aos="fade-down"] {
  transform: translateY(-40px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* Custom AOS fade-left */
[data-aos="fade-left"] {
  transform: translateX(40px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Custom AOS fade-right */
[data-aos="fade-right"] {
  transform: translateX(-40px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Custom AOS zoom-in */
[data-aos="zoom-in"] {
  transform: scale(0.85);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

/* Custom AOS zoom-in-up */
[data-aos="zoom-in-up"] {
  transform: scale(0.85) translateY(40px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="zoom-in-up"].aos-animate {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Custom AOS flip-up */
[data-aos="flip-up"] {
  transform: perspective(600px) rotateX(20deg);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="flip-up"].aos-animate {
  transform: perspective(600px) rotateX(0);
  opacity: 1;
}

/* Custom AOS flip-left */
[data-aos="flip-left"] {
  transform: perspective(600px) rotateY(20deg);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="flip-left"].aos-animate {
  transform: perspective(600px) rotateY(0);
  opacity: 1;
}

/* Custom slide-up animation (glass reveal) */
[data-aos="glass-reveal"] {
  transform: translateY(60px) scale(0.95);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 1s;
}

[data-aos="glass-reveal"].aos-animate {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Custom glow-in animation */
[data-aos="glow-in"] {
  transform: scale(0.9);
  opacity: 0;
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
  transition-property: transform, opacity, box-shadow;
  transition-duration: 0.8s;
}

[data-aos="glow-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

/* AOS delay increments for staggered grids */
[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

[data-aos-delay="500"] {
  transition-delay: 0.5s;
}

[data-aos-delay="600"] {
  transition-delay: 0.6s;
}

/* Disable AOS on mobile for performance */
@media (max-width: 768px) {
  [data-aos] {
    transition-duration: 0.35s;
  }
}

/* Reduce motion preference support */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .floating-blob {
    animation: none !important;
  }

  .particle {
    animation: none !important;
  }

  .loader-logo {
    animation: none !important;
  }

  .loader-bar::after {
    animation: none !important;
  }

  .hero-badge .pulse-dot {
    animation: none !important;
  }

  .mv-card::before {
    animation: none !important;
  }
}

/* ------------------------------------------------------------
   TILT CARD (3D Perspective Transforms)
   ------------------------------------------------------------ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card .tilt-card-inner {
  transform: translateZ(30px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tilt-card:hover .tilt-card-inner {
  transform: translateZ(50px);
}

.tilt-card .tilt-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.tilt-card:hover .tilt-card-shine {
  opacity: 1;
}

.tilt-card .tilt-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
      rgba(0, 229, 255, 0.15),
      rgba(0, 255, 136, 0.1),
      transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
  filter: blur(15px);
}

.tilt-card:hover .tilt-card-glow {
  opacity: 1;
}

/* Static tilt effect (no JS needed) */
.tilt-card--static:hover {
  transform: perspective(1000px) rotateX(-3deg) rotateY(3deg) scale(1.02);
}

.tilt-card--static-reverse:hover {
  transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) scale(1.02);
}

/* Tilt card depth layers */
.tilt-card [data-depth="1"] {
  transform: translateZ(10px);
}

.tilt-card [data-depth="2"] {
  transform: translateZ(20px);
}

.tilt-card [data-depth="3"] {
  transform: translateZ(40px);
}

.tilt-card [data-depth="4"] {
  transform: translateZ(60px);
}

/* ------------------------------------------------------------
   FLOATING PARTICLE STYLES
   ------------------------------------------------------------ */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.particle--dot {
  width: 3px;
  height: 3px;
  background: #0d47a1;
  opacity: 0.4;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle--dot-green {
  width: 3px;
  height: 3px;
  background: var(--neon-green);
  opacity: 0.3;
  animation: particleFloat 10s ease-in-out infinite;
}

.particle--glow {
  width: 6px;
  height: 6px;
  background: #0d47a1;
  opacity: 0.5;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4), 0 0 20px rgba(0, 229, 255, 0.2);
  animation: particleFloat 12s ease-in-out infinite;
}

.particle--glow-green {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  opacity: 0.4;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.4), 0 0 20px rgba(0, 255, 136, 0.2);
  animation: particleFloat 14s ease-in-out infinite;
}

.particle--ring {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.25);
  opacity: 0.5;
  animation: particleFloat 16s ease-in-out infinite;
}

.particle--large {
  width: 4px;
  height: 4px;
  background: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0, 229, 255, 0.2);
  animation: particleFloat 9s ease-in-out infinite;
}

/* Predefined particle positions and animation delays */
.particle:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  top: 25%;
  left: 85%;
  animation-delay: -2s;
  animation-duration: 12s;
}

.particle:nth-child(3) {
  top: 45%;
  left: 5%;
  animation-delay: -4s;
  animation-duration: 10s;
}

.particle:nth-child(4) {
  top: 70%;
  left: 90%;
  animation-delay: -1s;
  animation-duration: 14s;
}

.particle:nth-child(5) {
  top: 85%;
  left: 25%;
  animation-delay: -6s;
  animation-duration: 9s;
}

.particle:nth-child(6) {
  top: 10%;
  left: 60%;
  animation-delay: -3s;
  animation-duration: 11s;
}

.particle:nth-child(7) {
  top: 55%;
  left: 40%;
  animation-delay: -5s;
  animation-duration: 13s;
}

.particle:nth-child(8) {
  top: 35%;
  left: 70%;
  animation-delay: -7s;
  animation-duration: 15s;
}

.particle:nth-child(9) {
  top: 90%;
  left: 55%;
  animation-delay: -2.5s;
  animation-duration: 10s;
}

.particle:nth-child(10) {
  top: 5%;
  left: 35%;
  animation-delay: -4.5s;
  animation-duration: 12s;
}

.particle:nth-child(11) {
  top: 60%;
  left: 15%;
  animation-delay: -1.5s;
  animation-duration: 16s;
}

.particle:nth-child(12) {
  top: 40%;
  left: 95%;
  animation-delay: -6.5s;
  animation-duration: 11s;
}

/* Particle container */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* ------------------------------------------------------------
   UTILITY ANIMATION CLASSES
   ------------------------------------------------------------ */

/* Apply to any element for a floating effect */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float 8s ease-in-out infinite;
}

.animate-float-fast {
  animation: float 4s ease-in-out infinite;
}

/* Glow animations */
.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

.animate-border-glow {
  animation: borderGlow 3s ease-in-out infinite;
}

.animate-text-glow {
  animation: textGlow 3s ease-in-out infinite;
}

/* Pulse animations */
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

/* Rotate animations */
.animate-rotate {
  animation: rotate 10s linear infinite;
}

.animate-rotate-slow {
  animation: rotate 20s linear infinite;
}

.animate-rotate-reverse {
  animation: rotate 10s linear infinite reverse;
}

/* Entrance animations (one-shot) */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-in {
  animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation delay utilities */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-1000 {
  animation-delay: 1s;
}

/* Fill mode for entrance animations */
.animate-fade-in-up,
.animate-slide-up,
.animate-slide-in,
.animate-scale-in {
  opacity: 0;
  animation-fill-mode: forwards;
}

/* ------------------------------------------------------------
   HOVER MICRO-INTERACTIONS
   ------------------------------------------------------------ */

/* Magnetic hover (subtle pull effect) */
.hover-magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-magnetic:hover {
  transform: scale(1.03);
}

/* Lift hover */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 229, 255, 0.1);
}

/* Glow border hover */
.hover-glow-border {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hover-glow-border:hover {
  border-color: rgba(13, 71, 161, 0.3);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

/* Shine sweep on hover */
.hover-shine {
  position: relative;
  overflow: hidden;
}

.hover-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0.05) 55%,
      transparent 100%);
  transform: rotate(25deg) translateX(-150%);
  transition: none;
  pointer-events: none;
}

.hover-shine:hover::after {
  animation: shimmer 0.8s ease forwards;
}
/* --- Ad Slider Responsive --- */
@media (max-width: 900px) {
  .ad-slider-container {
    height: 450px;
  }
  .ad-slide-content h3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .ad-slider-container {
    height: 600px; /* Fixed height for mobile to fit stacked elements */
  }
  .ad-slide {
    flex-direction: column;
  }
  .ad-slide-content {
    flex: 0 0 55%;
    padding: 40px 30px 20px 30px;
    align-items: center;
    text-align: center;
  }
  .ad-slide-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .ad-pill {
    align-self: center;
  }
  .ad-explore-btn {
    align-self: center;
    margin-top: 15px;
  }
  .ad-decoration-dots {
    display: none;
  }
  .ad-slide-image {
    flex: 0 0 45%;
    padding: 20px;
  }
  .ad-slide-image img {
    max-height: 180px;
  }
  .ad-slider-dots {
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%);
  }
}
