/* Hero Dot Image Styling */
.hero-dot {
  position: absolute;
  right: 6vw;
  bottom: 8vh;
  width: 120px;
  height: auto;
  z-index: 2;
  opacity: 0.92;
  filter: drop-shadow(0 4px 24px #00b4d8cc) brightness(1.1);
  animation: heroDotFloat 4s ease-in-out infinite alternate;
}
@keyframes heroDotFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-18px) scale(1.04); }
}
/* Additional CSS for enhanced typography and visual hierarchy */

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #00b4d8;
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;


.skip-link:focus {
  top: 0;
}

/* Focus styles for accessibility */
:focus {
  outline: 2px solid #00b4d8;
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid #00b4d8;
  outline-offset: 3px;
}

/* --- DeepSeaGuard Scientific Dashboard Theme v2 --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');
html, body {
  background: linear-gradient(120deg, #0b1017 60%, #151b23 100%);
  color: #e2e8f0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-size: 15px;
  letter-spacing: 0.01em;

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  background-image: linear-gradient(rgba(79,209,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(79,209,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}

/* Top Navigation Bar */
.top-nav {
  width: 100%;
  background: #10141a;
  border-bottom: 1.5px solid #232a36;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px 0 #0a0c10cc;
}
.top-nav .nav-content.right-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.2rem 0.8rem 2.2rem;
  gap: 0.5rem;
}
.nav-brand {
  display: flex;
  flex-direction: row!important;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
}

/* Centered logo and company name */
.top-nav .logo {
  height: 3.2rem;
  margin-right: 1.2rem;
  display: block;
  background: rgba(16,20,26,0.92);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 2px 8px 0 #0a0c10cc;
  max-width: 100px;
  max-height: 70px;
}
.top-nav .company-name {
  font-size: 2rem;
  font-weight: 800;
  color: #4fd1ff;
  letter-spacing: 0.12em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
  letter-spacing: 0.08em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  text-align: left;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 0.28rem 0.85rem;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0 0.1rem;
}
.nav-link:hover, .nav-link.active {
  color: #4fd1ff;
  background: #18202b;
}
.nav-accent {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4fd1ff 40%, #38b2ac 100%);
  margin: 0;
  border-radius: 0 0 2px 2px;
}

@media (max-width: 900px) {
  .top-nav .nav-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }
  .main-nav {
    gap: 0.2rem;
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  z-index: 1;
}
@media (max-width: 900px) {
  main {
    padding: 1.2rem 0.5rem;
  }
}

/* Card/Section Containers */
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: #151b23;
  border-radius: 6px;
  box-shadow: 0 1.5px 6px 0 #0a0c1099;
  border: 1px solid #232a36;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4fd1ff;
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* HERO SECTION */
#hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 2rem 2rem 2rem;
  background: none;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 #0a0c10cc;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
  min-width: 340px;
  color: #e2e8f0;
  padding: 3.2rem 3.5rem 3.2rem 2.5rem;
  background: rgba(16,20,26,0.92);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 #0a0c10cc;
  border: 1.5px solid #4fd1ff44;
  left: 0;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
  color: #4fd1ff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px #0a0c10cc;
  line-height: 1.13;
}
.hero-text p, .hero-subproof {
  font-size: 1.32rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-weight: 400;
}
.cta {
  display: block;
  margin: 1.2rem auto 0 auto;
  background: linear-gradient(90deg, #4fd1ff 60%, #38b2ac 100%);
  color: #10141a;
  font-weight: 800;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 2px 12px 0 #0a0c10cc;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-align: center;
}
.cta.secondary {
  background: #232a36;
  color: #4fd1ff;
  border: 1px solid #4fd1ff;
}
.cta:hover {
  background: #38b2ac;
  color: #fff;
}

/* Card/Feature Grid */
.feature-grid, .specs-grid, .articles-list {
  display: grid;
  grid-gap: 1.1rem;
}
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.specs-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.articles-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card/Feature Styles */
.feature-card, .spec-item, .card, article {
  background: #181e26;
  border-radius: 6px;
  box-shadow: 0 1.5px 6px 0 #0a0c1099;
  border: 1px solid #232a36;
  padding: 1.1rem 1.2rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.feature-card h4, .spec-item h5, article h3 {
  color: #4fd1ff;
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* Footer */
footer {
  background: #10141a;
  color: #7dd3fc;
  border-top: 1.5px solid #232a36;
  text-align: center;
  padding: 1.2rem 0 0.7rem 0;
  margin-top: 2rem;
  border-radius: 0 0 8px 8px;
}
.footer-logo {
  height: 1.7rem;
  margin-bottom: 0.5rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  background: #232a36;
  color: #4fd1ff;
  border: none;
  border-radius: 50%;
  width: 2.7rem;
  height: 2.7rem;
  box-shadow: 0 1.5px 6px 0 #0a0c1099;
  cursor: pointer;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.back-to-top:hover {
  background: #4fd1ff;
  color: #10141a;
}

/* Form Styles */
.contact-form input, .contact-form textarea, .contact-form select {
  background: #10141a;
  color: #e2e8f0;
  border: 1px solid #232a36;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.7rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
}
.contact-form label {
  color: #4fd1ff;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.contact-form button.cta {
  margin-top: 0.7rem;
}

/* Miscellaneous */
.note {
  color: #7dd3fc;
  font-size: 0.98rem;
  margin-top: 0.7rem;
}
  letter-spacing: 0.01em;
}

/* Navigation styles */
.nav-container {
  display: flex;
  align-items: center;
}

#primary-navigation {
  display: flex;
  gap: 1.1rem;
  background: none;
  position: static;
  box-shadow: none;
}

#primary-navigation .nav-link {
  color: #f3f4f6;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

#primary-navigation .nav-link.active,
#primary-navigation .nav-link:hover {
  background: #23272f;
  color: #38bdf8;
}

.mobile-nav-toggle {
  display: none;
}

/* Main content styles */
main {
  background: #181c24;
  padding: 0;
}

section {
  background: #181c24;
  color: #f3f4f6;
  border-radius: 6px;
  margin: 1.2rem auto 0.7rem auto;
  max-width: 1100px;
  box-shadow: none;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
}

.section-title {
  color: #38bdf8;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* CTA button styles */
.cta, .cta.secondary {
  background: #38bdf8;
  color: #181c24;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 1rem;
  margin: 0.3rem 0.3rem 0.3rem 0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.cta.secondary {
  background: #23272f;
  color: #38bdf8;
  border: 1px solid #38bdf8;
}

.cta:hover, .cta.secondary:hover {
  background: #0ea5e9;
  color: #fff;
}

/* Footer styling */
footer {
  background: #23272f;
  color: #cbd5e1;
  text-align: center;
  padding: 1.2rem 0 0.5rem 0;
  border-top: 1px solid #23272f;
}

.footer-logo {
  height: 30px;
  margin-bottom: 0.3rem;
}

/* Hero section styles */
.hero-bg {
  filter: brightness(0.5) blur(1px);
  border-radius: 6px;
}

.hero-text h1 {
  color: #38bdf8;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.hero-text p, .hero-subproof {
  color: #cbd5e1;
}

/* Press logos styles */
.press-logos img {
  filter: grayscale(1) brightness(1.2);
}

/* Feature card, spec item, and standard item styles */
.feature-card, .spec-item, .standard-item {
  background: #23272f;
  color: #f3f4f6;
  border-radius: 4px;
  box-shadow: none;
  padding: 1rem 0.7rem;
  margin: 0.3rem;
}

.feature-card h4, .spec-item h5 {
  color: #38bdf8;
}

.overview-content h3 {
  color: #38bdf8;
}

.standards-list .standard-item strong {
  color: #38bdf8;
}

/* Form styles */
input, textarea, select {
  background: #23272f;
  color: #f3f4f6;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  padding: 0.4rem;
  margin-bottom: 0.7rem;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #38bdf8;
}

.form-group label {
  color: #cbd5e1;
  margin-bottom: 0.2rem;
}

/* Contact section styles */
.contact-info, .contact-form {
  background: #23272f;
  border-radius: 4px;
  padding: 1rem 0.7rem;
  margin: 0.3rem 0;
}

.contact-item strong {
  color: #38bdf8;
}

/* Back to top button */
.back-to-top {
  background: #23272f;
  color: #38bdf8;
  border: none;
  border-radius: 50%;
  box-shadow: none;
}

/* Scroll progress indicator */
.scroll-progress {
  background: #38bdf8;
  height: 4px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: width 0.2s;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
  width: 10px;
  background: #23272f;
}

::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 6px;
}

.articles-list article {
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #23272f;
}

.articles-list article:last-child {
  border-bottom: none;
}

blockquote.quote {
  color: #38bdf8;
  font-style: italic;
  border-left: 3px solid #38bdf8;
  margin: 1rem 0 1rem 0;
  padding-left: 1rem;
}

/* Responsive styles */
@media (max-width: 900px) {
  section {
    padding: 1rem 0.3rem;
  }
  .feature-card, .spec-item, .standard-item {
    padding: 0.7rem 0.3rem;
  }
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 0.7rem;
  }
  .company-name {
    margin-bottom: 0.3rem;
  }
  #primary-navigation {
    flex-direction: column;
    gap: 0.3rem;
    background: #181c24;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100vw;
    border-bottom: 1px solid #23272f;
    z-index: 1002;
    box-shadow: none;
  }
  .nav-container {
    width: 100%;
    justify-content: flex-end;
  }
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    margin-left: 1rem;
    cursor: pointer;
  }
}

/* --- DEEPSEAGUARD SECTION STYLES --- */
.deepseaguard-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin: var(--space-xl) 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.deepseaguard-overview img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.15);
}

.overview-content h3 {
  color: #00b4d8;
  font-size: var(--fs-700);
  margin-bottom: var(--space-sm);
  text-align: left;
}

.overview-content p {
  text-align: left;
  font-size: var(--fs-500);
  line-height: 1.7;
}

.compliance-features {
  margin: var(--space-xxl) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: #14263a;
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 180, 216, 0.2);
}

.feature-card h4 {
  color: #00b4d8;
  font-size: var(--fs-600);
  margin-bottom: var(--space-md);
  text-align: center;
}

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

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(224, 247, 255, 0.1);
  position: relative;
  padding-left: var(--space-md);
}

.feature-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00b4d8;
  font-weight: bold;
}

.feature-card li:last-child {
  border-bottom: none;
}

.technical-specs {
  margin: var(--space-xxl) 0;
  background: #0e2236;
  padding: var(--space-xl);
  border-radius: 16px;
}

.technical-specs h3 {
  margin-bottom: var(--space-lg);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.spec-item {
  background: #14263a;
  padding: var(--space-md);
  border-radius: 12px;
  border-left: 4px solid #00b4d8;
}

.spec-item h5 {
  color: #00b4d8;
  font-size: var(--fs-500);
  margin-bottom: var(--space-xs);
  font-family: var(--ff-heading);
}

.spec-item p {
  margin: 0;
  text-align: left;
  font-size: var(--fs-400);
  line-height: 1.6;
}

.compliance-standards {
  margin: var(--space-xxl) 0;
}

.compliance-standards h3 {
  margin-bottom: var(--space-md);
}

.compliance-standards > p {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-500);
}

.standards-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.standard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #14263a;
  padding: var(--space-md);
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.standard-item strong {
  color: #00b4d8;
  font-family: var(--ff-heading);
  font-size: var(--fs-500);
}

.standard-item span {
  color: #e0f7ff;
  text-align: right;
  font-size: var(--fs-400);
}

.cta-section {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta.secondary {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
}

.cta.secondary:hover {
  background: #00b4d8;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Responsive Design for DeepSeaGuard Section */
@media (min-width: 768px) {
  .deepseaguard-overview {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .standards-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .standard-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }
  
  .standard-item span {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* --- CONTACT SECTION STYLES --- */
#contact {
  background: #0e2236;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: var(--space-lg) auto 0;
}

.contact-info {
  background: #14263a;
  padding: var(--space-lg);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.1);
}

.contact-info h3 {
  color: #00b4d8;
  margin-bottom: var(--space-md);
  text-align: left;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(224, 247, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  color: #00b4d8;
  font-family: var(--ff-heading);
}

.contact-item span {
  color: #e0f7ff;
  text-align: right;
}

.contact-item a {
  color: #00b4d8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form {
  background: #14263a;
  padding: var(--space-lg);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.1);
}

.contact-form h3 {
  color: #00b4d8;
  margin-bottom: var(--space-md);
  text-align: left;
}

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

.form-group label {
  display: block;
  color: #e0f7ff;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xs);
  font-family: var(--ff-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(0, 180, 216, 0.3);
  border-radius: 8px;
  background: #0c1c2c;
  color: #e0f7ff;
  font-family: var(--ff-body);
  font-size: var(--fs-400);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00b4d8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

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

.form-group select {
  cursor: pointer;
}

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

#contactForm .cta {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: var(--ff-body);
}

#contactForm .cta:hover {
  transform: translateY(-2px);
}

/* Responsive Design for Contact Section */
@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  
  .contact-item span {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  
  .contact-item span {
    text-align: left;
  }
}


/* --- ADVANCED ANIMATIONS AND MICRO-INTERACTIONS --- */

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Enhanced loading animation */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.loading-shimmer {
  background: linear-gradient(90deg, #14263a 25%, #1a2f47 50%, #14263a 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Floating animation for hero elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-text {
  animation: float 6s ease-in-out infinite;
}

/* Parallax effect for background images */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* Enhanced hover effects for images */
section img {
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}



/* Staggered animation for feature cards */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

/* Glowing effect for CTA buttons */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.cta:hover::before {
  left: 100%;
}

/* Pulse animation for compliance status indicators */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 180, 216, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.8), 0 0 30px rgba(0, 180, 216, 0.6);
  }
}

.compliance-indicator {
  animation: pulse-glow 2s infinite;
}

/* Typewriter effect for hero text */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #00b4d8; }
}

.typewriter {
  overflow: hidden;
  border-right: 3px solid #00b4d8;
  white-space: nowrap;
  margin: 0 auto;
  animation: typewriter 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Morphing background gradient */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-bg {
  background: linear-gradient(-45deg, #0c1c2c, #14263a, #0e2236, #06101a);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

/* Enhanced scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #007ea7);
  z-index: 10000;
  transition: width 0.1s ease;
}

/* Smooth reveal animations for sections */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Interactive chart hover effects */
.chart-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.15);
}

/* Enhanced navigation active states */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00b4d8;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Floating action button style for back to top */
.back-to-top {
  transform: scale(0);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.visible {
  transform: scale(1);
}

.back-to-top:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #00b4d8, #007ea7);
}

/* Loading skeleton for charts */
.chart-skeleton {
  background: linear-gradient(90deg, #14263a 25%, #1a2f47 50%, #14263a 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  height: 250px;
}

/* Enhanced form focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.15);
}

/* Particle effect background */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 180, 216, 0.6);
  border-radius: 50%;
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .feature-card {
    margin-bottom: var(--space-md);
  }
  
  .chart-block {
    margin-bottom: var(--space-md);
  }
  
  .contact-container {
    gap: var(--space-md);
  }
}

/* Performance optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* 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) {
  .cta {
    border: 2px solid #fff;
  }
  
  .feature-card {
    border: 1px solid #00b4d8;
  }
}

.mobile-responsive {
  max-width: 60%;  /* Prevent overflow */
  width: 100%;  /* Full width on small screens */
  height: auto;     /* Keep aspect ratio */
  display: block;   /* Avoid inline spacing */
  margin: 0 auto;  /* Center align */
  margin-bottom: 2rem;
}

