/* ==========================================================================
   OMEGA SCIENTIFIC - MAIN STYLESHEET (style.css)
   Fonts: Anek Devanagari (Headings) + Plus Jakarta Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('buttons.css');

:root {
  /* Brand Palette */
  --blue-sapphire: #003e7e;
  --blue-royal: #005fa3;
  --blue-cerulean: #0082cb;
  --blue-azure: #00a8e8;
  --blue-cyan: #00c2ff;
  --blue-ice: #e0f7fe;

  /* Header Theme */
  --bg-header-white: #ffffff;
  --text-header-dark: #0f172a;
  --text-header-muted: #475467;
  --header-border-radius: 10px;

  /* Typography */
  --font-heading: 'Anek Devanagari', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Dimensions */
  --header-height: 80px;
  --container-max: 1360px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Core --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: #030712;
  color: #ffffff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #030712;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: var(--blue-royal);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-cyan);
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 3rem);
  padding-right: clamp(1.25rem, 3.5vw, 3rem);
  width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ==========================================================================
   FLOATING WHITE HEADER (10PX BORDER RADIUS)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.header-floating-bar {
  pointer-events: auto;
  background: var(--bg-header-white);
  border-radius: var(--header-border-radius);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  top: 10px;
}

.site-header.scrolled .header-floating-bar {
  padding: 6px 20px;
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.55);
}

/* Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-header-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-cerulean);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--blue-royal);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #f1f5f9;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-header-dark);
  transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) { transform: translateY(-3px); }
.hamburger-line:nth-child(2) { transform: translateY(3px); }

.mobile-nav-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(1px) rotate(45deg); }
.mobile-nav-toggle.is-active .hamburger-line:nth-child(2) { transform: translateY(-1px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  padding: 5.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.2);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.is-open { right: 0; }

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-header-dark);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover { color: var(--blue-royal); }

/* ==========================================================================
   HERO BANNER SECTION (LEFT-ALIGNED CONTENT & LOW-OPACITY DARK MASK)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 2rem;
  overflow: hidden;
  z-index: 1;
}

/* Background Video Layer */
.hero-video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.06);
  object-fit: cover;
  pointer-events: none;
  filter: contrast(1.05) brightness(1);
}

/* Low-Opacity Dark Black Video Overlay Mask */
.hero-video-overlay-mask {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Left-Side Content Grid Layout */
.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  width: 100%;
}

.hero-left-content {
  grid-column: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* Category Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 194, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.45);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: clamp(0.75rem, 1.8vh, 1.25rem);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue-cyan);
  box-shadow: 0 0 8px var(--blue-cyan);
}

.badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Main Headline with Anek Devanagari Google Font */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: clamp(0.75rem, 1.8vh, 1.25rem);
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #7fe5ff 70%, #00c2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Short & Concise Description */
.hero-desc {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-wrap: pretty;
}

/* Hero Action CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  z-index: 5;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav, .header-actions { display: none; }
  .mobile-nav-toggle { display: flex; }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .cssbuttons-io-button {
    width: 100%;
  }
}
