
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
}

header {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

nav {
  background-color: #444;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: sticky;   /* Makes nav stick to the top */
  top: 0;             /* Position at the very top */
  z-index: 1000;      /* Ensures nav stays above other content */
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
h1 {
  color: #ffffff;
}

h2 {
  color: #000000;
}

h3 {
  color: #000000;
}

.contact {
  margin-top: 40px;
}

.contact p {
  margin: 5px 0;
}

/* Duplicate header/nav block removed during streamlining */

.hero {
  background-color: #e2e2e2;
  padding: 40px;
  text-align: center;
}

.section {
  padding: 40px;
  background-color: white;
  margin: 20px;
  border-radius: 8px;
}

.subsidiary {
  margin-bottom: 20px;
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; /* Four columns for quarters */
  margin: 40px 0;
  width: 100%;
}

.contact-row {
  display: contents; /* Allows child divs to be grid items */
}

.contact-cory {
  grid-column: 2 / 3; /* Second quarter */
  text-align: left;
  padding-right: 2em;
}

.contact-pam {
  grid-column: 3 / 4; /* Third quarter */
  text-align: right;
  padding-left: 2em;
}

/* Mobile styles: up to 600px wide */
@media (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 0 5px;
  }
  header, nav, .hero, .section, footer {
    padding: 10px;
    margin: 0;
  }
  nav {
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin: 8px 0;
    font-size: 18px;
  }
  .contact-grid {
    grid-template-columns: 1fr; /* Stack contacts vertically */
    margin: 10px 0;
  }
  .section {
    padding: 15px;
    margin: 10px 0;
  }
}

/* Tablet styles: up to 900px wide */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Security Verification Styles */
.verification-section {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.verification-content h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.verification-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.verification-form {
  margin: 25px 0;
}

.cf-turnstile {
  margin: 20px auto;
  display: inline-block;
}

.verification-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  min-height: 20px;
}

.verification-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.verification-status.loading {
  background-color: #e7f3ff;
  color: #004085;
  border: 1px solid #b3d7ff;
  animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.verification-status.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.verification-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-details-protected {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.verification-success {
  margin-top: 20px;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  font-style: italic;
}

/* Mobile responsive adjustments for security */
@media (max-width: 600px) {
  .verification-section {
    margin: 10px;
    padding: 20px;
  }
  
  .verification-content h3 {
    font-size: 1.2em;
  }
  
  .cf-turnstile {
    transform: scale(0.85);
    transform-origin: center;
  }
}

/* ---- Enhanced styles merged from Assets/js/enhanced.css (streamlined) ---- */
/**
 * Enhanced styles for JavaScript functionality
 * Genetically Engineered Group of Companies
 */
/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}
/* Custom smooth scrolling with easing */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
    
  /* Smooth transitions for specific interactive elements only - EXCLUDING nav links */
  .subsidiary, [data-toggle], .back-to-top, .section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
/* Navigation enhancements - disabled to prevent bubbles */
nav a {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 15px !important;
  border-radius: 0 !important;
  transition: none !important;
}
/* Toggle content animations */
.subsidiary {
  transition: all 0.3s ease;
}
.subsidiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Toggle links styling */
[data-toggle] {
  color: #0066cc;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  border: none;
  background: none;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}
[data-toggle]:hover {
  background-color: rgba(0, 102, 204, 0.1);
  text-decoration: underline;
}
[data-toggle]:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}
/* External link indicator */
.external-indicator {
  color: #666;
  font-size: 0.9em;
  opacity: 0.7;
}
/* Form validation styles */
.error {
  border: 2px solid #d32f2f !important;
  background-color: rgba(211, 47, 47, 0.05);
}
.error-message {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}
/* Skip link styling */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  font-weight: bold;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 6px !important;
}
/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #444;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.back-to-top:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
/* Animation classes for intersection observer */
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Smooth scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 4px;
  height: 100px;
  background: rgba(0, 102, 204, 0.2);
  border-radius: 2px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-indicator.visible {
  opacity: 1;
}
.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--scroll-percent, 0%);
  background: #0066cc;
  border-radius: 2px;
  transition: height 0.1s ease;
}
/* Smooth focus transitions */
:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  transition: outline-offset 0.2s ease;
}
/* Enhanced section transitions */
.section {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
/* Enhanced focus indicators */
.focus-visible:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  border-radius: 4px;
}
/* Mobile navigation enhancements */
@media (max-width: 600px) {
  nav.mobile-nav {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }
    
  nav.mobile-nav a {
    margin: 8px 0;
    font-size: 18px;
    padding: 10px 20px;
    width: 80%;
    text-align: center;
    border-radius: 8px;
  }
    
  nav.mobile-nav a.current-page {
    background-color: rgba(255, 255, 255, 0.3);
  }
    
  .back-to-top {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 12px;
  }
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* High contrast mode support */
@media (prefers-contrast: high) {
  [data-toggle] {
    border: 1px solid currentColor;
  }
    
  .back-to-top {
    border: 2px solid white;
  }
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .skip-link {
    background: #fff;
    color: #000;
  }
    
  .back-to-top {
    background: #666;
  }
    
  .back-to-top:hover {
    background: #777;
  }
}
