/* ============================================
   ARCTIC BIO-TECH RESEARCH STATION
   Futuristic Design System
   ============================================ */

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

:root {
  /* Arctic Color Palette */
  --color-permafrost: #F2F7F2;
  --color-anthracite: #2D3142;
  --color-lingonberry: #FF0055;
  --color-glacier: #00D4FF;
  
  /* Extended Palette */
  --color-bg-primary: #F2F7F2;
  --color-bg-secondary: #FFFFFF;
  --color-text-primary: #2D3142;
  --color-text-secondary: #4A5568;
  --color-accent-primary: #FF0055;
  --color-accent-secondary: #00D4FF;
  --color-border: rgba(45, 49, 66, 0.1);
  
  /* Typography */
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(45, 49, 66, 0.1);
  --shadow-md: 0 4px 12px rgba(45, 49, 66, 0.15);
  --shadow-lg: 0 8px 24px rgba(45, 49, 66, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(255, 0, 85, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Glassmorphism */
  --glass-bg: rgba(242, 247, 242, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(45, 49, 66, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x:hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(1rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(0.9rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav-menu {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--color-accent-primary);
  background: rgba(255, 0, 85, 0.1);
}
.footer-bottom p{color: whitesmoke}
/* Burger Menu */
.burger-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-sm);
  transition: all var(--transition-base);
  order: 999;
  z-index: 10001;
}

.burger-toggle:hover {
  border-color: var(--color-accent-primary);
  background: rgba(255, 0, 85, 0.1);
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  padding: var(--space-3xl) var(--space-lg);
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--color-accent-primary);
  padding-left: var(--space-lg);
}

@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
}

/* ============================================
   HERO BANNERS (Full-Width)
   ============================================ */

.hero-banner {
  width: 100vw;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  color: var(--color-text-primary);
}

.hero-title {
  font-size: clamp(1.3rem, 6vw, 5rem);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.policy-content h1{
  font-size: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-text-primary);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(20%) contrast(1.1);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(242, 247, 242, 0.3) 0%, rgba(45, 49, 66, 0.5) 100%);
  z-index: 1;
}

.hero-text-overlay {
  position: relative;
  z-index: 3;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-top: var(--space-xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

.content-section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
  border-radius: 2px;
}

/* Grid Layouts */
.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* Card Components */
.content-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-secondary);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card-text {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Image with Text Layout */
.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-xl) 0;
}

.image-text-block.reverse {
  direction: rtl;
}

.image-text-block.reverse > * {
  direction: ltr;
}

.image-text-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.image-text-content {
  padding: var(--space-lg);
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-primary), #FF3366);
  color: white;
  box-shadow: var(--shadow-glow-pink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-accent-secondary), #00B8E6);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.btn-outline:hover {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
}

/* ============================================
   FORMS
   ============================================ */

.form-container {
  max-width: 600px;
  margin: var(--space-2xl) auto;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

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

.site-footer {
  background: var(--color-anthracite);
  color: var(--color-permafrost);
  padding: var(--space-2xl) var(--space-lg);
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: var(--color-permafrost);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-link {
  display: block;
  color: rgba(242, 247, 242, 0.8);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-accent-secondary);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(242, 247, 242, 0.2);
  color: rgba(242, 247, 242, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  max-width: 400px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.privacy-popup-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: var(--space-xl) 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   PRODUCTS
   ============================================ */

.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  margin: var(--space-md) 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

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

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .image-text-block {
    grid-template-columns: 1fr;
  }
  

  .form-container {
    padding: var(--space-lg);
  }
  
  .privacy-popup {
    right: var(--space-md);
    left: var(--space-md);
    max-width: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  main {
    padding: var(--space-lg) var(--space-md);
  }
  
  .content-section {
    margin-bottom: var(--space-xl);
  }
  
  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ============================================
   SPECIAL PAGES
   ============================================ */

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-md);
}

.thank-you-message {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.policy-section {
  margin-bottom: var(--space-xl);
}

.policy-section h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.policy-date {
  text-align: center;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

